News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

compiling wxwidgets with mingw

Started by rwn, June 24, 2010, 11:19:35 PM

Previous topic - Next topic

rwn

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.

kencamargo

Quote from: 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.


"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

Jenna

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 ?

rwn

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

stahta01

#4
Quote from: rwn on June 26, 2010, 07:56:48 PM
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]