[Dev-C++] Problems compiling a simple wxWindows application in Dev-Cpp
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Frank W. <F.W...@wi...> - 2004-03-26 15:04:01
|
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 |