wxWidgets LNK1104 error when linking Statically
Hello everyone, I am trying to link wxWidgets 3.2.2.1 to my project. it works with no problem when I build it with MDd/MD (shared library) and link against vc_lib directory . In this project though, I need it to use Mtd/Mt (Static library) but i keep getting this error:
Error LNK1104 cannot open file 'wxbase31u.lib' PDFiumWxWidget D:....\LINK 11
The library is built by myself as a static version using MSv 2019 by selecting all the Projects in the wx_vc17.sln and changing the setting in Code generation to Mtd for debug Mode and Mt for release Mode. Then I Batch built all.
I already have the generated vc_lib directory as a search directory for the linker. Also tried adding all generated .lib files as input, that didn't help either.
Project setting are as follow: on windows 10 , MVS 2019, x86 project, Release, Use Mt ,Use c++ 17 .
Searching the Wxwidgets library i can't find a file called 'wxbase31u.lib' at all.
I'd really appreciate if someone could point to some hints Thanks in advance.