Devcpp guide needs to be updated

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
akkumar
Earned a small fee
Earned a small fee
Posts: 15
Joined: Sat Sep 11, 2004 8:35 pm
Location: CA

Devcpp guide needs to be updated

Post by akkumar »

The dev-cpp guide avaiable here at this URL
http://www.wxwidgets.org/devcpp.htm corresponds to the wxWindows -2.4.2 codeline (I mean, the name of the libraries).
wxWidgets - 2.5.2 has got different naming conventions for the libraries. So it would be nice if that document is updated with regard to the 2.5.2 codeline libraries so that it would be really useful for dev-cpp based developers.
Karthik.
User avatar
Ryan Norton
wxWorld Domination!
wxWorld Domination!
Posts: 1319
Joined: Mon Aug 30, 2004 6:01 pm

Re: Devcpp guide needs to be updated

Post by Ryan Norton »

akkumar wrote:The dev-cpp guide avaiable here at this URL
http://www.wxwidgets.org/devcpp.htm corresponds to the wxWindows -2.4.2 codeline (I mean, the name of the libraries).
wxWidgets - 2.5.2 has got different naming conventions for the libraries. So it would be nice if that document is updated with regard to the 2.5.2 codeline libraries so that it would be really useful for dev-cpp based developers.
Thanks - I'll notify Julian :).
Last edited by Ryan Norton on Tue Sep 14, 2004 2:42 am, edited 1 time in total.
[Mostly retired moderator, still check in to clean up some stuff]
geon
I live to help wx-kind
I live to help wx-kind
Posts: 189
Joined: Tue Sep 07, 2004 4:10 pm
Location: Sweden, Uppsala

Post by geon »

I made some personal notes (I use wxGLCanvas):

* Add rm.com, cp.com och mv.com to the.compilers directory. (C:\Dev-Cpp\bin\)

* In the file "commctrl.h" among the compilers includes, you might need to set this to "on":

#if 1
#define _WIN32_IE 0x0300
#endif

* Make any desired changes in "include\wx\msw\setup.h". (ie. set GL_CANVAS to 1)

* Add this to \src\mingw32.bat:

cd ..\build\msw
make -f makefile.gcc BUILD=clean MONOLITHIC=1 USE_OPENGL=1 DEBUG_FLAG=0 DEBUG_INFO=0
cd ..\..\src

...and set MINGWDIR to c:\dev-cpp

* You might need to copy "setup.h" to the proper include directory manually.


* Add the proper libraries to the linker:
-lwxmsw25 -lwxmsw25_gl -lodbc32 -lwsock32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 -lodbc32 -lwsock32 -lopengl32 -lglu32 -lole32 -loleaut32 -luuid -lwxpng -lwxzlib -lwxtiff -lwxjpeg
(There might be a few to many in this list...)




This is of course specialized for my personal taste, but it is a start.
Post Reply