Search found 4 matches

by firescript
Fri Dec 06, 2019 6:47 am
Forum: Compiler / Linking / IDE Related
Topic: LNK2019 wxString::SubstrBufFromType
Replies: 8
Views: 245

Re: LNK2019 wxString::SubstrBufFromType

Hi, User code should be compiled with exactly the same set of option s as the library. Thank you. Can you list some settings? Because I am in another environment, not pure VS, and I am not familiar with some default settings of that environment. If you can list some settings that need attention, I ...
by firescript
Fri Dec 06, 2019 6:44 am
Forum: Compiler / Linking / IDE Related
Topic: LNK2019 wxString::SubstrBufFromType
Replies: 8
Views: 245

Re: LNK2019 wxString::SubstrBufFromType

I don't get any error when compiling your code. But try removing the "#define wxDEBUG_LEVEL 0" line. This can only be changed when compiling the wxWidgets libraries, you can't override this in user code. If that doesn't work, make sure that your code is compiled with the same configuration that was...
by firescript
Mon Dec 02, 2019 2:56 am
Forum: Compiler / Linking / IDE Related
Topic: LNK2019 wxString::SubstrBufFromType
Replies: 8
Views: 245

LNK2019 wxString::SubstrBufFromType

Hello : I get the following error when compiling the simple example: error LNK2019: unresolved external symbol "private: static struct wxString::SubstrBufFromType<class wxScopedCharTypeBuffer<unsigned short> > __cdecl wxString::ConvertStr(char const *,unsigned __int64,class wxMBConv const &)" (?Conv...
by firescript
Fri Nov 29, 2019 2:01 am
Forum: wxWidgets Development (Chinese)
Topic: LNK2019 wxString::SubstrBufFromType
Replies: 0
Views: 157

LNK2019 wxString::SubstrBufFromType

各位好: 在编译简单例子时出现如下错误: error LNK2019: unresolved external symbol "private: static struct wxString::SubstrBufFromType<class wxScopedCharTypeBuffer<unsigned short> > __cdecl wxString::ConvertStr(char const *,unsigned __int64,class wxMBConv const &)" ([email protected]@@[email protected]?$wxS...