Hi folks!
I'm trying to compile Qgis on Windows with the ultimate goal of a Qgis Version
with ecw-support for windows.
Unfortunately cmake is making troubles (but no binary):
C:\dev\cpp\qgis>cmake .
-- Check for working C compiler: C:/mingw/bin/gcc.exe
-- Check for working C compiler: C:/mingw/bin/gcc.exe -- broken
CMake Error: The C compiler "C:/mingw/bin/gcc.exe" is not able to compile a
simple test program.
It fails with the following output:
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/dev/cpp/qgis/CMakeFiles/CMakeTmp'
/C/Programme/CMake_2.4/bin/cmake.exe -E cmake_progress_report
/C/dev/cpp/qgis/CMakeFiles/CMakeTmp/CMakeFiles 1
←[32mBuilding C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj
←[0m/C/mingw/bin/gcc.exe -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj
-c /C/dev/cpp/qgis/CMakeFiles/CMakeTmp/testCCompiler.c
←[31m←[1mLinking C executable cmTryCompileExec.exe
←[0m/C/Programme/CMake_2.4/bin/cmake.exe -P
CMakeFiles/cmTryCompileExec.dir/cmake_clean_target.cmake
/C/mingw/bin/gcc.exe
"CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj" -o cmTryCompileExec.exe
-Wl,--major-image-version,0,--min
or-image-version,0
/usr/bin/ld: /mingw/lib/crt2.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[1]: make[1]: Leaving directory `/dev/cpp/qgis/CMakeFiles/CMakeTmp'
*** [cmTryCompileExec.exe] Error 1
make: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
-- Configuring done
C:\dev\cpp\qgis>dir \mingw\lib\cr*.o
Datenträger in Laufwerk C: ist System
Volumeseriennummer: 28CD-D393
Verzeichnis von C:\mingw\lib
28.10.2005 02:10 368 CRT_fp10.o
28.10.2005 02:10 412 CRT_fp8.o
28.10.2005 02:10 317 CRT_noglob.o
28.10.2005 02:10 2.115 crt1.o
28.10.2005 02:10 2.195 crt2.o
28.10.2005 02:10 322 crtmt.o
28.10.2005 02:10 306 crtst.o
To me, this looks like cmake is looking for /mingw/lib/crt2.o but can't find
it, although it's exactly where expected.
Any hints?
Thank you for any help/information.
Walter
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user