Compiling UVNC on VS2015 community edition

Here you will find help for frequently asked questions as well as for your specific question.

Compiling UVNC on VS2015 community edition

Postby dhavalmshah » 2017-07-26 10:07

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 :)
dhavalmshah
 
Posts: 2
Joined: 2017-07-19 12:25

Re: Compiling UVNC on VS2015 community edition

Postby Rudi De Vos » 2017-07-26 20:38

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
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5485
Joined: 2004-04-23 10:21

Re: Compiling UVNC on VS2015 community edition

Postby dhavalmshah » 2017-07-31 13:29

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,
dhavalmshah
 
Posts: 2
Joined: 2017-07-19 12:25

Re: Compiling UVNC on VS2015 community edition

Postby Rudi De Vos » 2017-07-31 17:56

updated all project files in svn, easyer then to explain
you can always download the latest src from
home page ->browse source->download snapshot
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5485
Joined: 2004-04-23 10:21


Return to General help

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 8 guests