cannot open file wxmsw30ud_html.lib

General information about Neurotechnology and its software

cannot open file wxmsw30ud_html.lib

Postby bryanecca » Oct 05, 2017 02:00

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:
bryanecca
 
Posts: 1
Joined: Sep 29, 2017 04:32

Re: cannot open file wxmsw30ud_html.lib

Postby MartynasV » Oct 05, 2017 10:35

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.
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 409
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: cannot open file wxmsw30ud_html.lib

Postby Tim » Mar 26, 2018 12:22

Hello!

I"m trying to use FingerSampleWX but debugging und compiling gives me the following error (I think according to the problem in this thread):

1>c:wxwidgets-3.0.4includemsvcwxsetup.h(121): fatal error C1083: File (Include) can not be opened: "../../../lib/vc_lib/mswud/wx/setup.h": No such file or directory

And yes, this file does not exist.

I followed your steps in the developer"s guide according the wxWidgets Compilation.

I"m using Visual Studio Enterprise 2017, on a 64-bit Windows 7.

Could you please help?`

Thanks and nice greetings from Germany,
Tim.
Tim
 
Posts: 3
Joined: Mar 26, 2018 12:15

Re: cannot open file wxmsw30ud_html.lib

Postby MartynasV » Mar 27, 2018 10:57

Tim wrote:Hello!

I"m trying to use FingerSampleWX but debugging und compiling gives me the following error (I think according to the problem in this thread):

1>c:wxwidgets-3.0.4includemsvcwxsetup.h(121): fatal error C1083: File (Include) can not be opened: "../../../lib/vc_lib/mswud/wx/setup.h": No such file or directory

And yes, this file does not exist.

I followed your steps in the developer"s guide according the wxWidgets Compilation.

I"m using Visual Studio Enterprise 2017, on a 64-bit Windows 7.

Could you please help?`

Thanks and nice greetings from Germany,
Tim.

Hello Tim,

Make sure that you have followed all the steps mentioned in "7.5 wxWidgets Compilation"(in our documentation).
Try including also "*\wxWidgets-3.0.2\include\msvc" directory in your project.
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 409
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: cannot open file wxmsw30ud_html.lib

Postby Tim » Mar 27, 2018 18:16

MartynasV wrote:Hello Tim,

Make sure that you have followed all the steps mentioned in "7.5 wxWidgets Compilation"(in our documentation).
Try including also "*\wxWidgets-3.0.2\include\msvc" directory in your project.


Hi MartynasV,

following all steps and including the msvc-directory now gives me another error according the wxmsw30ud_html.lib:

1>------ Erstellen gestartet: Projekt: FingersSampleWX, Konfiguration: Debug Win32 ------
1>Precompiled.cpp
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\core\ndatetime.hpp(393): warning C4458: Deklaration von "value" blendet Klassenmember aus
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\core\ndatetime.hpp(26): note: Siehe Deklaration von "Neurotec::NDateTime::value"
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\gui\wxpluginmanagerdlg.hpp(493): warning C4458: Deklaration von "plugins" blendet Klassenmember aus
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\gui\wxpluginmanagerdlg.hpp(344): note: Siehe Deklaration von "Neurotec::Gui::wxPluginManagerDlg::plugins"
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\gui\wxpluginmanagerdlg.hpp(746): warning C4458: Deklaration von "plugins" blendet Klassenmember aus
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\gui\wxpluginmanagerdlg.hpp(344): note: Siehe Deklaration von "Neurotec::Gui::wxPluginManagerDlg::plugins"
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\biometrics\gui\wxnfrictionridgeview.hpp(1003): warning C4457: Deklaration von "event" blendet Funktionsparameter aus
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\biometrics\gui\wxnfrictionridgeview.hpp(922): note: Siehe Deklaration von "event"
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\biometrics\gui\wxnfaceview.hpp(993): warning C4456: Deklaration von "blink" blendet vorherige lokale Deklaration aus
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\biometrics\gui\wxnfaceview.hpp(912): note: Siehe Deklaration von "blink"
1>wxSampleConfig.cpp
1>SampleCommon.cpp
1>Code wird generiert...
1>OptionsDlg.cpp
1>FingersSampleForm.cpp
1>FingersSample.cpp
1>EnrollDlg.cpp
1>Code wird generiert...
1>LINK : fatal error LNK1104: Datei "wxmsw30ud_html.lib" kann nicht geöffnet werden.
1>Die Erstellung des Projekts "FingersSampleWX.vcxproj" ist abgeschlossen -- FEHLER.


