Hi All,
When ever i try to compile my wxWidgets project using code::blocks, following error message accord.
in which file "_wcsdup" defined.
-------------- Build: Win32 DLL Universal Unicode Release in wx_base ---------------
Compiling: ..\..\src\common\appbase.cpp
In file included from ../../include/wx/string.h:55,
from ../../include/wx/memory.h:16,
from ../../include/wx/object.h:20,
from ../../include/wx/list.h:33,
from C:\wxWidgets-2.8.0\src\common\appbase.cpp:31:
../../include/wx/buffer.h: In constructor `wxWCharBuffer::wxWCharBuffer(const wchar_t*)':
../../include/wx/buffer.h:129: error: `_wcsdup' undeclared (first use this function)
../../include/wx/buffer.h:129: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../include/wx/buffer.h: In member function `wxWCharBuffer& wxWCharBuffer::operator=(const wchar_t*)':
../../include/wx/buffer.h:129: error: `_wcsdup' undeclared (first use this function)
In file included from C:\wxWidgets-2.8.0\src\common\appbase.cpp:31:
../../include/wx/list.h: In constructor `wxListKey::wxListKey(const wxChar*)':
../../include/wx/list.h:401: error: `_wcsdup' undeclared (first use this function)
../../include/wx/list.h: In constructor `wxListKey::wxListKey(const wxString&)':
../../include/wx/list.h:403: error: `_wcsdup' undeclared (first use this function)
Process terminated with status 1 (0 minutes, 4 seconds)
5 errors, 0 warnings
Regards
Abhinav