Re: [Dev-C++] wxwindows problems again and again...
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <or...@vp...> - 2003-06-19 18:35:34
|
Hello! Hmmm..., now which language should I use? :) No matter, I'll use English, so others can also read it. wxWindows requires a LOT of #defines (or -Dxxx on the command line), which are used by the header files, to provide cross-platformness. The errors you got, were because you didn't actually specify which OS do you compile for. That's why you get errors about case insensitive string-comparison functions, as it is: stricmp() under Windows, but strcasecmp() under Linux (or UNIX?), so wxWindows cannot "find it out". That's why you need to specify the OS, THEN wxWindows WILL be able to "find out" the proper comparison function. So, what flags do you need? Well, you can try digging it out from the original wxWindows distribution's makefile.g95 and makeg95.env and such files, OR you might try using these (my digging :) -D_X86_=1 -DWIN32 -D_WIN32 -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -DSTRICT -DHAVE_W32API_H -D__WXMSW__ -D__WINDOWS__ Tell me if you succed. -- Szervusz! Balázs U.I.: Bocs a késői válaszért, de éppen ma érettségiztem, úgyhogy kénytelen voltam "mellőzni" a gépelést az utóbbi 4 napban. |