Hi, >There should be a CMakeError.log and CMakeOutput.log files in the CMakeFiles >directory. These files don't help me in this problem. I added the files to this mails. The one file contains the same error as the output of CMake itself the other one looks as if there weren't errors at all.
I did again use new source of vtk and a new build directory. This is the error message configuring CMake for VTK =================================================== The C compiler "gcc" is not able to compile a simple test program. It fails with the following output: /lvdraid/user/ry149/local/bin/cmake -H/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp -B/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp --check-build-system CMakeFiles/Makefile.cmake 0 /usr/freeware/bin/gmake -f CMakeFiles/Makefile2 cmTryCompileExec gmake[1]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' /lvdraid/user/ry149/local/bin/cmake -H/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp -B/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp --check-build-system CMakeFiles/Makefile.cmake 0 /usr/freeware/bin/gmake -f CMakeFiles/Makefile2 CMakeFiles/cmTryCompileExec.dir/all gmake[2]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' /usr/freeware/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/depend gmake[3]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' Scanning dependencies of target cmTryCompileExec /lvdraid/user/ry149/local/bin/cmake -E cmake_depends "Unix Makefiles" /lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp /lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp /lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp/CMakeFiles/cmTryCompileExec.dir/DependInfo.cmake gmake[3]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' /usr/freeware/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[3]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o gcc -O3 -fomit-frame-pointer -64 -O3 -fomit-frame-pointer -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp/testCCompiler.c gcc: unrecognized option `-64' Linking C executable cmTryCompileExec /lvdraid/user/ry149/local/bin/cmake -E remove -f cmTryCompileExec gcc -O3 -fomit-frame-pointer -64 -O3 -fomit-frame-pointer -fPIC -64;-L/usr/freeware/lib32 -L/usr/lib32 -L/usr/machine/lib32 "CMakeFiles/cmTryCompileExec.dir/testCCompiler.o" -o cmTryCompileExec gcc: unrecognized option `-64' gcc: unrecognized option `-64' gcc: no input files /bin/sh: -L/usr/freeware/lib32: not found gmake[3]: *** [cmTryCompileExec] Error 127 gmake[3]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' gmake[2]: *** [CMakeFiles/cmTryCompileExec.dir/all] Error 2 gmake[2]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/rule] Error 2 gmake[1]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' gmake: *** [cmTryCompileExec] Error 2 CMake will not be able to correctly generate this project. CMakeError.log ============== - this doesn't tell me anything more than the error message by CMake - Determining if the C compiler works failed with the following output: /lvdraid/user/ry149/local/bin/cmake -H/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp -B/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp --check-b uild-system CMakeFiles/Makefile.cmake 0 /usr/freeware/bin/gmake -f CMakeFiles/Makefile2 cmTryCompileExec gmake[1]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' /lvdraid/user/ry149/local/bin/cmake -H/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp -B/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp --check-b uild-system CMakeFiles/Makefile.cmake 0 /usr/freeware/bin/gmake -f CMakeFiles/Makefile2 CMakeFiles/cmTryCompileExec.dir/all gmake[2]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' /usr/freeware/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/depend gmake[3]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' Scanning dependencies of target cmTryCompileExec /lvdraid/user/ry149/local/bin/cmake -E cmake_depends "Unix Makefiles" /lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp /lvdraid/user/ry149/local/bin/v tk/vtk-5.0.0/CMakeTmp /lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp/CMakeFiles/cmTryCompileExec.dir/DependInfo.cmake gmake[3]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' /usr/freeware/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[3]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o gcc -O3 -fomit-frame-pointer -64 -O3 -fomit-frame-pointer -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /lvdraid/user/ry149/local/bin/vtk/vtk -5.0.0/CMakeTmp/testCCompiler.c gcc: unrecognized option `-64' Linking C executable cmTryCompileExec /lvdraid/user/ry149/local/bin/cmake -E remove -f cmTryCompileExec gcc -O3 -fomit-frame-pointer -64 -O3 -fomit-frame-pointer -fPIC -64;-L/usr/freeware/lib32 -L/usr/lib32 -L/usr/machine/lib32 "CMakeFiles/cmTryCompileExec .dir/testCCompiler.o" -o cmTryCompileExec gcc: unrecognized option `-64' gcc: unrecognized option `-64' gcc: no input files /bin/sh: -L/usr/freeware/lib32: not found gmake[3]: *** [cmTryCompileExec] Error 127 gmake[3]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' gmake[2]: *** [CMakeFiles/cmTryCompileExec.dir/all] Error 2 gmake[2]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/rule] Error 2 gmake[1]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp' gmake: *** [cmTryCompileExec] Error 2 CMakeOutput.log =============== - doesn't this look good? - The system is: IRIX64 - 6.5 - mips Determining if the C compiler is GNU succeeded with the following output: # 1 "/lvdraid/user/ry149/local/share/CMake/Modules/CMakeTestGNU.c" # 1 "<built-in>" # 1 "<command line>" # 1 "/lvdraid/user/ry149/local/share/CMake/Modules/CMakeTestGNU.c" void THIS_IS_GNU(); Determining if the C++ compiler is GNU succeeded with the following output: # 1 "/lvdraid/user/ry149/local/share/CMake/Modules/CMakeTestGNU.c" # 1 "<built-in>" # 1 "<command line>" # 1 "/lvdraid/user/ry149/local/share/CMake/Modules/CMakeTestGNU.c" void THIS_IS_GNU(); Determining if the C compiler is GNU succeeded with the following output: # 1 "/lvdraid/user/ry149/local/share/CMake/Modules/CMakeTestGNU.c" # 1 "<built-in>" # 1 "<command line>" # 1 "/lvdraid/user/ry149/local/share/CMake/Modules/CMakeTestGNU.c" void THIS_IS_GNU(); Determining if the C++ compiler is GNU succeeded with the following output: # 1 "/lvdraid/user/ry149/local/share/CMake/Modules/CMakeTestGNU.c" # 1 "<built-in>" # 1 "<command line>" # 1 "/lvdraid/user/ry149/local/share/CMake/Modules/CMakeTestGNU.c" void THIS_IS_GNU(); CMake Advanced Settings: ======================== CMAKE_AR /usr/bin/ar CMAKE_BACKWARDS_COMPATIBILITY 2.2 CMAKE_BUILD_TYPE CMAKE_CXX_COMPILER g++ // here I also tried mips-sgi-irix6.5-gcc or /absolut/path/g++ CMAKE_C_COMPILER gcc // here the same CMAKE_C_FLAGS -O3 -fomit-frame-pointer CMAKE_C_FLAGS_DEBUG -g CMAKE_C_FLAGS_MINSIZEREL -Os -DNDEBUG CMAKE_C_FLAGS_RELEASE -O3 -DNDEBUG CMAKE_C_FLAGS_RELWITHDEBINFO -O2 -g CMAKE_EXE_LINKER_FLAGS -L/usr/freeware/lib32 CMAKE_EXE_LINKER_FLAGS_DEBUG CMAKE_EXE_LINKER_FLAGS_MINSIZE CMAKE_EXE_LINKER_FLAGS_RELEASE CMAKE_EXE_LINKER_FLAGS_RELWITH CMAKE_INSTALL_PREFIX /usr/local CMAKE_MAKE_PROGRAM /usr/freeware/bin/gmake CMAKE_MODULE_LINKER_FLAGS -L/usr/freeware/lib32 CMAKE_MODULE_LINKER_FLAGS_DEBU CMAKE_MODULE_LINKER_FLAGS_MINS CMAKE_MODULE_LINKER_FLAGS_RELE CMAKE_MODULE_LINKER_FLAGS_RELW CMAKE_RANLIB /usr/segment/bin/ranlib CMAKE_SHARED_LINKER_FLAGS -L/usr/freeware/lib32 CMAKE_SHARED_LINKER_FLAGS_DEBU CMAKE_SHARED_LINKER_FLAGS_MINS CMAKE_SHARED_LINKER_FLAGS_RELE CMAKE_SHARED_LINKER_FLAGS_RELW CMAKE_SKIP_RPATH OFF CMAKE_USE_RELATIVE_PATHS OFF CMAKE_VERBOSE_MAKEFILE OFF EXECUTABLE_OUTPUT_PATH LIBRARY_OUTPUT_PATH Variables Settings (output of 'set') ==================================== ... CC=mips-sgi-irix6.5-gcc CFLAGS='-O3 -fomit-frame-pointer' CPPFLAGS='-I/usr/freeware/include -I/usr/local/include -I/usr/machine/include -I/usr/segment/include -march=mips3' CXX=mips-sgi-irix6.5-g++ CXXFLAGS='-O3 -fomit-frame-pointer' GCC=gcc GCFLAGS='-O3 -fomit-frame-pointer' GCPPFLAGS='-I/usr/freeware/include -I/usr/local/include -I/usr/machine/include -I/usr/segment/include -march=mips3' GCXX=g++ GCXXFLAGS='-O3 -fomit-frame-pointer' GLDFLAGS='-L/usr/freeware/lib32 -L/usr/lib32 -L/usr/machine/lib32' LDFLAGS='-L/usr/freeware/lib32 -L/usr/lib32 -L/usr/machine/lib32' ... ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193 _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
