Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static Build issue #1197

Open
inglis-dl opened this issue Mar 25, 2024 · 1 comment
Open

static Build issue #1197

inglis-dl opened this issue Mar 25, 2024 · 1 comment

Comments

@inglis-dl
Copy link

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.

@shanfl
Copy link

shanfl commented Sep 29, 2024

I fix this problem by making 'CTK_BUILD_SHARED_LIBS' option checked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants