Hi!
Since I've been running into problems compiling projects using wxWidgets I just took a simple helloWorld.cpp and #included wx/wx.h
#include <iostream>
#include "wx/wx.h"
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
These are the first lines of the build messages:
C:\Programme\wxWidgets-2.8.9\include\wx\wxchar.h||In function `size_t wxStrlen(const wxChar*)':
C:\Programme\wxWidgets-2.8.9\include\wx\wxchar.h|845|error: `strlen' was not declared in this scope
C:\Programme\wxWidgets-2.8.9\include\wx\wxchar.h||In function `char* wxTmemchr(const void*, int, size_t)':
C:\Programme\wxWidgets-2.8.9\include\wx\wxchar.h|1371|error: `memchr' was not declared in this scope
C:\Programme\wxWidgets-2.8.9\include\wx\wxchar.h||In function `int wxTmemcmp(const void*, const void*, size_t)':
Maybe I screwed up sth. because the first time I tried everything worked just fine.
The global wx variable is set to the appropriate path. I copied the setup.h to the <WXWIN>/include/wx (although I am not sure if this is the proper way to get it into the include path...)
Any ideas on this?
Setup:
C::B nightly Aug-23-2008 (5193),
wxWidgets 2.8.9,
MinGW3.4.5