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 source code in Visual Studio 2017

Developers may discuss here
Post Reply
Drondinpa
Posts: 3
Joined: 2022-03-15 07:56

Compiling source code in Visual Studio 2017

Post by Drondinpa »

Hello,can you please help compile the source code,in readme.md written by visual studio 2017 or 2019 + nasm. And how to embed nasm in visual studio, unfortunately, I did not find a normal manual. I would be very grateful for a hint.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6831
Joined: 2004-04-23 10:21
Contact:

Re: Compiling source code in Visual Studio 2017

Post by Rudi De Vos »

Please check
https://www.stefanobordoni.cloud/howto- ... th-vs2019/

In the custom build of the asm files you find
nasm -fwin32 -DWIN32 -DMSVC -Iwin/ -Isimd/nasm/ -Isimd/i386/ -o "$(OutDir)%(Filename).obj" "simd/i386/%(Filename)%(Extension)"
VS just need to know where it's installed, that's all.


We use VS2019 to compile UltraVNC.

Open winvncVS2017.sln ( name is still 2017 but was updated to 2019) and build.
No special settings are needed
Drondinpa
Posts: 3
Joined: 2022-03-15 07:56

Re: Compiling source code in Visual Studio 2017

Post by Drondinpa »

Thank you very much, as soon as I check I will unsubscribe
Drondinpa
Posts: 3
Joined: 2022-03-15 07:56

Re: Compiling source code in Visual Studio 2017

Post by Drondinpa »

Hello, I managed to register nasm and the compilation went, although there were problems with the SDK, but I kind of decided. There is only one thing, but after compilation in release_viewer, such an error comes out (picture 1). And when compiling the debag (picture 2). Can you tell me where the problem might be?Just not there, not there, the application does not start.

picture 1: https://ibb.co/gjBGJLq
picture 2: https://ibb.co/G9rVzYX
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6831
Joined: 2004-04-23 10:21
Contact:

Re: Compiling source code in Visual Studio 2017

Post by Rudi De Vos »

You try to run a lib, a lib should only be compiled.

If you set as default project winvnc or vncviewer , it build all libs for you and run the exe.
Post Reply