Linker Error using wxString with C++ Builder

Gary gapjunk at gmail.com
Sun Apr 13 09:04:46 PDT 2008



I'm using Borlands C++ Builder 5 and want to include the wxString
class.  I have the following code:

#include <wx/string.h>
wxString Test="Test";

and I get the following linker Errors

[Linker Error] Unresolved external 'wxStringBase::npos' referenced
from START.OBJ
[Linker Error] Unresolved external 'wxStringBase::InitWith(const char
*, unsigned int, unsigned int)' referenced from START.OBJ

I've been able to run the minimal example so the correct libraries
should be on my computer.

Any help will be GREAT!!!

     -Gary


More information about the wx-users mailing list