I followed these steps in the documentation:

wxWidgets compilation using Visual Studio
To compile wxWidgets as a static library do the following steps (Microsoft Visual Studio is required):
1. Open Visual Studio command prompt.
2. Select all projects and change C/C++/Code Generation/Runtime library to Multi Threaded DLL (/MD).
3. Go to C:\wxWidgets-3.0.2\build\msw (in case wxWidgets are located in C disk).
4. nmake /A /f makefile.vc UNICODE=1 RUNTIME_LIBS=static DEBUG_INFO=0 CPPFLAGS=/MDd
BUILD=debug
5. nmake /A /f makefile.vc UNICODE=1 RUNTIME_LIBS=static DEBUG_INFO=0 CPPFLAGS=/MD
BUILD=release


Could you please help me further?

Thanks for your help,
Tim.
Tim
 
Posts: 3
Joined: Mar 26, 2018 12:15

Re: cannot open file wxmsw30ud_html.lib

Postby MartynasV » Mar 28, 2018 09:57

Tim wrote:
MartynasV wrote:Hello Tim,

Make sure that you have followed all the steps mentioned in "7.5 wxWidgets Compilation"(in our documentation).
Try including also "*\wxWidgets-3.0.2\include\msvc" directory in your project.


Hi MartynasV,

following all steps and including the msvc-directory now gives me another error according the wxmsw30ud_html.lib:

1>------ Erstellen gestartet: Projekt: FingersSampleWX, Konfiguration: Debug Win32 ------
1>Precompiled.cpp
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\core\ndatetime.hpp(393): warning C4458: Deklaration von "value" blendet Klassenmember aus
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\core\ndatetime.hpp(26): note: Siehe Deklaration von "Neurotec::NDateTime::value"
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\gui\wxpluginmanagerdlg.hpp(493): warning C4458: Deklaration von "plugins" blendet Klassenmember aus
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\gui\wxpluginmanagerdlg.hpp(344): note: Siehe Deklaration von "Neurotec::Gui::wxPluginManagerDlg::plugins"
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\gui\wxpluginmanagerdlg.hpp(746): warning C4458: Deklaration von "plugins" blendet Klassenmember aus
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\gui\wxpluginmanagerdlg.hpp(344): note: Siehe Deklaration von "Neurotec::Gui::wxPluginManagerDlg::plugins"
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\biometrics\gui\wxnfrictionridgeview.hpp(1003): warning C4457: Deklaration von "event" blendet Funktionsparameter aus
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\biometrics\gui\wxnfrictionridgeview.hpp(922): note: Siehe Deklaration von "event"
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\biometrics\gui\wxnfaceview.hpp(993): warning C4456: Deklaration von "blink" blendet vorherige lokale Deklaration aus
1>c:\program files (x86)\neurotechnology\neurotec biometric 10.0 sdk trial\include\biometrics\gui\wxnfaceview.hpp(912): note: Siehe Deklaration von "blink"
1>wxSampleConfig.cpp
1>SampleCommon.cpp
1>Code wird generiert...
1>OptionsDlg.cpp
1>FingersSampleForm.cpp
1>FingersSample.cpp
1>EnrollDlg.cpp
1>Code wird generiert...
1>LINK : fatal error LNK1104: Datei "wxmsw30ud_html.lib" kann nicht geöffnet werden.
1>Die Erstellung des Projekts "FingersSampleWX.vcxproj" ist abgeschlossen -- FEHLER.


I followed these steps in the documentation:

