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

Unable to build winvnc in VS 2008

Developers may discuss here
Post Reply
IT researcher
8
8
Posts: 9
Joined: 2014-10-08 09:57

Unable to build winvnc in VS 2008

Post by IT researcher »

Hello,

I am getting the error while building the winvnc in VS 2008. The error is exactly same as this post (= viewtopic.php?t=10563) but the solution in that post is not working for me.
zlib.lib is of VS version 2010 and there is no project file for Xregion.lib.

Can anyone help me in this ?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6867
Joined: 2004-04-23 10:21
Contact:

Re: Unable to build winvnc in VS 2008

Post by Rudi De Vos »

did you loaded the .sln file ?
If you load the .vcproj, you get the error thhe the libs are missing

VS studio should work, just recompiled with VS 2008 version 3.5 SP1 ( winvnc2008.sln release win32)
all compiled ok.

Don't forget to install nasm ( http://www.nasm.us/ ) for the jpeg lib.
Include the path in VS, else the compiler can't find the exe.
IT researcher
8
8
Posts: 9
Joined: 2014-10-08 09:57

Re: Unable to build winvnc in VS 2008

Post by IT researcher »

Yes, I have installed nasm. When I load sln file, I am getting the error as "Project 'zlibstat.vcproj' or referenced file has failed to load"
IT researcher
8
8
Posts: 9
Joined: 2014-10-08 09:57

Re: Unable to build winvnc in VS 2008

Post by IT researcher »

Thank you, I solved it. The problem was with the library. My project was referring to "C:\Program Files (x86)\Microsoft Visual Studio 7.0\VC\atlmfc", actually it should be "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc". Also the nasm was was not detecting by VS , so I have copy pasted nasm.exe to "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE"
szymon.nowak
20
20
Posts: 52
Joined: 2011-12-09 22:21

Re: Unable to build winvnc in VS 2008

Post by szymon.nowak »

VS 2008 on Win 7 compiling winvnc, where is the problem ?

Warning 1 warning C4244: 'return' : conversion from 'time_t' to 'int', possible loss of data c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\unzip\win32\win32.c 810 unz32lib
Warning 2 warning C4013: 'inflate_copy' undefined; assuming extern returning int c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\unzip\extract.c 1637 unz32lib
Warning 3 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\zip20\api.c 112 zip32
Warning 4 warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\zip20\api.c 141 zip32
Warning 5 warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\zip20\api.c 146 zip32
Warning 6 warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\zip20\api.c 151 zip32
Warning 7 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\zip20\api.c 188 zip32
Warning 8 warning C4013: 'deflate_copy' undefined; assuming extern returning int c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\zip20\zipup.c 1113 zip32
Warning 9 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\zip20\windll\windll.c 123 zip32
Warning 10 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\zip20\windll\windll.c 129 zip32
Warning 11 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\zip20\windll\windll.c 132 zip32
Warning 12 warning C4013: 'printff' undefined; assuming extern returning int c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\zip20\win32\win32zip.c 658 zip32
Warning 13 warning C4244: 'return' : conversion from 'time_t' to 'int', possible loss of data c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\zipunzip_src\zip20\win32\win32.c 324 zip32
Error 14 error PRJ0019: A tool returned an error code from "nasm -fwin32 -DWIN32 -DMSVC -Iwin/ -Isimd/ -o "C:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\winvnc\DebugLib-Static/jsimdcpu.obj" "simd/jsimdcpu.asm"" libjpeg-turbo-win libjpeg-turbo-win
Warning 15 Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release cl zlibstat
Warning 16 warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\rfbregion_win32.cpp 105 winvnc
Warning 17 warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\service.cpp 971 winvnc
Warning 18 warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators' c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncclient.cpp 226 winvnc
Warning 19 warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncclient.cpp 811 winvnc
Warning 20 warning C4804: '<' : unsafe use of type 'bool' in operation c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncclient.cpp 3304 winvnc
Warning 21 warning C4018: '<' : signed/unsigned mismatch c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncclient.cpp 4967 winvnc
Warning 22 warning C4018: '<' : signed/unsigned mismatch c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncclient.cpp 4968 winvnc
Warning 23 warning C4018: '>' : signed/unsigned mismatch c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncclient.cpp 4969 winvnc
Warning 24 warning C4018: '>' : signed/unsigned mismatch c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncclient.cpp 4970 winvnc
Warning 25 warning C4018: '<' : signed/unsigned mismatch c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncdesktop.cpp 1821 winvnc
Warning 26 warning C4805: '!=' : unsafe mix of type 'int' and type 'bool' in operation c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncdesktop.cpp 2759 winvnc
Warning 27 warning C4805: '!=' : unsafe mix of type 'int' and type 'bool' in operation c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncdesktop.cpp 2759 winvnc
Warning 28 warning C4805: '!=' : unsafe mix of type 'int' and type 'bool' in operation c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncdesktop.cpp 2769 winvnc
Warning 29 warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncosversion.cpp 83 winvnc
Warning 30 warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncosversion.cpp 124 winvnc
Warning 31 warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncosversion.cpp 129 winvnc
Warning 32 warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncosversion.cpp 140 winvnc
Warning 33 warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) c:\users\sn\desktop\ultravnc_1084_src\ultravnc_1084\winvnc\winvnc\vncserver.cpp 502 winvnc
Error 34 fatal error LNK1104: cannot open file '..\debuglib-static\libjpeg-turbo-win-static.lib' winvnc winvnc
szymon.nowak
20
20
Posts: 52
Joined: 2011-12-09 22:21

Re: Unable to build winvnc in VS 2008

Post by szymon.nowak »

NASM insalled with rules ad folder path

Error 11 fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory c:\Users\sn\Desktop\UltraVNC_1084_src\UltraVNC_1084\libjpeg-turbo-win\jmemmgr.c 35 libjpeg-turbo-win

Error 30 fatal error LNK1181: cannot open input file '..\releaselib-static\libjpeg-turbo-win-static.lib' winvnc winvnc
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6867
Joined: 2004-04-23 10:21
Contact:

Re: Unable to build winvnc in VS 2008

Post by Rudi De Vos »

I had the same problem when building for w2K using VS2008
*nasm
download nasm, install and add exe folder to the VS path

stdint.h
The new jpeg lib use this header, but the header doen't exist with VS2008
If you also have 2010 or later installed, you just can copy the stdint.h to a folder that's included in the path

Link error
if you can't build the jpeg lib, you can't link it
szymon.nowak
20
20
Posts: 52
Joined: 2011-12-09 22:21

Re: Unable to build winvnc in VS 2008

Post by szymon.nowak »

not working , then any many others errors...
szymon.nowak
20
20
Posts: 52
Joined: 2011-12-09 22:21

Re: Unable to build winvnc in VS 2008

Post by szymon.nowak »

can You read my PM message ?
User avatar
Warnershots
Posts: 2
Joined: 2018-12-21 19:08
Location: Panama
Contact:

Unable to build winvnc in VS 2008

Post by Warnershots »

Hi,
Im unable to create build jcef.
Anyone can provide me compiled libraries that I can use in Java projects for Linux64 or Linux32?
Thans for advice and help.
Post Reply