[vtkusers] Mac OSX 10.5/10.4 Build

list user quasilister at gmail.com
Mon Nov 10 16:41:05 EST 2008


Dear vtkUsers,
  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
CMAKE_OSX_ARCHITECTURES
i386

CMAKE_OSX_SYSROOT   /Developer/SDKs/MacOSX10.4u.sdk
 VTK_USE_CARBON
ON

 VTK_USE_RENDERING
ON

 VTK_WRAP_PYTHON                  ON
 CMAKE_CXX_FLAGS                    -mmacosx-version-min=10.4
 CMAKE_C_FLAGS                    -mmacosx-version-min=10.4

All other settings are the standard defaults.   I receive the same error for
both 5.2.0 and the cvs snapshot:

/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:
In function 'void BlockZero(void*, Size)':
/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
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:
In function 'void BlockZeroUncached(void*, Size)':
/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
make[2]: ***
[Rendering/CMakeFiles/vtkRenderingPythonD.dir/vtkCarbonRenderWindowInteractorPython.o]
Error 1
make[1]: *** [Rendering/CMakeFiles/vtkRenderingPythonD.dir/all] Error 2
make: *** [all] Error 2

I should say that VTK-5.0.x builds without incident with a similar
configuration.

I thought this might be relevant (
http://mail.python.org/pipermail/pythonmac-sig/2006-February/015978.html)
but VTK developers would know best.

Thanks,
Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081110/f7030d39/attachment.htm>


More information about the vtkusers mailing list