main.o(.text+0xd4f):main.cpp: undefined reference to `wxLogError(wchar_t const*, ...)' main.o(.text$_ZN8wxStringC1EPKwj+0x1b):main.cpp: undefined reference to `wxString::InitWith(wchar_t const*, unsigned, unsigned)' could someone tell me why I get these errors and which library I should import. Thanks very much!