[vtkusers] Which compiler and settings on SGI
Dr. Attila M. Zsaki
zsaki at encs.concordia.ca
Thu Mar 2 09:58:13 EST 2006
Martin,
I'm using SGI's own MIPSpro 7.4.3m without any problems to build vtk and
development...
Martin Baumann wrote:
> Hi,
>
> what compiler do you use on your SGI Onyx2 machine for compiling VTK using CMake?
> I tried gcc-2.95 but I get lots of errors:
>
> The C compiler "/stripe1/segment/UNSUPPORTED/gcc-2.95.3/bin/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
> /stripe1/segment/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
> /stripe1/segment/bin/gmake -f CMakeFiles/Makefile2 CMakeFiles/cmTryCompileExec.dir/all
> gmake[2]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp'
> /stripe1/segment/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'
> /stripe1/segment/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
> /stripe1/segment/UNSUPPORTED/gcc-2.95.3/bin/gcc -O -OPT:Olimit=2000 -diag_error 1035 -64 -O -OPT:Olimit=2000 -diag_error 1035 -64 -o
> CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp/testCCompiler.c
> gcc: cannot specify -o with -c or -S and multiple compilations
> gmake[3]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 1
> 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]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp'
> gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/rule] Error 2
>
> I wrote a simple 'Hello World' program and compiled it using this gcc version. No errors!!!
> Hmmm...
>
> Thanks, M.B.
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
-------------------------
Dr. Attila M. Zsaki, Ph.D., P.Eng.
Assistant Professor
Building, Civil and Environmental Engineering
Concordia University
1455 de Maisonneuve Blvd, W., EV006.151
Montreal, QC H3G 1M8
T: 514-848-2424 x3198
F: 514-848-7965
zsaki at encs.concordia.ca
http://users.encs.concordia.ca/~zsaki
More information about the vtkusers
mailing list