After more 2 000 000 (two million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome

2025-12-05: Celebrating the 23th anniversary of the UltraVNC (26th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38130

2025-12-03: Could you please complete our poll/survey? Renaming UltraVNC files and service to be more clear: https://forum.uvnc.com/viewtopic.php?t=38128
There was a problem to vote, it is solved now! Thanks in advance!

2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page

2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome

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

Building w/ Visual Studio 2010

Post Reply
thelists
Posts: 2
Joined: 2010-06-04 19:06

Building w/ Visual Studio 2010

Post by thelists »

I've downloaded the 1.0.8.2 source and am trying to compile it under VS2010. Has anyone done this successfully yet? To be honest, most of my development is on on the Linux side, using eclipse, so I may be doing something incorrectly.

I open the winvnc project in VS2010, set it to debug or release and have it build. Many of the components compile successfully, but a few fail, such as "logmessages":

Code: Select all

1>  Touching ".\..\..\Release\logmessages.unsuccessfulbuild".
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Users\xx\Documents\Visual Studio 2010\Projects\UltraVNCtest2\winvnc\logger\.\..\..\Release\logmessages.dll) does not match the Linker's OutputFile property value (C:\Users\xx\Documents\Visual Studio 2010\Projects\UltraVNCtest2\winvnc\logger\messages.mc). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(991,5): warning MSB8012: TargetExt(.dll) does not match the Linker's OutputFile property value (.mc). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(logmessages) does not match the Linker's OutputFile property value (messages). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>LINK : fatal error LNK1181: cannot open input file 'messages.res'
Also, ipp_zlib failed to convert, with VS2010 complaining that ipp_zlib.vcproj was unable to be found.

Any quick suggestions? Did I miss something in other forum posts?
thelists
Posts: 2
Joined: 2010-06-04 19:06

Re: Building w/ Visual Studio 2010

Post by thelists »

Also, just tried with SVN code. Complains about 'Flasher.cpp' being not found and fails for vncviewer. Haven't tried yet for winvnc SVN.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6978
Joined: 2004-04-23 10:21
Contact:

Re: Building w/ Visual Studio 2010

Post by Rudi De Vos »

remove it from the project
This file isn't used
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/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
- uvnc2me: https://uvnc2me.com/
teacherwilli
8
8
Posts: 26
Joined: 2005-11-22 07:18

Re: Building w/ Visual Studio 2010

Post by teacherwilli »

Hey,

I even have a problem with building a winvnc release with vs 2008 or 2010:
I got no error after building, but if I start the winvnc.exe an error occures with the message: "Diese Anwendung konnte nicht gestartet werden, weil die Anwendungskonfiguration nicht korrekt ist."
("EXe couldn´t be started because the configuration of the application isn´t correct.")
I even installed the microsoft vs redistributable package.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6978
Joined: 2004-04-23 10:21
Contact:

Re: Building w/ Visual Studio 2010

Post by Rudi De Vos »

Remove the manifest file from the resources or make sure the embedded manifest is the same as the processor..

In VS2010 we don't need the manifest file, all can be set via VS
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/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
- uvnc2me: https://uvnc2me.com/
teacherwilli
8
8
Posts: 26
Joined: 2005-11-22 07:18

Re: Building w/ Visual Studio 2010

Post by teacherwilli »

Thank you!
Is there a projectfile (winvnc.sln ?), a file that contains all settings, for VS 2010 available?
Post Reply