Re: [Dev-C++] Problems compiling a simple wxWindows application in Dev-Cpp
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <tr...@mx...> - 2004-03-26 18:32:18
|
I am off topic but I would never use cygwin with Dev-C++. If you are using cygwin's libraries and headers when compiling with Mingw then it is bad idea. --- Jan Ringos, Tr...@mx... http://tringi.mx-3.cz senior programmer-analyst n.v.t. MX-3, www.mx-3.cz ----- Original Message ----- From: "Frank Wagner" <F.W...@wi...> To: <dev...@li...> Cc: <wx-...@li...> Sent: Friday, March 26, 2004 4:03 PM Subject: [Dev-C++] Problems compiling a simple wxWindows application in Dev-Cpp > Hello, > I got a very misterious problem while I try to compile a simple > HelloWorld wxWindows application with Dev-Cpp. > I compiled wxWindows under cygwin and I'm able to compile the samples > in console mode. > But when I set up a Projekt under Dev-Cpp where I set up the required > pathes for lib and includes and try to compile the app I get the > following error message for exaple: > > --> > C:\usr\local\include\wx\buffer.h In constructor ` > wxCharBuffer::wxCharBuffer(const char*)': > 98 C:\usr\local\include\wx\buffer.h `strdup' undeclared (first use > this function) > <-- > > Similar errors follow but it seems to me that the compiler does not > find the <string.h> in > c:\cygwin\user\include > Instead he seems to look at "wx\string.h" in c:\cygwin\usr\local\ > where my the wxWindows includes were put in after doing "make install" > > I will attach my Dev-Cpp makefile and the make output of a comandline > make to compare. > > I hope someone can help me because I ran out of ideas. > > Thanks in advance > > Frank > |