Dear vtkUsers,<br> I have tried to build VTK-5.2.0 and the cvs snapshot for 10.4/10.5 (I am running Leopard/10.5) and receive the error message below. These are some relevant settings <br>CMAKE_OSX_ARCHITECTURES i386 <br>
CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.4u.sdk <br> VTK_USE_CARBON ON <br> VTK_USE_RENDERING ON <br>
VTK_WRAP_PYTHON ON <br> CMAKE_CXX_FLAGS -mmacosx-version-min=10.4<br> CMAKE_C_FLAGS -mmacosx-version-min=10.4<br><br>All other settings are the standard defaults. I receive the same error for both 5.2.0 and the cvs snapshot:<br>
<br>/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h: In function 'void BlockZero(void*, Size)':<br>/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:1586: error: 'bzero' was not declared in this scope<br>
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h: In function 'void BlockZeroUncached(void*, Size)':<br>/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:1594: error: 'bzero' was not declared in this scope<br>
make[2]: *** [Rendering/CMakeFiles/vtkRenderingPythonD.dir/vtkCarbonRenderWindowInteractorPython.o] Error 1<br>make[1]: *** [Rendering/CMakeFiles/vtkRenderingPythonD.dir/all] Error 2<br>make: *** [all] Error 2<br><br>I should say that VTK-5.0.x builds without incident with a similar configuration. <br>
<br>I thought this might be relevant (<a href="http://mail.python.org/pipermail/pythonmac-sig/2006-February/015978.html">http://mail.python.org/pipermail/pythonmac-sig/2006-February/015978.html</a>) but VTK developers would know best.<br>
<br>Thanks,<br>Benjamin<br>