Page 1 of 1

Devcpp guide needs to be updated

Posted: Mon Sep 13, 2004 2:09 am
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.

Re: Devcpp guide needs to be updated

Posted: Mon Sep 13, 2004 2:10 am
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 :).

Posted: Mon Sep 13, 2004 10:58 am
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.