wxWidgets compilation using Visual Studio
To compile wxWidgets as a static library do the following steps (Microsoft Visual Studio is required):
1. Open Visual Studio command prompt.
2. Select all projects and change C/C++/Code Generation/Runtime library to Multi Threaded DLL (/MD).
3. Go to C:\wxWidgets-3.0.2\build\msw (in case wxWidgets are located in C disk).
4. nmake /A /f makefile.vc UNICODE=1 RUNTIME_LIBS=static DEBUG_INFO=0 CPPFLAGS=/MDd
BUILD=debug
5. nmake /A /f makefile.vc UNICODE=1 RUNTIME_LIBS=static DEBUG_INFO=0 CPPFLAGS=/MD
BUILD=release


Could you please help me further?

Thanks for your help,
Tim.

Hello,

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.
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 409
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: cannot open file wxmsw30ud_html.lib

Postby Tim » Mar 29, 2018 08:24

MartynasV wrote:Hello,

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.


Hey,

checked this - this is not the problem. The lib\vc_x64_lib-folder exists and in it the 'wxmsw30ud_html.lib'. The Linker are correct, because I use the wxWidgets 3.0.4. Perhaps the mistake is somewhere earlier...

I write a short list what I've done:

First Try: 32-bit version
1. System: Windows 7 Professional Service Pack 1 64-bit
2. Installing Microsoft Visual Studio Enterprise 2017, downladed and installed your Biometric SDKs trials, downloaded the Windows ZIP of wxWidgets (Latest Stable Release: 3.0.4) and unpacked it to C:\.
3. Opened the FingersSampleWX Visual Studio Solution as Administrator.
4. Selected the FingersSampleWX Project and changed C/C++/Code Generation/Runtime library to Multi Threaded DLL (/MD).
5. Opened Visual Studio 2017 command prompt.
6. Went to C:\wxWidgets-3.0.4\build\msw.
7. Done nmake /A /f makefile.vc UNICODE=1 RUNTIME_LIBS=static DEBUG_INFO=0 CPPFLAGS=/MDd BUILD=debug.
8. Done nmake /A /f makefile.vc UNICODE=1 RUNTIME_LIBS=static DEBUG_INFO=0 CPPFLAGS=/MD BUILD=release.
9. Setup the include and library paths: C:\wxWidgets-3.0.4\include, C:\wxWidgets-3.0.4\include\msvc, C:\wxWidgets-3.0.4\lib\vc_lib

Result: error “LNK1104: cannot open file 'wxmsw30ud_html.lib'” (the file is there wxmsw30ud_html.lib 5,224MB large in C:\wxWidgets-3.0.4\lib\vc_lib)

Second Try: 64-bit version
1. System: Windows 7 Professional Service Pack 1 64-bit
2. Installing Microsoft Visual Studio Enterprise 2017, downladed and installed your Biometric SDKs trials, downloaded the Windows ZIP of wxWidgets (Latest Stable Release: 3.0.4) and unpacked it to C:\.
3. Opened the FingersSampleWX Visual Studio Solution as Administrator.
4. Opened Visual Studio 2017 command prompt.
5. Went to C:\wxWidgets-3.0.4\build\msw.
6. Done nmake /A /f makefile.vc UNICODE=1 TARGET_CPU=x64 RUNTIME_LIBS=static DEBUG_INFO=0 CPPFLAGS=/MDd BUILD=debug.
7. Done nmake /A /f makefile.vc UNICODE=1 TARGET_CPU=x64 RUNTIME_LIBS=static DEBUG_INFO=0 CPPFLAGS=/MD BUILD=release.
8. Setup the include and library paths: C:\wxWidgets-3.0.4\include, C:\wxWidgets-3.0.4\include\msvc, C:\wxWidgets-3.0.4\lib\vc_x64_lib\

Result: error “LNK1104: cannot open file 'wxmsw30ud_html.lib'” (the file is there wxmsw30ud_html.lib 5,225MB large in C:\wxWidgets-3.0.4\lib\vc_x64_lib)

Do you have any more idea where my problem is? I would realy use and buy the SDK for our company, but there must be the possibility for me to the change the sample-code and let it work.

Nice Greetings from Germany and (once more) thanks for your help!
Tim
Tim
 
Posts: 3
Joined: Mar 26, 2018 12:15

Re: cannot open file wxmsw30ud_html.lib

Postby MartynasV » Mar 30, 2018 09:10

Tim wrote:
MartynasV wrote:Hello,

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.


