|
From: Marshall B. <mlb...@ho...> - 2002-12-30 01:03:54
|
"Goran Kavrecic" <go...@em...> wrote: >Anyone has some idea or procedure how to install and setup DevC++ 4(preferably 5) in order to work with wxW? > Hi Goran, After many hours of frustration I've come to the conclusion that the default wxWindows 2.2.9 package will not work with Dev-C++ 4.7.9.x/gcc 3.2. I believe you have two choices: 1) Use Dev-C++ 4.7.9.x/gcc 2.9.5. A fresh installation will allow for a build of the provided example. Should you install the upgrade for v4.7.9.1, be sure to copy and paste the "Compiler" flags to the "C++ compiler" list box (under Project Options->Compiler->Compiler Options). 2) If you want to use the gcc 3.2 version, I could find only one solution: build a new wxWindows lib from the source provided at the official wxWindows web site (located at http://www.wxwindows.org/dl_msw2.htm). This was actually a frighteningly straight-forward procedure, except that that a debug build of the library will not work -- an executable linked against such will report a library mismatch. I used the 2.3.4 snapshot and built a Unicode release-level static lib and all appears well. Be sure to remove the existing wxWindows package and perhaps even the "Image Library" package as the wxWindows source includes that for libpng, libjpeg, libtiff, and libzlib. Otherwise, watch out for lib conflicts... In addition, you'll have to perform the aforementioned compiler flag copy. Good luck to you. If you need any further help, I'll be happy to provide it. Regards, Marshall |