I followed the WxWindowsQuickRef
http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef to compile wxWidgets and create wxWidgets project in C::B,when I Build and Run a project in last step,I got the message below
||=== Build: Debug in d (compiler: GNU GCC Compiler) ===|
D:\Program\wxWidgets\include\wx\buffer.h||In constructor 'wxCharBuffer::wxCharBuffer(const char*)':|
D:\Program\wxWidgets\include\wx\buffer.h|127|error: 'strdup' was not declared in this scope|
D:\Program\wxWidgets\include\wx\buffer.h||In member function 'wxCharBuffer& wxCharBuffer::operator=(const char*)':|
D:\Program\wxWidgets\include\wx\buffer.h|127|error: 'strdup' was not declared in this scope|
D:\Program\wxWidgets\include\wx\buffer.h||In constructor 'wxWCharBuffer::wxWCharBuffer(const wchar_t*)':|
D:\Program\wxWidgets\include\wx\buffer.h|134|error: '_wcsdup' was not declared in this scope|
D:\Program\wxWidgets\include\wx\buffer.h||In member function 'wxWCharBuffer& wxWCharBuffer::operator=(const wchar_t*)':|
D:\Program\wxWidgets\include\wx\buffer.h|134|error: '_wcsdup' was not declared in this scope|
D:\Program\wxWidgets\include\wx\string.h||In function 'int Stricmp(const char*, const char*)':|
D:\Program\wxWidgets\include\wx\string.h|141|error: 'strcasecmp' was not declared in this scope|
D:\Program\wxWidgets\include\wx\list.h||In constructor 'wxListKey::wxListKey(const wxChar*)':|
D:\Program\wxWidgets\include\wx\list.h|406|error: '_wcsdup' was not declared in this scope|
D:\Program\wxWidgets\include\wx\list.h||In constructor 'wxListKey::wxListKey(const wxString&)':|
D:\Program\wxWidgets\include\wx\list.h|408|error: '_wcsdup' was not declared in this scope|
||=== Build failed: 7 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
Could somebody please tell me how to fix it?