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.
-
- Knows some wx things
- Posts: 29
- Joined: Thu Feb 22, 2018 10:37 am
Linking error when integrating wxwidget3.1.4 to my c++ project.
You do not have the required permissions to view the files attached to this post.
-
- Moderator
- Posts: 19163
- Joined: Fri Apr 21, 2006 8:03 pm
- Location: $FCE2
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!
-
- Knows some wx things
- Posts: 29
- Joined: Thu Feb 22, 2018 10:37 am
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
-
- Moderator
- Posts: 19163
- Joined: Fri Apr 21, 2006 8:03 pm
- Location: $FCE2
Re: Linking error when integrating wxwidget3.1.4 to my c++ project.
Use the source, Luke!
-
- Part Of The Furniture
- Posts: 4204
- Joined: Sun Jan 03, 2010 5:45 pm
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).
-
- Knows some wx things
- Posts: 29
- Joined: Thu Feb 22, 2018 10:37 am
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