Page 1 of 1

cannot open file wxmsw30ud_html.lib

PostPosted: Oct 05, 2017 02:00
by bryanecca
Hello, I am trying to compile the project "SimpleFingersSampleWX" in visual studio 2013, execute the commands and import the wxwidgets libraries, but I get a "can not open file wxmsw30ud_html.lib" error. Please help. :cry:

Re: cannot open file wxmsw30ud_html.lib

PostPosted: Oct 05, 2017 10:35
by MartynasV
Hello bryanecca,

The error “LNK1104: cannot open file 'wxmsw30ud_html.lib'” could be thrown in several cases.
First is when this file does not exist. Open your wxWidgets installation path “lib\vc_x64_lib” folder and check if it exists. If not, then there could be something wrong wxWidgets installation and you need to recompile it.
Second case is if the different version of the wxWidgets is used (our samples uses by default 3.0.x version). Then you need go to Project Property->Configuration Properties->Linker->Input->Additional Dependencies and change wxmsw30u_html.lib;wxmsw30u_richtext.lib;wxmsw30u_core.lib;wxbase30u.lib names with the correct value of your wxWidgets version, i.e. wxWidgets 3.1 files should be wxmsw31u_html.lib.