I'm trying to build OSG for iOS but when I try to use cmake -G Xcode i got an error message:
-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler using: Xcode
-- Check for working C compiler using: Xcode -- broken
CMake Error at /Applications/CMake 2.8-5.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "/usr/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/Kun/OpenSceneGraph-2.9.16/CMakeFiles/CMakeTmp
I dont know whats the problem because the actual version of cmake is installed and the gcc is also actual because the compiler will be installed automatically with the installation of Xcode or?
U got a solution?
Read this topic online here:
Post generated by Mail2Forum