Hi,
I have a problem building the wxpdfdoc-master on Windows 10 using Visual Studio 2015. I’m using my own monolithic build of wxWidgets-3.1.0 (only x64) and have the following lib files located in C:\wxWidgets-3.1.0\lib\vc_x64_lib:
wxexpat.lib, wxexpatd.lib
wxjpeg.lib, wxjpgd.lib
wxmsw31u.lib, wxmsw31ud.lib
wxpng.lib, wxpngd.lib
wxregexu.lib, wxregexud.lib
wxscintilla.lib, wxscintillad.lib
wxtiff.lib, wxtiffd.lib
wxzlib.lib, wxzlibd.lib
I’m able to successfully build the libraries wxpdfdocd.lib (Debug x64) and wxpdfdoc.lib (Release x64), but I’m not able to build the other projects dcsample, makefont, minimal and showfont.
The error I get is LNK1104 cannot open file ‘wxbase31u.lib’ (release build), which I don’t have in my wxWidgets lib folder.
How do I setup wxpdfdoc and the sample projects to correctly use my wxWidgets libraries?
Best regards,
Myron69
wxPdfDocument linking problem Topic is solved
Re: wxPdfDocument linking problem
Code: Select all
wxbase31u.lib
Use the source, Luke!
Re: wxPdfDocument linking problem
The Visual C++ solutions files coming with wxPdfDocument currently do not support the monolithic build of wxWidgets. AFAIK the same is true for the Visual C++ solution files coming with wxWidgets itself.
Support for the monolithic wxWidgets build is included for gcc and GNU make only.
As doublemax proposed you could adjust the build files to reference just the one monolithic wxWidgets library file.
Regards,
Ulrich
Support for the monolithic wxWidgets build is included for gcc and GNU make only.
As doublemax proposed you could adjust the build files to reference just the one monolithic wxWidgets library file.
Regards,
Ulrich