<div dir="ltr"><div>Hi All</div><div><br></div><div>Build:</div><div>   Windows 10, compiler VS_12 (2013), 64-bit, Anaconda Python 2.7.</div><div>   TBB is found and the paths are correct.</div><div><br></div><div>The release version builds without errors.</div><div><br></div><div>If I build the Debug version with Python wrapping set to "ON" I get the error:</div><div>   "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.</div><div><br></div><div>This occurs when the following are being built:</div><div>   "Utilities\PythonInterpreter\vtkPythonInterpreter"</div><div>   "Utilities\PythonInterpreter\vtkPythonInteractiveInterpreter"</div><div>   "Parallel\MPI4Py\vtkMPI4PyCommunicator"</div><div>   "Wrapping\PythonCore\PyVTKObject"</div><div>   "Wrapping\PythonCore\vtkPythonCommand"</div><div>   "Wrapping\PythonCore\vtkPythonUtil"</div><div><br></div><div>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.</div><div>So I think the problem relates to something in VTK.</div><div><br></div><div>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.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Regards</div><div>   Andrew</div><div><br></div><div><br></div>-- <br><div class="gmail_signature">___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________</div>
</div>