openigtlink / OpenIGTLink

Free, open-source network communication library for image-guided therapy
http://openigtlink.org
BSD 3-Clause "New" or "Revised" License
102 stars 184 forks source link

Could not find a package configuration file provided by "OpenIGTLink" #267

Open fullsignal0 opened 10 months ago

fullsignal0 commented 10 months ago

CMake Error at src/SupraLib/CMakeLists.txt:111 (find_package): By not providing "FindOpenIGTLink.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "OpenIGTLink", but CMake did not find one.

Could not find a package configuration file provided by "OpenIGTLink" with any of the following names:

OpenIGTLinkConfig.cmake
openigtlink-config.cmake

Add the installation prefix of "OpenIGTLink" to CMAKE_PREFIX_PATH or set "OpenIGTLink_DIR" to a directory containing one of the above files. If "OpenIGTLink" provides a separate development package or SDK, be sure it has been installed.

leochan2009 commented 10 months ago

can you elaborate more about the error? you need to set the OpenIGTLink_DIR to openigtlink build directory during your project configuration