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

building with visual studio 2010

Post Reply
crikush
Posts: 3
Joined: 2011-09-15 09:39

building with visual studio 2010

Post by crikush »

hello,
i trying to compile PcHelpWare_viewer_src and gui_SC_src with vs2010.
i get error messages. I read here that need to delete MANIFEST. Deleted, but still I get an error message.

Code: Select all

1>------ Build started: Project: PcHelpware_sc, Configuration: Debug Win32 ------
1>Build started 15/09/2011 12:34:04.
1>InitializeBuildStatus:
1>  Touching ".\Debug\PcHelpware_sc.unsuccessfulbuild".
1>ClCompile:
1>  All outputs are up-to-date.
1>ResourceCompile:
1>  All outputs are up-to-date.
1>ManifestResourceCompile:
1>  All outputs are up-to-date.
1>CVTRES : fatal error CVT1100: duplicate resource.  type:MANIFEST, name:1, language:0x0409
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.68
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
and in pchelpware_viewer & router give

Code: Select all

1>------ Build started: Project: router, Configuration: Debug Win32 ------
1>Build started 15/09/2011 16:47:40.
1>InitializeBuildStatus:
1>  Creating ".\Debug\router.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1>  StdAfx.cpp
1>  _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1>c:\program files\microsoft visual studio 10.0\vc\include\malloc.h(281): fatal error C1070: mismatched #if/#endif pair in file 'c:\program files\microsoft visual studio 10.0\vc\include\malloc.h'
1>  routerfunctions.cpp
1>  _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1>c:\program files\microsoft visual studio 10.0\vc\include\malloc.h(281): fatal error C1070: mismatched #if/#endif pair in file 'c:\program files\microsoft visual studio 10.0\vc\include\malloc.h'
1>  PortForwardEngine.cpp
1>  _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1>c:\program files\microsoft visual studio 10.0\vc\include\malloc.h(281): fatal error C1070: mismatched #if/#endif pair in file 'c:\program files\microsoft visual studio 10.0\vc\include\malloc.h'
1>  Generating Code...
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:02.03
2>------ Build started: Project: PcHelpWare_viewer, Configuration: Debug Win32 ------
2>Build started 15/09/2011 16:47:42.
2>InitializeBuildStatus:
2>  Creating ".\Debug\PcHelpWare_viewer.unsuccessfulbuild" because "AlwaysCreate" was specified.
2>ClCompile:
2>  SCconsole.cpp
2>c:\users\moshe\downloads\new folder (4)\pchelpware_viewer_src\https_sock\scconsole.cpp(150): warning C4996: '_tcsncpy': This function or variable may be unsafe. Consider using _tcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2>          c:\program files\microsoft visual studio 10.0\vc\include\tchar.h(1516) : see declaration of '_tcsncpy'
2>c:\users\moshe\downloads\new folder (4)\pchelpware_viewer_src\https_sock\scconsole.cpp(154): warning C4996: '_tcsncpy': This function or variable may be unsafe. Consider using _tcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2>          c:\program files\microsoft visual studio 10.0\vc\include\string.h(105) : see declaration of 'strcpy'
2>c:\users\moshe\downloads\new folder (4)\pchelpware_viewer_src\dynalias.cpp(135): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2>          c:\program files\microsoft visual studio 10.0\vc\include\string.h(110) : see declaration of 'strcat'
2>  CryptoService.cpp
2>c:\program files\microsoft visual studio 10.0\vc\include\malloc.h(280): fatal error C1020: unexpected #endif
2>  askpass.cpp
2>c:\program files\microsoft visual studio 10.0\vc\include\malloc.h(281): fatal error C1070: mismatched #if/#endif pair in file 'c:\program files\microsoft visual studio 10.0\vc\include\malloc.h'
2>  Generating Code...
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:03.73
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
thanks !!
crikush
Posts: 3
Joined: 2011-09-15 09:39

Re: building with visual studio 2010

Post by crikush »

ok, the gui_SC_src i fix it.
but, i have now someting else.
gui_SC_src not found 1SCDLL.dll Although that is not found in the folder
Post Reply