[Paraview-developers] ParaviewSuperBuild Problem

Hanqi Guo guohanqi at gmail.com
Tue May 26 15:47:01 EDT 2015


Hi,

I'm trying to use ParaviewSuperBuild on OS X Yosemite 10.10.3, and the
system clang version is 6.1.0. I have some errors when I build, and what
could I do to solve this problem? Thanks.

Best,
Hanqi Guo


CMake Warning at CMakeLists.txt:5 (message):

  Ensure that CMAKE_OSX_SYSROOT, CMAKE_OSX_DEPLOYMENT_TARGET are set

  correctly



-- Manta is currently not supported on Macs

-- Using system python. Pick correct python based on your deployment target

-- Enabling paraview as requested.

-- PROJECTS_ENABLED paraview

-- Configuring done

-- Generating done

-- Build files have been written to:
/Users/hguo/workspace/compile/ParaViewSuperbuild/build

[ 12%] Performing update step for 'paraview'

[ 25%] Performing configure step for 'paraview'

-- The C compiler identification is unknown

-- The CXX compiler identification is unknown

-- Check for working C compiler:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc

-- Check for working C compiler:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- broken

CMake Error at
/Users/hguo/local/cmake-3.2.2/share/cmake-3.2/Modules/CMakeTestCCompiler.cmake:61
(message):

  The C compiler


"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"

  is not able to compile a simple test program.


  It fails with the following output:


   Change Dir:
/Users/hguo/workspace/compile/ParaViewSuperbuild/build/paraview/src/paraview-build/CMakeFiles/CMakeTmp





  Run Build Command:"/usr/bin/make" "cmTryCompileExec1161683309/fast"


  /Applications/Xcode.app/Contents/Developer/usr/bin/make -f

  CMakeFiles/cmTryCompileExec1161683309.dir/build.make

  CMakeFiles/cmTryCompileExec1161683309.dir/build


  /Users/hguo/local/cmake-3.2.2/bin/cmake -E cmake_progress_report


/Users/hguo/workspace/compile/ParaViewSuperbuild/build/paraview/src/paraview-build/CMakeFiles/CMakeTmp/CMakeFiles

  1


  Building C object

  CMakeFiles/cmTryCompileExec1161683309.dir/testCCompiler.c.o





/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc

  -fPIC -arch x86_64 -mmacosx-version-min=


--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk

  -o CMakeFiles/cmTryCompileExec1161683309.dir/testCCompiler.c.o -c


/Users/hguo/workspace/compile/ParaViewSuperbuild/build/paraview/src/paraview-build/CMakeFiles/CMakeTmp/testCCompiler.c



  clang: error: invalid version number in '-mmacosx-version-min='


  make[4]: *** [CMakeFiles/cmTryCompileExec1161683309.dir/testCCompiler.c.o]

  Error 1


  make[3]: *** [cmTryCompileExec1161683309/fast] Error 2








  CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

  CMakeLists.txt:40 (project)



-- Configuring incomplete, errors occurred!

See also
"/Users/hguo/workspace/compile/ParaViewSuperbuild/build/paraview/src/paraview-build/CMakeFiles/CMakeOutput.log".

See also
"/Users/hguo/workspace/compile/ParaViewSuperbuild/build/paraview/src/paraview-build/CMakeFiles/CMakeError.log".

make[2]: *** [paraview/src/paraview-stamp/paraview-configure] Error 1

make[1]: *** [CMakeFiles/paraview.dir/all] Error 2

make: *** [all] Error 2

-- 
Hanqi Guo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20150526/49037c81/attachment.html>


More information about the Paraview-developers mailing list