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

use ctkVTKVolumePropertyWidget on QT creator has: error: LNK2019: "__declspec(dllimport) public: __cdecl ctkVTKVolumePropertyWidget #1099

Open
JamesHOOOOO opened this issue Jun 22, 2023 · 0 comments

Comments

@JamesHOOOOO
Copy link

hi all
I am New in CTK,

I try to integrate CTK in my QT project and import
1.)CTKVisualizationVTKCore
2.)CTKVisualizationVTKWidgets
3.)CTKVisualizationVTKWidgetsPlugins in my .pro file
but the ISSUE LNK2019: "__declspec(dllimport) public: __cdecl ctkVTKVolumePropertyWidget is still happening

It seems that a certain .lib is missing. Is my inference correct?
Or what steps have I missed? Please give me some advice? Thank you

here is my .pro file
#CTK
INCLUDEPATH += $$PWD/thirdparty/CTK/include/ctk-0.1
DEPENDPATH += $$PWD/thirdparty/CTK/include/ctk-0.1
#CTK
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/thirdparty/CTK/lib/ctk-0.1 -lCTKCore -lCTKWidgets -lCTKDummyPlugin -lCTKCommandLineModulesCore -lCTKWidgetsPlugins

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/thirdparty/CTK/lib/ctk-0.1 -lCTKVisualizationVTKCore -lCTKVisualizationVTKWidgets -lCTKVisualizationVTKWidgetsPlugins

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/thirdparty/CTK/lib/ctk-0.1 -lCTKPluginFramework -lCTKImageProcessingITKCore -lCTKCommandLineModulesFrontendQtGui

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

1 participant