CTK icon indicating copy to clipboard operation
CTK copied to clipboard

Unresolved externals when enabling CTK_ENABLE_Python_Wrapping

Open peterneher opened this issue 6 years ago • 6 comments

Hi everyone. I'm struggling to build CTK with enabled CTK_ENABLE_Python_Wrapping. I tried different versions (including the current master(s)) of CTK and PythonQt. You can see the errors here: http://cdash.mitk.org/viewBuildError.php?buildid=671570

Unfortunately the output is in German but its just a bunch of unresolved externals: PyInit_CTKCommandLineModulesBackendLocalProcessPythonQt PyInit_CTKCommandLineModulesCorePythonQt PyInit_CTKCommandLineModulesFrontendQtGuiPythonQt PyInit_CTKCorePythonQt PyInit_CTKDICOMCorePythonQt PyInit_CTKDICOMWidgetsPythonQt PyInit_CTKPluginFrameworkPythonQt ...

Qt version is 5.11.1. System is Windows 7 for the link above but Windows 10 has the same issues. Ubuntu works fine.

Cheers, Peter

peterneher avatar Aug 15 '18 08:08 peterneher

Thanks for the report.

Could you share the complete list of options used to configure CTK ?

jcfr avatar Aug 28 '18 15:08 jcfr

CMakeCache.txt

peterneher avatar Aug 31 '18 10:08 peterneher

I am also stuck at the same issue with same dependecy versions. Are you able to solve this issue @peterneher and @jcfr ?

ervaibhavkumar avatar Apr 26 '19 06:04 ervaibhavkumar

Thanks for the follow up.

@ervaibhavkumar :

Could you share the complete list of options used to configure CTK ?

Could you provide the exact version of CTK and the complete command used to configure CTK. The command to copy here should be of the form:

cmake -DOPTION1:TYPE=value .... -G Generator ../CTK

jcfr avatar Apr 26 '19 06:04 jcfr

@jcfr I compiled the master branch on windows 10 platform with CMake 3.13.2 and Qt 5.11.1 with Visual Studio Enterprise 2017 Win64 . I will attach the screenshots of CMake window. ctk_ss_1 ctk_ss_2 ctk_ss_3 ctk_ss_4

ervaibhavkumar avatar Apr 26 '19 09:04 ervaibhavkumar

@jcfr You can also see the CMakeCache.txt attached CMakeCache.txt

ervaibhavkumar avatar Apr 26 '19 09:04 ervaibhavkumar