I'm on my way, but...

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri Jun 15 19:41:06 CEST 2007


Andrew Berg schrieb:
> I went to compile winDBus as instructed and
> 
> cmake -G "MinGW Makefiles" ..\windbus\cmake\
> 
> returns this:
>> -- Check for working CXX compiler: C:/MinGW/bin/g++.exe -- broken
>> CMake Error: The C++ compiler "C:/MinGW/bin/g++.exe" is not able to
>> compile a simple test program.
>> It fails with the following output:
>>  C:/MinGW/bin/mingw32-make.exe -f
>> CMakeFiles/cmTryCompileExec.dir/build.make
>> CMakeFiles/cmTryCompileExec.dir/build
>> mingw32-make.exe[1]: Entering directory
>> `C:/svn/windbus-build/CMakeFiles/CMakeTmp'
>> "C:\Program Files\CMake 2.4\bin\cmake.exe" -E cmake_progress_report
>> C:\svn\windbus-build\CMakeFiles\CMakeTmp\CMakeFiles 1
>> Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.obj
>> C:\MinGW\bin\g++.exe    -o
>> CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.obj -c
>> C:\svn\windbus-build\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
>> Linking CXX executable cmTryCompileExec.exe
>> "C:\Program Files\CMake 2.4\bin\cmake.exe" -P
>> CMakeFiles\cmTryCompileExec.dir\cmake_clean_target.cmake
>> C:\MinGW\bin\g++.exe        
>> "CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.obj"   -o
>> cmTryCompileExec.exe -Wl,--major-image-version,0,--minor-image-versi
>> on,0
>> C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe:
>> crtbegin.o: No such file: No such file or directory
>> mingw32-make.exe[1]: *** [cmTryCompileExec.exe] Error 1
>> mingw32-make.exe[1]: Leaving directory
>> `C:/svn/windbus-build/CMakeFiles/CMakeTmp'
>> mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2
> 
> 
>> CMake will not be able to correctly generate this project.
>> -- Configuring done
> A similar error occurs when I try to compile kdewin32 or the
> kdesupport libs mentioned. I suspect that there is something I need in
> order to get g++ to work.
> Unfortunately, a google search didn't turn up anything useful.
> 
Looks like your mingw env is messed up somehow - Inever saw such an 
error. Please download gcc-core and gcc-c++ 3.4.5 (not 3.4.2) from 
sf.net/projects/mingw, unpacka them into the correct directories and try 
again.

Christian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20070615/f3e1b756/attachment.pgp 


More information about the Kde-windows mailing list