[vtk-developers] VES build error
Guillaume du Roy
guillaume.du.roy at gmail.com
Wed Jun 3 19:23:33 EDT 2015
i get this error whilst making the VES build folder :
Guillaumes-MacBook-Pro:vesbuild Guillaume$ make -j4
[ 9%] [ 9%] [ 10%] Built target eigen
[ 18%] Performing update step for 'curl-download'
Built target vtk-host
Performing update step for 'libarchive-download'
[ 19%] [ 20%] Performing build step for 'vtk-ios-device'
Performing configure step for 'vtk-ios-simulator'
[ 21%] loading initial cache file /Users/Guillaume/Desktop/VES/CMake/toolchains/TryRunResults.cmake
No configure step for 'libarchive-download'
-- -- Using iOS SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk
[ 22%] No build step for 'libarchive-download'
[ 1%] Built target vtksys
[ 23%] No install step for 'libarchive-download'
[ 1%] Built target vtkDICOMParser
[ 24%] Completed 'libarchive-download'
[ 2%] -- The C compiler identification is AppleClang 6.1.0.6020049
Built target vtkalglib
[ 27%] Built target libarchive-download
[ 3%] Built target vtkzlib
[ 3%] Built target vtkjsoncpp
[ 28%] Performing configure step for 'libarchive-ios-device'
[ 6%] -- The CXX compiler identification is AppleClang 6.1.0.6020049
-- -- Using iOS SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk
Built target vtkjpeg
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
CMake Warning (dev) at CMakeLists.txt:87 (IF):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "CMAKE_C_COMPILER_ID" will no longer be dereferenced
when the policy is set to NEW. Since the policy is not set the OLD
behavior will be used.
This warning is for project developers. Use -Wno-dev to suppress it.
[ 7%] Built target vtkpng
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/lib/libz.dylib (found version "1.2.5")
[ 10%] Built target vtktiff
-- Found BZip2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/lib/libbz2.dylib (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/lib/libbz2.dylib
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -- broken
CMake Error at /opt/local/share/cmake-3.2/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/Guillaume/Desktop/vesbuild/CMakeExternals/Build/vtk-ios-simulator/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec3556854147/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f
CMakeFiles/cmTryCompileExec3556854147.dir/build.make
CMakeFiles/cmTryCompileExec3556854147.dir/build
/opt/local/bin/cmake -E cmake_progress_report
/Users/Guillaume/Desktop/vesbuild/CMakeExternals/Build/vtk-ios-simulator/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C [ 13%] object
CMakeFiles/cmTryCompileExec3556854147.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
-fvisibility=hidden -fvisibility-inlines-hidden
-D__PHONE_OS_VERSION_MIN_REQIORED=50000 -fvisibility=hidden
-fvisibility-inlines-hidden -D__PHONE_OS_VERSION_MIN_REQIORED=50000 -arch
i386 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk
-o CMakeFiles/cmTryCompileExec3556854147.dir/testCCompiler.c.o -c
/Users/Guillaume/Desktop/vesbuild/CMakeExternals/Build/vtk-ios-simulator/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec3556854147
/opt/local/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec3556854147.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
-fvisibility=hidden -fvisibility-inlines-hidden
-D__PHONE_OS_VERSION_MIN_REQIORED=50000 -fvisibility=hidden
-fvisibility-inlines-hidden -D__PHONE_OS_VERSION_MIN_REQIORED=50000 -arch
i386 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk
-Wl,-headerpad_max_install_names
CMakeFiles/cmTryCompileExec3556854147.dir/testCCompiler.c.o -o
cmTryCompileExec3556854147
ld: building for MacOSX, but linking against dylib built for iOS Simulator
file
'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk/usr/lib/libSystem.dylib'
for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [cmTryCompileExec3556854147] Error 1
make[3]: *** [cmTryCompileExec3556854147/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
Built target vtklibxml2
-- Configuring incomplete, errors occurred!
See also "/Users/Guillaume/Desktop/vesbuild/CMakeExternals/Build/vtk-ios-simulator/CMakeFiles/CMakeOutput.log".
See also "/Users/Guillaume/Desktop/vesbuild/CMakeExternals/Build/vtk-ios-simulator/CMakeFiles/CMakeError.log".
make[2]: *** [CMakeExternals/Stamp/vtk-ios-simulator/vtk-ios-simulator-configure] Error 1
make[1]: *** [CMakeFiles/vtk-ios-simulator.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150604/71d4ed4a/attachment-0001.html>
More information about the vtk-developers
mailing list