Hi Ingmar,

Currently the Python Plugin can only be built with an system runtime on windows 
x64 in release mode.
Therefore a python runtime in the version 2.7.x with numpy has to be installed 
on the system.
Also Qt5 is not yet supported by the CTK Python wrapping that is used by MITK.

Currently there’s an open bug that addresses the python issues with the MITK 
modernizations:
http://bugs.mitk.org/show_bug.cgi?id=18748

Best Regards,
Eric

Von: Ingmar Wegner [mailto:iweg...@gmx.de]
Gesendet: Mittwoch, 4. März 2015 20:41
An: mitk-users
Betreff: [mitk-users] Python plugin x64 bit issues

Hi all,
I am trying to compile a MITK superbuild with the Python Plugin included but 
the superbuild won't compile.

I have the following setup:
MITK checkout from today (edb7990807b1999b0406c18c43e9238671f10de9).
Generator: Visual Studio 12 2013 Win64
QT 5.4
CMAKE 3.1.0-rc2
activated MITK_USE_PYTHON, MITK_USE_SimpleITK and deactivated BUILD_TESTING.
Apart from ZLIB_DEBUG_LIBRARY-NOTFOUND everything seems to be ok in cmake 
configure and generate step.

When I compile superbuild in debug (or release) VS complaints with the 
following error:
17>------ Build started: Project: Python, Configuration: Debug x64 ------
...
17>C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(61,5): 
error MSB8013: This project doesn't contain the Configuration and Platform 
combination of Debug|x64. 
[D:\MITK\MITK2014.03.0\bin\ep\src\Python-build\ZERO_CHECK.vcxproj]
...
18>------ Build started: Project: Numpy, Configuration: Debug x64 ------
...
18>CUSTOMBUILD : error in: Numpy:
18>  Call Stack (most recent call first):
18>    D:/MITK/MITK2014.03.0/bin/ep/tmp/Numpy_configure_step.cmake:19 
(mitkFunctionExternalPythonBuildStep)
18>

Does this tell me that I can't build the Python plugin with X64?
Or do I have to install python with x64 from [1] and use cmake option 
MITK_USE_SYSTEM_PYTHON?
I asume the mitk code is pretty fixed on the 2.7.3 python version.

I would like to test if the python plugin would be suitable for a scripting 
approach.
Best Regards,
Ingmar

-----------
[1] https://www.python.org/download/releases/2.7.3/



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to