Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Compiling UVNC on VS2015 community edition

Post Reply
dhavalmshah
Posts: 2
Joined: 2017-07-19 12:25

Compiling UVNC on VS2015 community edition

Post by dhavalmshah »

Hi,

Environment: Windows 10 and VS 2015 with Win SDK

I downloaded the latest code from Source Forge and tried to compile it in VS2015
I have opened the winvc15.sln in VS2015 and tried to compile it. Hit the initial issue of nasm so configured it and got past those errors
But now I am facing the following errors:

Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol _jsimd_huff_encode_one_block_sse2 referenced in function _jsimd_huff_encode_one_block winvnc D:\Dev\VC++\uvnc\winvnc\winvnc\libjpeg-turbo-win.lib(jsimd_i386.obj) 1
Error LNK2001 unresolved external symbol _jconst_huff_encode_one_block winvnc D:\Dev\VC++\uvnc\winvnc\winvnc\libjpeg-turbo-win.lib(jsimd_i386.obj) 1
Error LNK1120 2 unresolved externals winvnc D:\Dev\VC++\uvnc\winvnc\Debug\winvnc.exe 1

Can anyone please help me compile this project on my machine?
Thank you :)
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: Compiling UVNC on VS2015 community edition

Post by Rudi De Vos »

Looks like some files from upgraded (libjpeg-turbo) are not included in the build. (project files)

jchuffsse2.asm
jchuff-sse2-64.asm

don't forget to add the custom build for 32/64
copy from other asm
dhavalmshah
Posts: 2
Joined: 2017-07-19 12:25

Re: Compiling UVNC on VS2015 community edition

Post by dhavalmshah »

Rudi De Vos wrote:Looks like some files from upgraded (libjpeg-turbo) are not included in the build. (project files)

jchuffsse2.asm
jchuff-sse2-64.asm

don't forget to add the custom build for 32/64
copy from other asm
Hi Rudy,

I am compiling this first time. I am using VS2015 on Windows 10. Not having used VS since some time now, I am not confident that I understand what you said.
However, I just downloaded the fresh snapshot and again double clicked on the "winvncv15.sln" file to open it up in VS2015
As soon as I do that I get a migration report which says UltraVnc_x64 and UltraVnc_x86 and uvnc_settings projects are incompatible.

I ignored that error and am trying to build the winvnc project. My nasm is in path, and I already have directx.
I compile winvnc and hit the first error saying httpconnect.cpp is not found
I looked in the repo and saw that it is indeed missing, so I just deleted it and the .h file from the project
I again tried to compile and I get the same error as below:

Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol _jsimd_huff_encode_one_block_sse2 referenced in function _jsimd_huff_encode_one_block winvnc D:\Dev\VC++\UltraVNC\winvnc\winvnc\libjpeg-turbo-win-static.lib(jsimd_i386.obj) 1
Error LNK2001 unresolved external symbol _jconst_huff_encode_one_block winvnc D:\Dev\VC++\UltraVNC\winvnc\winvnc\libjpeg-turbo-win-static.lib(jsimd_i386.obj) 1
Error LNK1120 2 unresolved externals winvnc D:\Dev\VC++\UltraVNC\winvnc\Debug\winvnc.exe 1

I just wanted to give you the complete picture. I wanted to understand if you can be kind and let me know the step by step procedure I can follow to make this compile.
I did not understand when you said that add custom build for 32 bit/64 bit and copy from other asm

I appreciate your help and time,
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: Compiling UVNC on VS2015 community edition

Post by Rudi De Vos »

updated all project files in svn, easyer then to explain
you can always download the latest src from
home page ->browse source->download snapshot
Post Reply