Open ghost opened 5 years ago
I have encountered this problem, too. But the difference is that the library name is libcvd.a
. So, changing the library name to cvd
from CVD
helps.
At file libcvd/examples/CMakeLists.txt
:
add_executable(colourmaps colourmaps.cc)
target_link_libraries(colourmaps PRIVATE cvd)
add_executable(distance_transform distance_transform.cc)
target_link_libraries(distance_transform PRIVATE cvd)
Hello, When installing libCVD with CMake on a Linux system, the library is exported as "libCVD.a". It is currently not found by CVDConfig.cmake, which looks for a library bearing the name "libcvd.*" .
One fix for this is to add
set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME "cvd")
to CMakeLists.txt, to force the library name to libcvd.Best regards