Page MenuHomePhabricator

Issue while building MITK tag v2018..04.2 with Python support
Closed, WontfixPublic

Assigned To
None
Authored By
ervaibhavkumar
Apr 25 2019, 11:07 AM
Referenced Files
F1363517: mitk_ss_1.PNG
Apr 25 2019, 11:07 AM
F1363518: mitk_ss_2.PNG
Apr 25 2019, 11:07 AM

Description

Hi,

I am trying to build MITK from this URL. I am using the tag v2018..04.2. When i check the option MITK_USE_PYTHON support, i am getting build issues under the project CTK . I am getting the following errors:-

LINK : error LNK2001: unresolved external symbol PyInit_CTKCommandLineModulesBackendFunctionPointerPythonQt [C:\Try\MITK-oher-build\ep\src\CTK-build\CTK-build\Libs\CommandLineModules\Backend\FunctionPointer\CTKCommandLineModulesBackendFunctionPointerPythonQt.vcxproj] 
LINK : error LNK2001: unresolved external symbol PyInit_CTKCommandLineModulesBackendLocalProcessPythonQt [C:\Try\MITK-oher-build\ep\src\CTK-build\CTK-build\Libs\CommandLineModules\Backend\LocalProcess\CTKCommandLineModulesBackendLocalProcessPythonQt.vcxproj]

I am using

Qt : 5.11.1
CMake: 3.13.2
Visual Studio Enterprise 2017 Win64
Python : 3.6
Platform: Windows 10

Here are the CMake screenshots

mitk_ss_1.PNG (410ร—1 px, 23 KB)

mitk_ss_2.PNG (410ร—1 px, 23 KB)

I am building MITK in the Release Configuration.
I am able to build MITK without python support. When i am enabling python support, it started giving me above errors.

Event Timeline

@kislinsk Do you have any opinion regarding this issue ?

Hi there! ๐Ÿ™‚

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. ๐Ÿš‘

Best wishes,
The MITK devs