[Paraview] ParaView-3.12.0 SuperBuild on OS-X Lion

Peter Schmitt pschmittml at gmail.com
Fri Feb 3 17:26:43 EST 2012


Hello,

I have a clean install of OS-X 10.7.2 "Lion".  I've installed xcode-4.2.1
from the App store.  When building ParaView from SuperBuild with
CMAKE_OSX_DEPLOYMENT_TARGET=10.5, I get the following error:

[ 75%] Building CXX object
> Model/CMakeFiles/Manta_Model.dir/Readers/glm/glm.o
> In file included from
> /Users/paraview/paraview/ParaView-3.12.0-Darwin-x86_64/Manta/Model/Readers/glm/glm.cc:17:
> /usr/include/malloc/malloc.h:150 error: expected initializer before
> '__AVAILABILITY_INTERNAL__MAC_10_7'
> /usr/include/malloc/malloc.h:246 error: expected initializer before
> '__AVAILABILITY_INTERNAL__MAC_10_7'
> /usr/include/malloc/malloc.h:249 error: expected initializer before
> '__AVAILABILITY_INTERNAL__MAC_10_7'
> /usr/include/malloc/malloc.h:252 error: expected initializer before
> '__AVAILABILITY_INTERNAL__MAC_10_7'
> /usr/include/malloc/malloc.h:258 error: expected initializer before
> '__AVAILABILITY_INTERNAL__MAC_10_7'
> Make[5]: *** [Model/CMakeFiles/Manta_Model.dir/Readers/glm/glm.o] Error 1
> Make[4]: *** [Model/CMakeFiles/Manta_Model.dir/all] Error 2
> Make[3]: *** [all] Error 2
> Make[2]: *** [Manta-prefix/src/Manta-stamp/Manta-build] Error 2
> Make[1]: *** [CMakeFiles/Manta.dir/all] Error 2
> Make: *** [all] Error 2


I see there are a few copies of malloc.h on my system:

/Developer/SDKs/MacOSX10.6.sdk/usr/include/malloc/malloc.h
> /Developer/SDKs/MacOSX10.7.sdk/usr/include/malloc/malloc.h

/usr/include/malloc/malloc.h  # same as the 10.7 malloc above


 and I am guessing the SuperBuild is pointing to the wrong one.  Any ideas
of how to get around this?  If my goal is to create a 3.12.0 development
install, should I be using OS-X 10.7 with XCode 4.2.1?

Thanks,
Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120203/474b335c/attachment.htm>


More information about the ParaView mailing list