Skip to content

Instantly share code, notes, and snippets.

@che1404
Created January 12, 2017 06:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save che1404/ee55cd9f8caf75deca8f5f1f8a330041 to your computer and use it in GitHub Desktop.
Save che1404/ee55cd9f8caf75deca8f5f1f8a330041 to your computer and use it in GitHub Desktop.
vtk install error on mac osx
@MacBook-Pro-de-Roberto ~/code/VTK/vtkios make
[ 33%] Built target vtk-compile-tools
[ 66%] Built target vtk-ios-simulator
[ 70%] Performing configure step for 'vtk-ios-device'
-- -- gcc found at: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc
-- -- g++ found at: /Applications/Xcode.app/Contents/Developer/usr/bin/g++
-- -- Using iOS SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
-- The C compiler identification is AppleClang 8.0.0.8000042
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -- broken
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler "/Applications/Xcode.app/Contents/Developer/usr/bin/gcc" is
not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/ro/code/VTK/vtkios/CMakeExternals/Build/vtk-ios-device/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_02122/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f
CMakeFiles/cmTC_02122.dir/build.make CMakeFiles/cmTC_02122.dir/build
Building C object CMakeFiles/cmTC_02122.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/usr/bin/gcc
-miphoneos-version-min=5.0 -fvisibility=hidden -fvisibility-inlines-hidden
-miphoneos-version-min=5.0 -fvisibility=hidden -fvisibility-inlines-hidden
-arch armv7 -arch armv7s -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
-o CMakeFiles/cmTC_02122.dir/testCCompiler.c.o -c
/Users/ro/code/VTK/vtkios/CMakeExternals/Build/vtk-ios-device/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_02122
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_02122.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/usr/bin/gcc
-miphoneos-version-min=5.0 -fvisibility=hidden -fvisibility-inlines-hidden
-miphoneos-version-min=5.0 -fvisibility=hidden -fvisibility-inlines-hidden
-arch armv7 -arch armv7s -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
-Wl,-headerpad_max_install_names
CMakeFiles/cmTC_02122.dir/testCCompiler.c.o -o cmTC_02122
ld: library not found for -lcrt1.3.1.o
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [cmTC_02122] Error 1
make[3]: *** [cmTC_02122/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:28 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/ro/code/VTK/vtkios/CMakeExternals/Build/vtk-ios-device/CMakeFiles/CMakeOutput.log".
See also "/Users/ro/code/VTK/vtkios/CMakeExternals/Build/vtk-ios-device/CMakeFiles/CMakeError.log".
make[2]: *** [CMakeExternals/Prefix/vtk-ios-device/src/vtk-ios-device-stamp/vtk-ios-device-configure] Error 1
make[1]: *** [CMakeFiles/vtk-ios-device.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment