Hi All,
I've been trying to use some vnl_algo classes in an MITK module I am developing
in Windows. Unfortunately, the module code doesn't link.
This is the line of code that compiles but doesn't link:
vnl_gaussian_kernel_1d k(0.0);
The CMakeLists:
MITK_CREATE_MODULE(
INCLUDE_DIRS
PRIVATE src
PUBLIC ${MYMODULE_INCLUDES_DIR}
DEPENDS PUBLIC MitkCore MitkAnnotation
PACKAGE_DEPENDS
PUBLIC
VTK|vtkFiltersFlowPaths ITK|ITKRegistrationCommon+ITKImageStatistics+ITKVNL
OpenCV
)
target_link_libraries(${MODULE_TARGET} PUBLIC ${MYMODULE_LIBRARIES})
Furthermore, when looking at the project in Visual Studio
(properties->Linker->Input->Additional Dependencies), the vnl_algo lib is there.
I am using the ITK from the superbuild.
Best,
Gwenael
Sent from Outlook<http://aka.ms/weboutlook>
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users