[vtkusers] Mac OSX 10.5/10.4 Build

Michael Jackson mike.jackson at bluequartz.net
Mon Nov 10 17:03:36 EST 2008


If you want to DEPLOY to 10.4 but still be compatible with 10.5 then  
you need to use the 10.5 SDK, NOT the 10.4u SDK.

Take a look at http://public.kitware.com/Bug/view.php?id=6195  for the  
details of why you need those settings.
_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio


On Nov 10, 2008, at 4:41 PM, list user wrote:

> 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
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list