From: Kleinwächter, K. M. <Kerstin.Kleinwaechter@DE.BERTRANDT.com> - 2008-08-27 08:08:11
|
Hi I'm trying to compile and run a program, which was written with Visual Studio 2005 on Visual-MinGW together with MinGW. I installed "MinGW-5.1.4", "MSYS-1.0.10", "vm-0.57a-20080616" and "gdb-6.3-2". I created a new Project and added all the files from the Visual Studio Project. I set the "Include directories" of Compile as following : C:\MinGW\bin;C:\MinGW\lib;C:\MinGW\include;C:\MinGW\include\c++\3.4.5;C:\MinGW\include\c++\3.4.5\backward;C:\MinGW\include\c++\3.4.5\mingw32;C:\MinGW\lib\gcc\mingw32\3.4.5\include; And the "Library directories " as: C:\MinGW\lib\gcc\mingw32\3.4.5 you can run it and almost debug it, but when you press "Rebuild all" I get following messages: gcc -IC:\MinGW\bin -IC:\MinGW\lib -IC:\MinGW\include -IC:\MinGW\include\c++\3.4.5 -IC:\MinGW\include\c++\3.4.5\backward -IC:\MinGW\include\c++\3.4.5\mingw32 -IC:\MinGW\lib\gcc\mingw32\3.4.5\include -I -g -Wno-unused-variable;-Wno-pragmas -c .\INIDatei.cpp -o .\INIDatei.o gcc -IC:\MinGW\bin -IC:\MinGW\lib -IC:\MinGW\include -IC:\MinGW\include\c++\3.4.5 -IC:\MinGW\include\c++\3.4.5\backward -IC:\MinGW\include\c++\3.4.5\mingw32 -IC:\MinGW\lib\gcc\mingw32\3.4.5\include -I -g -Wno-unused-variable;-Wno-pragmas -c .\MathTool.cpp -o .\MathTool.o gcc -IC:\MinGW\bin -IC:\MinGW\lib -IC:\MinGW\include -IC:\MinGW\include\c++\3.4.5 -IC:\MinGW\include\c++\3.4.5\backward -IC:\MinGW\include\c++\3.4.5\mingw32 -IC:\MinGW\lib\gcc\mingw32\3.4.5\include -I -g -Wno-unused-variable;-Wno-pragmas -c .\Ringpuffer.cpp -o .\Ringpuffer.o gcc -IC:\MinGW\bin -IC:\MinGW\lib -IC:\MinGW\include -IC:\MinGW\include\c++\3.4.5 -IC:\MinGW\include\c++\3.4.5\backward -IC:\MinGW\include\c++\3.4.5\mingw32 -IC:\MinGW\lib\gcc\mingw32\3.4.5\include -I -g -Wno-unused-variable;-Wno-pragmas -c .\Schrift.cpp -o .\Schrift.o windres -O COFF --include-dir=C:\MinGW\bin --include-dir=C:\MinGW\lib --include-dir=C:\MinGW\include --include-dir=C:\MinGW\include\c++\3.4.5 --include-dir=C:\MinGW\include\c++\3.4.5\backward --include-dir=C:\MinGW\include\c++\3.4.5\mingw32 --include-dir=C:\MinGW\lib\gcc\mingw32\3.4.5\include --include-dir= .\skript.rc .\skript.res gcc: warning: `-x c' after last input file has no effect gcc: no input files windres: no resources Errors:[Code:1] What I'm doing wrong? Than I've got another question, when I try to run the project on an Industrial-PC , I get the message: " out of memory allocating 65536 bytes", I assume it has something to do with the RAM, so I like to know how much RAM the program needs? Thanks Kerstin Mit freundlichen Grüßen Kerstin Kleinwächter Praktikant Systemintegration Bertrandt Ingenieurbüro GmbH Anton-Ditt-Bogen 23 D- 80939 München Telefon +49 89 316089 7449 Web www.bertrandt.com <http://www.bertrandt.com/> Geschäftsführer: Ulrich Subklew Sitz der Gesellschaft: München, Amtsgericht: München, HRB 110540 The contents of this e-mail are confidential. If you are not the named addressee or if this transmission has been addressed to you in error, please notify the sender immediately and then delete this e-mail. Any unauthorized copying and transmission is forbidden. E-Mail transmission cannot be guaranteed to be secure. If verification is required, please request a hard copy version. Please note, that incoming email is not checked regularly. This may result in a failure to comply with legal or contractual terms. Therefore it is not sufficient, to sent any legal or contractual declarations by email. In no event will Bertrandt be liable to you or any third party for any direct, indirect, consequential, special or exemplary damages or lost profit resulting from this failure. |