Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: rwn on June 24, 2010, 11:19:35 pm
-
Ok so I downloaded and changed the directory within codeblocks to the custom dir where the mingw dir is at...(d:\MinGW)
and i get this error while compiling...
Compiling: boredMain.cpp
Execution of 'mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -Wall -O2 -ID:\wxWidgets2.8\wxWidgets2.8\include -ID:\wxWidgets2.8\wxWidgets2.8\contrib\include -ID:\wxWidgets2.8\wxWidgets2.8\lib\gcc_dll\mswu -c D:\_Dev\Code\001-Practice\bored\boredMain.cpp -o obj\Release\boredMain.o' in 'D:\_Dev\Code\001-Practice\bored' failed.
Nothing to be done.
Just wondering if anyone out there can give me a hand...I have a diff version of it that works great in my laptop but don't see any differences in the setup within codeblocks.
-
Ok so I downloaded and changed the directory within codeblocks to the custom dir where the mingw dir is at...(d:\MinGW)
and i get this error while compiling...
Compiling: boredMain.cpp
Execution of 'mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -Wall -O2 -ID:\wxWidgets2.8\wxWidgets2.8\include -ID:\wxWidgets2.8\wxWidgets2.8\contrib\include -ID:\wxWidgets2.8\wxWidgets2.8\lib\gcc_dll\mswu -c D:\_Dev\Code\001-Practice\bored\boredMain.cpp -o obj\Release\boredMain.o' in 'D:\_Dev\Code\001-Practice\bored' failed.
Nothing to be done.
Just wondering if anyone out there can give me a hand...I have a diff version of it that works great in my laptop but don't see any differences in the setup within codeblocks.
"Nothing to be done" may mean that the object file was already created, can you check that?
That line is not enough to create an app, it just has the instructions to compile a source file to obj format. Have you set up your project with the wxWidgets new project wizard?
Ken
-
Your post lacks a lot of information:
which OS, which version of C::B and whic version of MinGW do you use ?
Dou you have a mingw32-g++.exe in your MinGW installation ?
And what happens if you try to compile from commandline ?
-
Thanks apparently the version I downloaded doesn't have mingw32-g++.exe in the bin directory...I'll try to be more clear next time :)
As far as details:
Os WinXP
Mingw: 3.4.5
Codeblocks: svn 6271
-
Thanks apparently the version I downloaded doesn't have mingw32-g++.exe in the bin directory...I'll try to be more clear next time :)
Then install the Compiler correctly; or use a different compiler that was installed correctly.
Note: if an file with a name "g++" exists, the copy it to name of "mingw32-g++.exe" or change your Code::Blocks compiler config to match the name of "g++".
Tim S.