pytorch_scatter
pytorch_scatter copied to clipboard
failed to build with google-glog 0.7
Need to manually add the -DGLOG_NO_EXPORT flag [1] to the setup.py file:
Ln 47: extra_compile_args = {'cxx': ['-O3','-DGLOG_USE_GLOG_EXPORT']}
Ln 74: nvcc_flags += ['-O3','-DGLOG_USE_GLOG_EXPORT']
[1] https://stackoverflow.com/questions/77912257/error-glog-logging-h-was-not-included-correctly-in-including-glog-in-c-pr