Hi,
I have built wxwidget in vs2019 and created static libraries, when i am integrating wxwidget 3.1.4 libraries statically with my C++ project , i am getting following linking errors . could you please help me in resolving these errors.:
1>wxbase314u.lib(regex.obj) : error LNK2001: unresolved external symbol wx_re_comp
1>wxbase314u.lib(regex.obj) : error LNK2001: unresolved external symbol wx_re_exec
1>wxbase314u.lib(regex.obj) : error LNK2001: unresolved external symbol wx_regfree
1>wxbase314u.lib(regex.obj) : error LNK2001: unresolved external symbol wx_regerror
Project settings are same both in wxwdget and my CPP project as show in the attachment. Please help me in resolving this.
Regards
Kunal
Linking error when integrating wxwidget3.1.4 to my c++ project.
Re: Linking error when integrating wxwidget3.1.4 to my c++ project.
Did you add wxregex[ud].lib to the project?
Use the source, Luke!
Re: Linking error when integrating wxwidget3.1.4 to my c++ project.
Hi,
No , i have not added that in my project. when we upgraded last version 3.0, or 2.8 we never used that library.
Should i add wxregex.lib?
Regards
Kunal
No , i have not added that in my project. when we upgraded last version 3.0, or 2.8 we never used that library.
Should i add wxregex.lib?
Regards
Kunal
Re: Linking error when integrating wxwidget3.1.4 to my c++ project.
The dependency of the base library on the regex library when using static wxWidgets build was introduced in 3.1.4 (and removed in 3.1.5).
Re: Linking error when integrating wxwidget3.1.4 to my c++ project.
HI,
adding wxregexu.lib in the project resolves the errors.
Thanks you helping me out.
Thank you PB for clarification .
Regards
Kunal
adding wxregexu.lib in the project resolves the errors.
Thanks you helping me out.
Thank you PB for clarification .
Regards
Kunal