manurare / 360monodepth

Code release for 360monodepth. With our framework we achieve monocular depth estimation for high resolution 360° images based on aligning and blending perspective depth maps.
https://manurare.github.io/360monodepth/
MIT License
159 stars 33 forks source link

EigenSolvers import error #22

Closed dbotsriram closed 6 months ago

dbotsriram commented 6 months ago

Screenshot from 2024-05-20 18-33-29

While running python main.py --expname test_experiment --blending_method all --grid_size 8x7 I'm getting ImportError: /home/dbot/Desktop/360monodepth/360monodepth/code/cpp/lib/EigenSolvers.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN6google10LogMessage6streamEv

Please help me with this

TingtingLiao commented 6 months ago

https://github.com/manurare/360monodepth/blob/21bd0bcf634759cf6378cef59e97c98e3d83ee83/code/cpp/CMakeLists.txt#L199

target_link_libraries(EigenSolvers PRIVATE ${GLOG_LIBRARIES})
#target_link_libraries(EigenSolvers PRIVATE glog::glog)

change this to

#target_link_libraries(EigenSolvers PRIVATE ${GLOG_LIBRARIES})
target_link_libraries(EigenSolvers PRIVATE glog::glog)

and reinstall

dbotsriram commented 6 months ago

Thank you @TingtingLiao The issue had been solved