I tried to compile release 1268 of Ultravnc viewer, with vs2017. (using vncviewer_vs2017.sln)
VNC viewer was set as startup project and Target CPU was set to x64.
The build ends with one error: Error LNK1104 cannot open file 'liblzma.lib'
liblzma.lib exists in "..\Debug\x64\liblzma\liblzma.lib" It seems that it is compiled well as an x64 library.
For some reasons the linker cannot open this file. Di you have any Idea about the cause and how to solve it?
Thanks for your support.
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Compile error Cannot open file liblzma.lib
- Rudi De Vos
- Admin & Developer
- Posts: 6863
- Joined: 2004-04-23 10:21
- Contact:
Re: Compile error Cannot open file liblzma.lib
I had also the same issue, looks like the dependecy is broken.
Fats dirty solution
Add ..\Debug\x64\liblzma\liblzma.lib to the lib path ( linker option)
Needed to to the same, seems that the depency has some bug
Fats dirty solution
Add ..\Debug\x64\liblzma\liblzma.lib to the lib path ( linker option)
Needed to to the same, seems that the depency has some bug
Re: Compile error Cannot open file liblzma.lib
Thanks for your reply. I didn't work for me. Looks like the libraries liblzma.lib and omnithread.lib are not found in the linker paths (Project ->Properties Then in the left pane ->Linker->General and in the right pane: Additional Library Directories
But i just copied the x64 versions of liblzma.lib and omnithread.lib to the vncviewer directory and the built the vncviewer option
And the build worked.
Thanks for showing me the right direction.
But i just copied the x64 versions of liblzma.lib and omnithread.lib to the vncviewer directory and the built the vncviewer option
And the build worked.
Thanks for showing me the right direction.