Hey,

checked this - this is not the problem. The lib\vc_x64_lib-folder exists and in it the 'wxmsw30ud_html.lib'. The Linker are correct, because I use the wxWidgets 3.0.4. Perhaps the mistake is somewhere earlier...

I write a short list what I've done:

First Try: 32-bit version
1. System: Windows 7 Professional Service Pack 1 64-bit
2. Installing Microsoft Visual Studio Enterprise 2017, downladed and installed your Biometric SDKs trials, downloaded the Windows ZIP of wxWidgets (Latest Stable Release: 3.0.4) and unpacked it to C:\.
3. Opened the FingersSampleWX Visual Studio Solution as Administrator.
4. Selected the FingersSampleWX Project and changed C/C++/Code Generation/Runtime library to Multi Threaded DLL (/MD).
5. Opened Visual Studio 2017 command prompt.
6. Went to C:\wxWidgets-3.0.4\build\msw.
7. Done nmake /A /f makefile.vc UNICODE=1 RUNTIME_LIBS=static DEBUG_INFO=0 CPPFLAGS=/MDd BUILD=debug.
8. Done nmake /A /f makefile.vc UNICODE=1 RUNTIME_LIBS=static DEBUG_INFO=0 CPPFLAGS=/MD BUILD=release.
9. Setup the include and library paths: C:\wxWidgets-3.0.4\include, C:\wxWidgets-3.0.4\include\msvc, C:\wxWidgets-3.0.4\lib\vc_lib

Result: error “LNK1104: cannot open file 'wxmsw30ud_html.lib'” (the file is there wxmsw30ud_html.lib 5,224MB large in C:\wxWidgets-3.0.4\lib\vc_lib)

Second Try: 64-bit version
1. System: Windows 7 Professional Service Pack 1 64-bit
2. Installing Microsoft Visual Studio Enterprise 2017, downladed and installed your Biometric SDKs trials, downloaded the Windows ZIP of wxWidgets (Latest Stable Release: 3.0.4) and unpacked it to C:\.
3. Opened the FingersSampleWX Visual Studio Solution as Administrator.
4. Opened Visual Studio 2017 command prompt.
5. Went to C:\wxWidgets-3.0.4\build\msw.
6. Done nmake /A /f makefile.vc UNICODE=1 TARGET_CPU=x64 RUNTIME_LIBS=static DEBUG_INFO=0 CPPFLAGS=/MDd BUILD=debug.
7. Done nmake /A /f makefile.vc UNICODE=1 TARGET_CPU=x64 RUNTIME_LIBS=static DEBUG_INFO=0 CPPFLAGS=/MD BUILD=release.
8. Setup the include and library paths: C:\wxWidgets-3.0.4\include, C:\wxWidgets-3.0.4\include\msvc, C:\wxWidgets-3.0.4\lib\vc_x64_lib\

Result: error “LNK1104: cannot open file 'wxmsw30ud_html.lib'” (the file is there wxmsw30ud_html.lib 5,225MB large in C:\wxWidgets-3.0.4\lib\vc_x64_lib)

Do you have any more idea where my problem is? I would realy use and buy the SDK for our company, but there must be the possibility for me to the change the sample-code and let it work.

Nice Greetings from Germany and (once more) thanks for your help!
Tim

Hello Tim,

Send issue description to support@neurotechnology.com .
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 409
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: cannot open file wxmsw30ud_html.lib

Postby MartynasV » Apr 03, 2018 10:00

“LNK1104: cannot open file 'wxmsw30ud_html.lib'”
The problem was:
Path pointing to .lib files directory(“wxwidgets\lib\vc_lib”) was specified in Project’s Properties window > VC++ Directories > in "Include Directories" field, while it has to be specified in “Library Directories” field. Specifying path in right place fixed the problem.

Other note:
In “C/C++” > “Code generation” > “Runtime Library” field don't change default value in our projects(it should be "/MDd"). More about these settings please read in wxwidgets documentation https://wiki.wxwidgets.org/Microsoft_Vi ... B%2B_Guide.
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 409
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania


Return to Public

Who is online

Users browsing this forum: No registered users and 3 guests