I am using VS2013 to build winvnc and vncviewer of this version( ultravnc-code-1009).
When i open vncviewerv11.sln in VS2013,below are the project list:
vncviewer11
--libjpeg-turbo-winv11
--omnithread
--rdr
--unz32lib
--vncviewer
--zip32
--zlibstat
and it builds successfully, just one error "error C2661: 'omni_mutex_lock::omni_mutex_lock' : no overloaded function takes 2 arguments" that i can resolve.
but when i open vncviewer_vs2013.sln in VS2013,below are the project list:
vncviewer_vs2013
--libjpeg-turbo-win
--liblzma
--omnithread
--rdr
--unz32lib
--vncviewer
--zip32
--zlibstat
liblzma is new folder and i am getting too many errors.....
Error 562 error LNK1104: cannot open file 'C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\vncviewer\Debug\Win32\liblzma\liblzma.lib' C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\vncviewer\LINK vncviewer
Warning 166 warning C4028: formal parameter 3 different from declaration C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\vli_encoder.c 20 1 liblzma
Warning 167 warning C4028: formal parameter 4 different from declaration C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\vli_encoder.c 20 1 liblzma
Warning 168 warning C4028: formal parameter 1 different from declaration C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\vli_decoder.c 20 1 liblzma
Warning 169 warning C4028: formal parameter 3 different from declaration C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\vli_decoder.c 20 1 liblzma
Warning 170 warning C4028: formal parameter 4 different from declaration C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\vli_decoder.c 20 1 liblzma
Error 161 error C2275: 'uint32_t' : illegal use of this type as an expression C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\vli_size.c 22 1 liblzma
Error 162 error C2146: syntax error : missing ';' before identifier 'i' C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\vli_size.c 22 1 liblzma
Error 163 error C2065: 'i' : undeclared identifier C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\vli_size.c 22 1 liblzma
Error 547 error C2143: syntax error : missing ';' before 'type' C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\check\check.c 22 1 liblzma
Warning 548 warning C4091: 'static ' : ignored on left of 'const int' when no variable is declared C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\check\check.c 22 1 liblzma
Error 435 error C2143: syntax error : missing ';' before 'const' C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\block_util.c 24 1 liblzma
Error 446 error C2275: 'uint32_t' : illegal use of this type as an expression C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\block_header_encoder.c 24 1 liblzma
Error 447 error C2146: syntax error : missing ';' before identifier 'size' C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\block_header_encoder.c 24 1 liblzma
Error 448 error C2065: 'size' : undeclared identifier C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\block_header_encoder.c 24 1 liblzma
Error 164 error C2065: 'i' : undeclared identifier C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\vli_size.c 25 1 liblzma
Error 14 error C2275: 'lzma_options_bcj' : illegal use of this type as an expression C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\simple\simple_decoder.c 26 1 liblzma
Error 15 error C2065: 'opt' : undeclared identifier C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\simple\simple_decoder.c 26 1 liblzma
Error 16 error C2065: 'opt' : undeclared identifier C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\simple\simple_decoder.c 28 1 liblzma
Warning 17 warning C4047: '==' : 'int' differs in levels of indirection from 'void *' C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\simple\simple_decoder.c 28 1 liblzma
Error 410 error C2275: 'lzma_next_coder' : illegal use of this type as an expression C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\filter_buffer_encoder.c 28 1 liblzma
Error 411 error C2146: syntax error : missing ';' before identifier 'next' C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\filter_buffer_encoder.c 28 1 liblzma
Error 412 error C2065: 'next' : undeclared identifier C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\filter_buffer_encoder.c 28 1 liblzma
Error 413 error C2440: '=' : cannot convert from 'lzma_next_coder' to 'int' C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\filter_buffer_encoder.c 28 1 liblzma
Error 421 error C2275: 'lzma_next_coder' : illegal use of this type as an expression C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\filter_buffer_decoder.c 28 1 liblzma
Error 422 error C2146: syntax error : missing ';' before identifier 'next' C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\filter_buffer_decoder.c 28 1 liblzma
Error 423 error C2065: 'next' : undeclared identifier C:\Users\vineeta\Desktop\UltraVNC\UltraVnc_1.2.1.0\ultravnc-code-1009\ultravnc-code-1009\UltraVNC Project Root\UltraVNC\xz-5.2.1\src\liblzma\common\filter_buffer_decoder.c 28 1 liblzma
i have installed:
*Microsoft DirectX SDK (June 2010)
*nasm
I tried a lot to build vncviewer_vs2013, but no luck
Thanks in advance
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
- 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
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
- 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
liblzma errors
- Rudi De Vos
- Admin & Developer
- Posts: 6863
- Joined: 2004-04-23 10:21
- Contact:
Re: liblzma errors
We use only the following projects
vncviewer_vs2008.sln
vncviewer_vs2013.sln
vncviewer_vs2015.sln
I will try to check it again by downloading the latest tar.bal to verify that my own src
doesn't have extra files that are not in the svn.
You can disable the lib by removing the _XZ from the precompiler options.
All liblzma stuff is set in a ifdef end
#ifdef _XZ
#end
vncviewer_vs2008.sln
vncviewer_vs2013.sln
vncviewer_vs2015.sln
I will try to check it again by downloading the latest tar.bal to verify that my own src
doesn't have extra files that are not in the svn.
You can disable the lib by removing the _XZ from the precompiler options.
All liblzma stuff is set in a ifdef end
#ifdef _XZ
#end
- Rudi De Vos
- Admin & Developer
- Posts: 6863
- Joined: 2004-04-23 10:21
- Contact:
Re: liblzma errors
5.2.1\src\liblzma\common\vli_decoder.c 20 1 liblzma
Error 161 error C2275: 'uint32_t' : illegal use of this type as an expression
This is defined in stdint.h
Microsoft Visual Studio 12.0\VC\include
Looks like some path to the include files is wrong
Don't understand that uint32_t isn't defined.
1> vli_decoder.c
1>..\src\liblzma\common\vli_decoder.c(20): warning C4028: formal parameter 1 different from declaration
1>..\src\liblzma\common\vli_decoder.c(20): warning C4028: formal parameter 3 different from declaration
1>..\src\liblzma\common\vli_decoder.c(20): warning C4028: formal parameter 4 different from declaration
1> vli_encoder.c
1>..\src\liblzma\common\vli_encoder.c(20): warning C4028: formal parameter 3 different from declaration
1>..\src\liblzma\common\vli_encoder.c(20): warning C4028: formal parameter 4 different from declaration
1> vli_size.c
1> delta_common.c
1> delta_decoder.c
....
Error 161 error C2275: 'uint32_t' : illegal use of this type as an expression
This is defined in stdint.h
Microsoft Visual Studio 12.0\VC\include
Looks like some path to the include files is wrong
Don't understand that uint32_t isn't defined.
1> vli_decoder.c
1>..\src\liblzma\common\vli_decoder.c(20): warning C4028: formal parameter 1 different from declaration
1>..\src\liblzma\common\vli_decoder.c(20): warning C4028: formal parameter 3 different from declaration
1>..\src\liblzma\common\vli_decoder.c(20): warning C4028: formal parameter 4 different from declaration
1> vli_encoder.c
1>..\src\liblzma\common\vli_encoder.c(20): warning C4028: formal parameter 3 different from declaration
1>..\src\liblzma\common\vli_encoder.c(20): warning C4028: formal parameter 4 different from declaration
1> vli_size.c
1> delta_common.c
1> delta_decoder.c
....