I am using ultra vnc for my personal purpose from long time.
I am trying to build the urltravnc code to understand it and if possible contribute to it.
I tried installing VS2012 and load the project winvncv11 or latest source code version 879.
I am not able to load some of the projects like SCHook, SecureVNCPlugin, setup and w8hook.
Also when I build it gives me :
Error 1 error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172
Error 3 error LNK1181: cannot open input file 'D:\ultravnc-code-879\UltraVNC Project Root\UltraVNC\winvnc\x64\ReleaseDll-Static\libjpeg-turbo-winv11.lib' D:\ultravnc-code-879\UltraVNC Project Root\UltraVNC\winvnc\winvnc\LINK
Also tried to build winvnc2008.sln using VS2008. This gives me
Error 1 error PRJ0019: A tool returned an error code from "nasm -fwin32 -DWIN32 -DMSVC -Iwin/ -Isimd/ -o "D:\ultravnc-code-879\UltraVNC Project Root\UltraVNC\winvnc\ReleaseLib-Static/jsimdcpu.obj" "simd/jsimdcpu.asm"" libjpeg-turbo-win
Can I know the steps of compiling the project.
Also any dependencies which I have to download.
I could not find any kind of documentation for the same. if anyone can point out some link that would be of great help.
Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
Compiling WinVNC project
- Rudi De Vos
- Admin & Developer
- Posts: 6880
- Joined: 2004-04-23 10:21
- Contact:
Re: Compiling WinVNC project
1 installed VS2012 on a blank win7 32 system
2 Installed DIrectx SDK
3 Installed nasm in VS application Path
4 downloaded UVNC Source ultravnc-code-879 from sourceforge
5 select winvncv12.sln or vncviewer_vs2013.sln
5 set DirectX path in VS (lib and Include)
6 Build-Events Post-Build-Us In Build =No
7 Set default project to winvnc or vncviewer
7 Compile
SCHook, SecureVNCPlugin, setup and w8hook Are not part of winvnc or vncviewer, no need to compile.
If you select winvnc or vncviewer you also compile all dependecies
nasm: need to be downloaded http://www.nasm.us/
winvnc.sln VS2010 -> support XP
winvnc2008.sln VS2008 -> support w2K
winvncv11.sln not used
winvncv12.sln VS2013 -> Vista >=
winvncvs2005.sln not used
2 Installed DIrectx SDK
3 Installed nasm in VS application Path
4 downloaded UVNC Source ultravnc-code-879 from sourceforge
5 select winvncv12.sln or vncviewer_vs2013.sln
5 set DirectX path in VS (lib and Include)
6 Build-Events Post-Build-Us In Build =No
7 Set default project to winvnc or vncviewer
7 Compile
SCHook, SecureVNCPlugin, setup and w8hook Are not part of winvnc or vncviewer, no need to compile.
If you select winvnc or vncviewer you also compile all dependecies
nasm: need to be downloaded http://www.nasm.us/
winvnc.sln VS2010 -> support XP
winvnc2008.sln VS2008 -> support w2K
winvncv11.sln not used
winvncv12.sln VS2013 -> Vista >=
winvncvs2005.sln not used
Re: Compiling WinVNC project
Thanks Rudi for your quick response.
But from your mapping below I cannot use VS 2012 to successfully build any project. I need VS2013 to build winvnc12.sln. Is that correct ?
winvnc.sln VS2010 -> support XP
winvnc2008.sln VS2008 -> support w2K
winvncv11.sln not used
winvncv12.sln VS2013 -> Vista >=
winvncvs2005.sln not used
I am getting the following error when I build winvncv12.sln with VS2012 :
Error 1 error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v120 to build using the v120 build tools. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets.
The above error also confirms that mapping. But I would like to know how you could build with VS2012. I do not have VS2013 license right now.
To explain all my steps for confirmation :
installed VS2012 on a blank win7 32 system (Done)
Installed DIrectx SDK (Installed Microsoft DirectX SDK (June 2010))
Installed nasm in VS application Path ( I understood as adding the nasm.exe file path to path env variable or copying nasm.exe file to location where devenv.exe of VS2012 is present)
downloaded UVNC Source ultravnc-code-879 from sourceforge(Done)
select winvncv12.sln or vncviewer_vs2013.sln (selected winvncv12.sln)
set DirectX path in VS (lib and Include) ( I have opened project properties of winvnc project under winvncv12.sln and added include and lib paths of Microsoft DirectX SDK (June 2010) to VC++ Directories)
Build-Events Post-Build-Us In Build =No (Done)
Please correct me if something is wrong. Also suggest me how I can build winvncv12.sln using VS 2012. Or should I install VS 2013 ?
But from your mapping below I cannot use VS 2012 to successfully build any project. I need VS2013 to build winvnc12.sln. Is that correct ?
winvnc.sln VS2010 -> support XP
winvnc2008.sln VS2008 -> support w2K
winvncv11.sln not used
winvncv12.sln VS2013 -> Vista >=
winvncvs2005.sln not used
I am getting the following error when I build winvncv12.sln with VS2012 :
Error 1 error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v120 to build using the v120 build tools. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets.
The above error also confirms that mapping. But I would like to know how you could build with VS2012. I do not have VS2013 license right now.
To explain all my steps for confirmation :
installed VS2012 on a blank win7 32 system (Done)
Installed DIrectx SDK (Installed Microsoft DirectX SDK (June 2010))
Installed nasm in VS application Path ( I understood as adding the nasm.exe file path to path env variable or copying nasm.exe file to location where devenv.exe of VS2012 is present)
downloaded UVNC Source ultravnc-code-879 from sourceforge(Done)
select winvncv12.sln or vncviewer_vs2013.sln (selected winvncv12.sln)
set DirectX path in VS (lib and Include) ( I have opened project properties of winvnc project under winvncv12.sln and added include and lib paths of Microsoft DirectX SDK (June 2010) to VC++ Directories)
Build-Events Post-Build-Us In Build =No (Done)
Please correct me if something is wrong. Also suggest me how I can build winvncv12.sln using VS 2012. Or should I install VS 2013 ?
Cheers
Sudhir
Sudhir
Re: Compiling WinVNC project
I could resolve the error by setting all the project properties to use V110 tool set in release mode and then got the following errors
Error 6 error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172
Error 7 error : No certificates were found that met all the given criteria. C:\Users\Admin\Downloads\ultravnc-code-881\UltraVNC Project Root\UltraVNC\winvnc\vnchooks\EXEC
Error 8 error MSB3073: The command "signtool.exe sign /a /n "uvnc bvba" /v /t http://timestamp.verisign.com/scripts/timstamp.dll "C:\Users\Admin\Downloads\ultravnc-code-881\UltraVNC Project Root\UltraVNC\winvnc\Release\vnchooks.dll"
:VCEnd" exited with code 1. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 134
In Debug mode I got the following erros:
Error 6 error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172
In my earlier post I have mentioned all my steps. Please correct me if I am missing something. Also I am using ultravnc-code-881 source code.
Error 6 error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172
Error 7 error : No certificates were found that met all the given criteria. C:\Users\Admin\Downloads\ultravnc-code-881\UltraVNC Project Root\UltraVNC\winvnc\vnchooks\EXEC
Error 8 error MSB3073: The command "signtool.exe sign /a /n "uvnc bvba" /v /t http://timestamp.verisign.com/scripts/timstamp.dll "C:\Users\Admin\Downloads\ultravnc-code-881\UltraVNC Project Root\UltraVNC\winvnc\Release\vnchooks.dll"
:VCEnd" exited with code 1. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 134
In Debug mode I got the following erros:
Error 6 error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172
In my earlier post I have mentioned all my steps. Please correct me if I am missing something. Also I am using ultravnc-code-881 source code.
Cheers
Sudhir
Sudhir
Re: Compiling WinVNC project
I could build the winvnc project now on another machine Windows 7 64 bit with same steps.
But this is without DirectX SDK installed. I am not sure what is replacing it.
I would love to know what is replacing DirectX SDK for winvnc project.
Thanks again for your help Rudi.
But this is without DirectX SDK installed. I am not sure what is replacing it.
I would love to know what is replacing DirectX SDK for winvnc project.
Thanks again for your help Rudi.
Cheers
Sudhir
Sudhir
- Rudi De Vos
- Admin & Developer
- Posts: 6880
- Joined: 2004-04-23 10:21
- Contact:
Re: Compiling WinVNC project
Directx sdk -> only needed for viewer