gadomski / cpd

C++ implementation of the Coherent Point Drift point set registration algorithm.
http://www.gadom.ski/cpd
GNU General Public License v2.0
385 stars 122 forks source link

CMake error #129

Closed ahmedmaalej closed 5 years ago

ahmedmaalej commented 6 years ago

I build fgt following your instructions: BUILD_SHARED_LIBS=OFF, gtest_force_shared_crt=ON. To avoid MSVC config mucking. I get fgt.lib in Debug and Release modes when I build the fgt.sln (using ALL_BUILD as the starting project). But when I try to build CPD, I keep getting this error when using CMake to compile CPD, even with disabling WITH_FGT option:

CMake Error at D:/CPD_cpp/fgt_build/fgt-config.cmake:1 (include): include could not find load file: D:/CPD_cpp/fgt_build/fgt-targets.cmake Call Stack (most recent call first): CMakeLists.txt:27 (find_package)

CMake Error at D:/CPD_cpp/fgt_build/fgt-config.cmake:1 (include): include could not find load file: D:/CPD_cpp/fgt_build/fgt-targets.cmake Call Stack (most recent call first): CMakeLists.txt:30 (find_package)

Any suggestions ?

gadomski commented 6 years ago

Did you INSTALL FGT? The fgt-targets.cmake file might only be created/placed correctly during an install.