can't build wxwidgets

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
carnykur
In need of some credit
In need of some credit
Posts: 1
Joined: Tue Oct 17, 2006 8:31 am

can't build wxwidgets

Post by carnykur » Tue Oct 17, 2006 8:37 am

i'm on win xp. i downloaded mingw 3+, wxwidgets, followed the instructions in install.txt. make did not encountered errors (as far as i can guess) and it generated lots of object files but no dll. i suppose it should...

i tryed these commandlines:

>mingw32-make -f makefile.gcc BUILD=debug
>mingw32-make -f makefile.gcc BUILD=release MONOLITHIC=1 SHARED=0

did i missunderstood something?

tiwag
Earned some good credits
Earned some good credits
Posts: 123
Joined: Tue Dec 21, 2004 8:51 pm
Location: Austria

Re: can't build wxwidgets

Post by tiwag » Tue Oct 17, 2006 8:57 am

if you want a dll ( = shared )

use

mingw32-make -f makefile.gcc BUILD=release MONOLITHIC=1 UNICODE=0 SHARED=1 VENDOR=wx263

this will produce an ANSI release build with import lib and dll of the names
WXDIR\lib\gcc_dll\libwxmsw26.a
WXDIR\lib\gcc_dll\wxmsw26_gcc_wx263.dll

the vendor isn't necessary to build, but it helps you to differentiate between several wxWidgets sub-releases,
otherwise all dll's from wx2.6.x would have the same name and aren't binary compatible in the most cases (from my experience)
-tiwag

User avatar
T-Rex
Moderator
Moderator
Posts: 1198
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Post by T-Rex » Tue Oct 17, 2006 10:39 am


dsilvia
Earned some good credits
Earned some good credits
Posts: 145
Joined: Sun May 29, 2005 3:42 pm
Location: Bettendorf, Iowa, USA (aka, BFE)

Post by dsilvia » Fri Oct 20, 2006 10:58 am

Try using DialogBlocks. It builds for any compiler that wxWidgets can be built with (reliably and without any tweaking.)

http://www.anthemion.co.uk/dialogblocks/

Also, there are demos/tutorials at wxMS_developers that help with building wxWidgets on Windows platforms.

BTW, the latest compiler for Visual Studio C++ is free, you know.


HTH:

Dave S.


wxMS_developers

Post Reply