YoungXIAO13 / PoseFromShape

(BMVC 2019) PyTorch implementation of Paper "Pose from Shape: Deep Pose Estimation for Arbitrary 3D Objects"
http://imagine.enpc.fr/~xiaoy/PoseFromShape/
MIT License
170 stars 34 forks source link

CGAL_LIBRARIES-NOTFOUND #28

Closed Yunheng-Tian closed 3 years ago

Yunheng-Tian commented 3 years ago

Hi, I'm following your instructions and try to find the executable_virtual_scanner, but here comes the error. I don't know why CGAL_LIBRARIES cannot be found. I'm working on Ubuntu 20.04

cmake -DCMAKE_BUILD_TYPE=Release .. -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: system -- No preference for use of exported Eigen CMake configuration set, and no hints for include directory provided. Defaulting to preferring an installed/exported Eigen CMake configuration if available. -- Found installed version of Eigen: /usr/lib/cmake/eigen3 -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: thread -- CGAL_INCLUDE_DIR=/usr/include -- CGAL_LIBRARIES=CGAL_LIBRARIES-NOTFOUND -- BOOST_THREAD_LIBRARIES=Boost::thread -- GMP_LIBRARIES=/usr/lib/x86_64-linux-gnu/libgmp.so -- CGAL not found. -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: filesystem -- Configuring done CMake Error at cpp/libvirtualscanner/CMakeLists.txt:15 (add_library): Target "virtualscanner" links to target "CGAL::CGAL" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?

CMake Error at cpp/virtualscanner/CMakeLists.txt:5 (add_executable): Target "virtualscannerexe" links to target "CGAL::CGAL" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?

YoungXIAO13 commented 3 years ago

Hi @Yunheng-Tian

I'm not sure it this a bug specifically related to Ubuntu or some packages. If you just want to download point clouds for objects used in this work, you could use the command lines for Pascal3D and ObjectNet3D

And for more information about virtual scanner, you can look into this repo.

Yunheng-Tian commented 3 years ago

Hi @YoungXIAO13

Thank you anyway for providing your source code. As a beginner like me, it is of great help to have such an impression of how the project looks like. I wish you all the best in your research career:)