commontk / CTK

A set of common support code for medical imaging, surgical navigation, and related purposes.
https://commontk.org
Apache License 2.0
827 stars 480 forks source link

static Build issue #1197

Open inglis-dl opened 3 months ago

inglis-dl commented 3 months ago

build env: Visual Studio 2022 v17.7.7, CMake 3.24.0 static builds of Qt 5.15.2 , ITK 5.2.1, VTK 9.1, GDCM

building CTK non-superbuild, static, debug with only the following options checked: CTK_Lib_Core, CTK_Lib_Widgets:

Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19043. CTK_LIB_Core_WITH_BFD_SHARED is OFF CTK_LIB_Core_WITH_BFD_STATIC is OFF Generated: C:/code/build/ctk/DGraphInput-alldep.txt Generated: C:/code/build/ctk/DGraphInput-alldep-withext.txt Generated: C:/code/build/ctk/DGraphInput.txt Configuring CTK with Qt 5.15.2 (using modules: Core, Svg, Xml, Test, Widgets, OpenGL) SuperBuild - First pass SuperBuild - First pass - done CTKCore: BFD support disabled Configuring done CMake Error: install(EXPORT "CTKExports" ...) includes target "CTKDummyPlugin" which requires target "CTKCore" that is not in any export set. Generating done

If I can get over this hurdle, I want to build the CTK VTK widgets for a Qt/VTK/ITK project.