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 scopeC:\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 scopeC:\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...)

Copying "setup.h" is not the right way, it contains setup definitions, that depend on the options you have used while compiling wxWidgets.I sometimes read this "tip" on the forum and I think it is potential dangerous, even if it seems to work in the most cases.

Hm, ok, I removed setup.h from .../wx/include now and included the path I initially copied it from in the (global) compiler options.

But this wasn't what caused the errors, they remain the same, even if I comment out the #include of wx/wx.h now, even if I remove anything related to wxWidgets from the project and clean it. I'll have a look at a wizard generated project now, like proposed...

...

Well, firstly setup.h is not found, I add the absolute path to the project's settings (it was there already but through the relative definition of the global wx variable which for some reason didn't work), then there arise new errors, e.g.

C:\Programme\wxWidgets-2.8.9\include\wx\buffer.h|127|error: `strdup' was not declared in this scope

didn't work... but I have to admit that I did not really recompile it, i.e. I didn't clean before I did (I'll do this tomorrow)... actually I don't think that a wxWidgets rebuild will solve the problem since the errors all refer to the header files which should be the same with or without a compiled library, shouldn't they? I'll keep trying and will inform you when I find out what is the problem or when I find a solution (but I'd prefer to know what I am doing wrong).

Hi I have similiar problem and it doesn't matter if I will compile wxWidgets from the source code or use wxPack I'm always ending up with the same result wchich is:

C:\wxWidgets-2.8.11\include\wx\chkconf.h|1824|warning: "wxUSE_WX_RESOURCES" is not defined|C:\wxWidgets-2.8.11\include\wx\defs.h|978|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\defs.h|979|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\buffer.h||In constructor 'wxCharBuffer::wxCharBuffer(const char*)':|C:\wxWidgets-2.8.11\include\wx\buffer.h|128|error: 'strdup' was not declared in this scope|C:\wxWidgets-2.8.11\include\wx\buffer.h||In member function 'wxCharBuffer& wxCharBuffer::operator=(const char*)':|C:\wxWidgets-2.8.11\include\wx\buffer.h|128|error: 'strdup' was not declared in this scope|C:\wxWidgets-2.8.11\include\wx\buffer.h||In constructor 'wxWCharBuffer::wxWCharBuffer(const wchar_t*)':|C:\wxWidgets-2.8.11\include\wx\buffer.h|135|error: '_wcsdup' was not declared in this scope|C:\wxWidgets-2.8.11\include\wx\buffer.h||In member function 'wxWCharBuffer& wxWCharBuffer::operator=(const wchar_t*)':|C:\wxWidgets-2.8.11\include\wx\buffer.h|135|error: '_wcsdup' was not declared in this scope|C:\wxWidgets-2.8.11\include\wx\string.h||In function 'int Stricmp(const char*, const char*)':|C:\wxWidgets-2.8.11\include\wx\string.h|141|error: 'strcasecmp' was not declared in this scope|C:\wxWidgets-2.8.11\include\wx\string.h|1073|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\string.h|1079|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\string.h|1191|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\string.h|1193|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\list.h||In constructor 'wxListKey::wxListKey(const wxChar*)':|C:\wxWidgets-2.8.11\include\wx\list.h|406|error: 'strdup' was not declared in this scope|C:\wxWidgets-2.8.11\include\wx\list.h||In constructor 'wxListKey::wxListKey(const wxString&)':|C:\wxWidgets-2.8.11\include\wx\list.h|408|error: 'strdup' was not declared in this scope|C:\wxWidgets-2.8.11\include\wx\hashmap.h|536|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\hashmap.h|536|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\hashmap.h|537|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\hashmap.h|537|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\hashmap.h||In member function 'long long unsigned int wxIntegerHash::operator()(long long int) const':|C:\wxWidgets-2.8.11\include\wx\hashmap.h|536|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\hashmap.h|556|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\hashmap.h|556|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\hashmap.h|557|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\hashmap.h|557|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\math.h||In function 'bool wxIsSameDouble(double, double)':|C:\wxWidgets-2.8.11\include\wx\math.h|102|warning: comparing floating point with == or != is unsafe|C:\wxWidgets-2.8.11\include\wx\longlong.h|114|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|133|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|135|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|174|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|199|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|201|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|223|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|225|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|340|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h||In constructor 'wxLongLongNative::wxLongLongNative(wxInt32, wxUint32)':|C:\wxWidgets-2.8.11\include\wx\longlong.h|119|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|120|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h||In member function 'wxLongLongNative& wxLongLongNative::Assign(double)':|C:\wxWidgets-2.8.11\include\wx\longlong.h|157|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|351|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|371|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|373|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|402|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|427|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|429|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|446|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|448|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|563|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h||In constructor 'wxULongLongNative::wxULongLongNative(wxUint32, wxUint32)':|C:\wxWidgets-2.8.11\include\wx\longlong.h|356|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|357|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|1070|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|1071|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|1073|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\longlong.h|1074|warning: ISO C++ 1998 does not support 'long long'|C:\wxWidgets-2.8.11\include\wx\filefn.h|198|warning: ISO C++ 1998 does not support 'long long'|||=== Build finished: 7 errors, 45 warnings ===|

I'm trying to solve this problem for about 3 days now ... and I'm loosing my mind here ... so anyone please help me :?

I'm using Win 7 64bit and it looks like my wxWidgets compilation fails ... in fact I have tried to compile the source many times using diffrent versions of wxWidgets and also to redirect the output of compilation into a file rather than console but if fails more or less with the same error message