pytorch_scatter icon indicating copy to clipboard operation
pytorch_scatter copied to clipboard

failed to build with google-glog 0.7

Open lancercat opened this issue 1 year ago • 0 comments

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

lancercat avatar May 20 '24 09:05 lancercat