Re: [Dev-C++] wxWindows + Dev C++ problem
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <or...@vp...> - 2004-05-05 19:44:50
|
Cristian Perca wrote: > Hello > I am tring to install wxWindows, and i followed the steps that i found = on > the wxWindow web site: > 1) install Dev C++ > 2) install imagelib-2.DevPak > 3) and then install wxWindows > but it doesnt work. > Can anyone tell me if there is any otherthing to do or ...? > thx Get the latest stable (2.4.2) wxWindows source release from=20 www.wxwidgets.org (you DON'T need imagelib). Edit ".../wxWindows-2.4.2/include/msw/setup.h" and adjust it to your=20 needs (it's a LONG list, but read it through). You'll probably need=20 OpenGL for example, which is NOT enabled by default, so enable it if you=20 want. Open a command prompt (cmd or command). Go to ".../wxWindows-2.4.2/src/msw" directory. Type "make -f makefile.g95 FINAL=3D1" to build as static library. Type "make -f makefile.g95 FINAL=3D1 WXMAKINGDLL=3D1" to build as dynamic= =20 library (DLL). Both are possible, they do not conflict. You'll get the libs at ".../wxWindows-2.4.2/lib". Adjust your Dev-Cpp project to use correct settings (includes, libs, etc.= ). Include dirs: .../wxWindows-2.4.2/include .../wxWindows-2.4.2/lib/mswdll .../wxWindows-2.4.2/contrib/include Lib dirs: .../wxWindows-2.4.2/lib Libraries: -lwxmsw242 -lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm=20 -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32 C++ Compiler flags: -D_WIN32_IE=3D0x400 -D__WXMSW__ -D__GNUWIN32__ -DHAVE_W32API_H -DWXUSINGD= LL Of course, don't add -DWXUSINGDLL if you wish to use the static lib. -- Greetings, Bal=E1zs |