weigao95 / surfelwarp

SurfelWarp: Efficient Non-Volumetric Dynamic Reconstruction
https://sites.google.com/view/surfelwarp/home
BSD 3-Clause "New" or "Revised" License
276 stars 71 forks source link

How to compile `pangolin` with `Eigen`? #25

Closed Wjiajie closed 4 years ago

Wjiajie commented 4 years ago

I try to compile surfelwarp on win10 ,with vs2017 ,cuda 10.1 and cilantro,when i compile cilantro,i got an error:Namespace "pangolin" has no member "ToEigen"。But i fail to compile pangolin with eigen3,I set BUILD_PANGOLIN_EIGEN to betrue,and also set EIGEN_INCLUDE_DIR to my Eigen's include folder,but i didnt work for me . Cmake Logs of pangolin,seems not mention eigen at all:

Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18362.
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
OpenNI2 Found and Enabled
MediaFoundation Found and Enabled
libpng Found and Enabled
libjpeg Found and Enabled
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
Configuring done

I use latest version of Cmake, Eigen version is Eigen 3.3.9 included in surfelwarp/external/eigen3.4.

Wjiajie commented 4 years ago

Oh~ my fault ,i have solved the problem...

weigao95 commented 4 years ago

Sorry for my delayed replay and happy to see you resolve this problem. The notification email from github was classified as spam and I have not seen it. You can send me an email if I don't reply for a long time.

Wjiajie commented 4 years ago

Thanks for reply,so kind of you~~