[vtk-developers] Unable to build Python Interpreter in debug mode TBB and VS2013.
Andrew Maclean
andrew.amaclean at gmail.com
Sun Mar 6 01:25:38 EST 2016
Hi All
Build:
Windows 10, compiler VS_12 (2013), 64-bit, Anaconda Python 2.7.
TBB is found and the paths are correct.
The release version builds without errors.
If I build the Debug version with Python wrapping set to "ON" I get the
error:
"c:\intel\tbb\tbb44_20160128oss\include\tbb\tbb_config.h(545) : fatal
error C1017: invalid integer constant expression", this particular error
normally relates to an expression in an #if directive that either did not
exist or did not evaluate to a constant.
This occurs when the following are being built:
"Utilities\PythonInterpreter\vtkPythonInterpreter"
"Utilities\PythonInterpreter\vtkPythonInteractiveInterpreter"
"Parallel\MPI4Py\vtkMPI4PyCommunicator"
"Wrapping\PythonCore\PyVTKObject"
"Wrapping\PythonCore\vtkPythonCommand"
"Wrapping\PythonCore\vtkPythonUtil"
I built one of the TBB examples using the FindTBB.cmake in VTK for both
vs_12 (2013) and vs_14 (2015) with no errors or warnings. So
tbb/tbb_config.h does not seem to be causing the problem. Lines 290-296 set
TBB_USE_DEBUG appropriately in tbb/tbb_config.h depending upon whether it
is a Debug or Release build.
So I think the problem relates to something in VTK.
Coming back to VTK, I looked through the CMakeLists.txt files and couldn't
see any definitions that could be causing this error for the python
wrapping.
Any ideas?
Regards
Andrew
--
___________________________________________
Andrew J. P. Maclean
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160306/46323339/attachment.html>
More information about the vtk-developers
mailing list