[Paraview-developers] Problem building matplotlib from SuperBuild on MacOSX

Robert Maynard robert.maynard at kitware.com
Wed Sep 11 13:46:23 EDT 2013


Can you attach the CMakeCache.txt from your build directory please.
The superbuild just blindly copies those variables so it might have
cached the wrong value for CMAKE_OSX_SYSROOT.

On Wed, Sep 11, 2013 at 12:20 PM, Michael Wiltberger <wiltbemj at ucar.edu> wrote:
> Hello,
>   I'm new to the process of building a super build environment.  On my Mac with OSX 10.8 installed I have checked out the super build for tag v4.0.1.  It currently fails when trying to build matplotlib.  From the log files I see that it is trying to build for 10.6 even though I have specified 10.8 in the CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT variables.  Any ideas why this is happening and more importantly how to fix it?
>
> Take care,
> Mike
>
> P.S.  I'll append pieces from the build process that support the statements about the wrong versions of OSX
>
> running install
> running build
> running build_py
> creating build
> creating build/lib.macosx-10.6-x86_64-2.7
> copying lib/pylab.py -> build/lib.macosx-10.6-x86_64-2.7
> creating build/lib.macosx-10.6-x86_64-2.7/matplotlib
>>>  Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.6.sdk
> Please check your Xcode installation
> gcc -DNDEBUG -g -O3 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include -fPIC -arch x86_64 -mmacosx-version-min=10.8 -sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fPIC -arch x86_64 -mmacosx-version-min=10.8 -sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/Users/wiltbemj/src/ParaView-4.0.1_OSX-10.8/install/lib/python2.7/site-packages/numpy/core/include -I/opt/local/include/freetype2 -I/opt/local/include -I/Users/wiltbemj/src/ParaView-4.0.1_OSX-10.8/install/include -I. -I/Applications/Canopy.app/appdata/canopy-1.1.0.1371.macosx-x86_64/Canopy.app/Contents/include/python2.7 -c src/ft2font.cpp -o build/temp.macosx-10.6-x86_64-2.7/src/ft2font.o
>
>
> Michael Wiltberger, Ph.D
> NCAR/HAO
> 3080 Center Green
> Boulder, CO 80301
> Ph: (303)497-1532
> Fx: (303)497-2180
> email: wiltbemj at ucar.edu
>
> There are only 10 types of people: those who understand binary and those who don't.
>
>
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers


More information about the Paraview-developers mailing list