[Paraview] ParaView-3.12.0 SuperBuild on OS-X Lion
David E DeMarle
dave.demarle at kitware.com
Fri Feb 10 08:20:15 EST 2012
True.
I am generating our binaries on a snow leopard machine with
CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT both set to 10.5 so
that they will run on leopard, snow leopard or lion.
If anyone knows how to use the 10.5 SDK on lion (just copying a valid
one in place and pointing to it does not work) I'ld like to know.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Thu, Feb 9, 2012 at 9:24 PM, Bob Obara <bob.obara at kitware.com> wrote:
> Hi Peter,
>
> This is not related to directly to your question but note that Lion does not
> really support 10.5 deployment targets. It only supports Snow Leopard
> (10.6) and later.
>
> Bob
>
>
> On Friday, February 3, 2012, Peter Schmitt <pschmittml at gmail.com> wrote:
>> 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
>
> --
> Robert M. O'Bara, MEng.
> Technical Leader
>
> Kitware Inc.
> 28 Corporate Drive
> Suite 101
> Clifton Park, NY 12065
>
> Phone: (518) 881- 4931
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
More information about the ParaView
mailing list