I'm now using v2018.04.
I want to do some task with Python Code, so I want to compile
MITK_USE_Python??but I ran into some problems while building MITK-superbuild
??About CTK??VTK..etc??.
Just like:
Error C2440 ??=??: can't convert from ??const char *?? to ??T *??
[D:\MITK-tutorial\M-install\ep\src\VTK-build\Wrapping\PythonCore\vtkWrappingPythonCore.vcxproj]
VTK
D:\MITK-tutorial\M-install\ep\src\VTK\Wrapping\PythonCore\vtkPythonArgs.cxx
105
Error LNK1120 An external command that can not be
resolved [D:\MITK-tutorial\M-install\ep\src\CTK-build\CTK-build\Libs\CommandLineModules\Backend\LocalProcess\CTKCommandLineModulesBackendLocalProcessPythonQt.vcxproj]
[D:\MITK-tutorial\M-install\ep\src\CTK-build\CTK.vcxproj] CTK
D:\MITK-tutorial\M-install\ep\src\CTK-build\CTK-build\bin\Release\CTKCommandLineModulesBackendLocalProcessPythonQt.lib
1
Error LNK2001 An external symbol that can not be
resolved PyInit_CTKCommandLineModulesBackendLocalProcessPythonQt
[D:\MITK-tutorial\M-install\ep\src\CTK-build\CTK-build\Libs\CommandLineModules\Backend\LocalProcess\CTKCommandLineModulesBackendLocalProcessPythonQt.vcxproj]
[D:\MITK-tutorial\M-install\ep\src\CTK-build\CTK.vcxproj] CTK
D:\MITK-tutorial\M-install\LINK 1
????
I??m using python in anaconda virtual env:
Found PythonLibs:
C:/MyEnv/Anaconda3/envs/pytorch37/libs/python37.lib (found version "3.7.1")
Found PythonInterp: C:/MyEnv/Anaconda3/envs/pytorch37/python.exe
(found version "3.7.1")
I didn't change any code. I don't know where the conflict came from.
Are there any steps or suggestions I can follow?
Thanks!
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users