I dowloaded the UVNC code version 1.2.0.9-966 and in subdirectory vncviewer I opened vncviewer2008.sln (using visual studio 2008)
I try to complie vncviewer to an exe but so far without any luck.
Downloaded DirectX SDK (2010)
In the solution explorer/vncviewer properties in the window Configuration properties under C/C++ under general the directXSDK/include directory so that the d3dx9.h file could be found.
Then I copied stdint.h to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include.
When building VNCViewer I am stuck with a list of 12 warnings an 19 errors:
Error 13 error LNK2019: unresolved external symbol _uncompress referenced in function "private: void __thiscall ClientConnection::ReadCacheZip(struct rfbFramebufferUpdateRectHeader *,struct HRGN__ * *)" (?ReadCacheZip@ClientConnection@@AAEXPAUrfbFramebufferUpdateRectHeader@@PAPAUHRGN__@@@Z) ClientConnectionCacheRect.obj vncviewer
Error 14 error LNK2001: unresolved external symbol _uncompress ClientConnectionZlib.obj vncviewer
Error 16 error LNK2019: unresolved external symbol _inflate referenced in function "private: void __thiscall ClientConnection::ReadTightRect(struct rfbFramebufferUpdateRectHeader *)" (?ReadTightRect@ClientConnection@@AAEXPAUrfbFramebufferUpdateRectHeader@@@Z) ClientConnectionTight.obj vncviewer
Error 17 error LNK2001: unresolved external symbol _inflate ClientConnectionZlib.obj vncviewer
Error 20 error LNK2019: unresolved external symbol _inflateInit_ referenced in function "private: void __thiscall ClientConnection::ReadTightRect(struct rfbFramebufferUpdateRectHeader *)" (?ReadTightRect@ClientConnection@@AAEXPAUrfbFramebufferUpdateRectHeader@@@Z) ClientConnectionTight.obj vncviewer
Error 21 error LNK2001: unresolved external symbol _inflateInit_ ClientConnectionZlib.obj vncviewer
and some more.
It feels like I am on the wrong road. Can you give me any direction how to get this right?
If you need the full list of error messges and warnings, just let me know.
Any help is appreciated.
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
Compile UVnc 1.2.0.9 with VS2008
- Rudi De Vos
- Admin & Developer
- Posts: 6863
- Joined: 2004-04-23 10:21
- Contact:
Re: Compile UVnc 1.2.0.9 with VS2008
You need directx sdk, normal you include the direct folders for the headers and the libs in the VS properties of the project.
You also need nasm compiler the nasm.exe als need to be inluded in the exe path
We compiled with VS2015 (Vista) and VS2010 (w2K/xp)
You need to use winvnc2008.sln / vncviewer_vs2008.sln to start Visual studio.
Looks like you started VS with one of the subprojects
You also need nasm compiler the nasm.exe als need to be inluded in the exe path
We compiled with VS2015 (Vista) and VS2010 (w2K/xp)
You need to use winvnc2008.sln / vncviewer_vs2008.sln to start Visual studio.
Looks like you started VS with one of the subprojects
Re: Compile UVnc 1.2.0.9 with VS2008
Hi Rudy
I did as you recommended:
Downloaded and installed:
nasm
DirectX SDK (2010)
VD2015 Community edition
Opened vncviewer_2008.sln in VS2015. It contains 7 projects with a.o. vncviewer (the one I wanted to build)
In the solution explorer I selected the vncviewer project with the right mouse button and selected properties of vncviewer
Selected VC++ directories (
In Executable Directories I added the path to nasm.exe
In Include Directories I added the path to DirectX SDK (2010)/include
In Library Directories I added the path to DirectX SDK (2010)/library/x64
In Library Directories I added the path to DirectX SDK (2010)/library/x86
Saved and closed the property pages.
And then tried to Build the vncviewer solution.
Got 19 errors and 40 warnings;
like:
Severity Code Description Project File Line
Error LNK2001 unresolved external symbol _inflateInit_ vncviewer D:\Anatec Software Ontwikkeling\Remote Desktop\ultravnc-code-966\UltraVNC Project Root\UltraVNC\vncviewer\rdr.lib(ZlibInStream.obj) 1
Severity Code Description Project File Line
Error LNK2001 unresolved external symbol _inflateInit_ vncviewer D:\Anatec Software Ontwikkeling\Remote Desktop\ultravnc-code-966\UltraVNC Project Root\UltraVNC\vncviewer\ClientConnectionZlibHex.obj 1
Severity Code Description Project File Line
Error LNK2019 unresolved external symbol _uncompress referenced in function "private: void __thiscall ClientConnection::ReadCacheZip(struct rfbFramebufferUpdateRectHeader *,struct HRGN__ * *)" (?ReadCacheZip@ClientConnection@@AAEXPAUrfbFramebufferUpdateRectHeader@@PAPAUHRGN__@@@Z) vncviewer D:\Anatec Software Ontwikkeling\Remote Desktop\ultravnc-code-966\UltraVNC Project Root\UltraVNC\vncviewer\ClientConnectionCacheRect.obj 1
So I am still stuck.
Do all 7 projcts have to be configured as described (with the path to the include files, exe files, lib files)?
Or am I still on the wrong road?
I did as you recommended:
Downloaded and installed:
nasm
DirectX SDK (2010)
VD2015 Community edition
Opened vncviewer_2008.sln in VS2015. It contains 7 projects with a.o. vncviewer (the one I wanted to build)
In the solution explorer I selected the vncviewer project with the right mouse button and selected properties of vncviewer
Selected VC++ directories (
In Executable Directories I added the path to nasm.exe
In Include Directories I added the path to DirectX SDK (2010)/include
In Library Directories I added the path to DirectX SDK (2010)/library/x64
In Library Directories I added the path to DirectX SDK (2010)/library/x86
Saved and closed the property pages.
And then tried to Build the vncviewer solution.
Got 19 errors and 40 warnings;
like:
Severity Code Description Project File Line
Error LNK2001 unresolved external symbol _inflateInit_ vncviewer D:\Anatec Software Ontwikkeling\Remote Desktop\ultravnc-code-966\UltraVNC Project Root\UltraVNC\vncviewer\rdr.lib(ZlibInStream.obj) 1
Severity Code Description Project File Line
Error LNK2001 unresolved external symbol _inflateInit_ vncviewer D:\Anatec Software Ontwikkeling\Remote Desktop\ultravnc-code-966\UltraVNC Project Root\UltraVNC\vncviewer\ClientConnectionZlibHex.obj 1
Severity Code Description Project File Line
Error LNK2019 unresolved external symbol _uncompress referenced in function "private: void __thiscall ClientConnection::ReadCacheZip(struct rfbFramebufferUpdateRectHeader *,struct HRGN__ * *)" (?ReadCacheZip@ClientConnection@@AAEXPAUrfbFramebufferUpdateRectHeader@@PAPAUHRGN__@@@Z) vncviewer D:\Anatec Software Ontwikkeling\Remote Desktop\ultravnc-code-966\UltraVNC Project Root\UltraVNC\vncviewer\ClientConnectionCacheRect.obj 1
So I am still stuck.
Do all 7 projcts have to be configured as described (with the path to the include files, exe files, lib files)?
Or am I still on the wrong road?
Re: Compile UVnc 1.2.0.9 with VS2008
Hi Rudy
I just got it working with vs 2015 and opening vncviewer_vs2013.sln.
Thanks for your help.
I just got it working with vs 2015 and opening vncviewer_vs2013.sln.
Thanks for your help.
- Rudi De Vos
- Admin & Developer
- Posts: 6863
- Joined: 2004-04-23 10:21
- Contact:
Re: Compile UVnc 1.2.0.9 with VS2008
Strange it doesn't work with VS2008 because i still used it to compile the w2K version.
(i'm sure that the release 32bit is working)
All debug stuff i do on the latest compiler, they have a better precompiler.
(i'm sure that the release 32bit is working)
All debug stuff i do on the latest compiler, they have a better precompiler.
Re: Compile UVnc 1.2.0.9 with VS2008
Tried it again with VS2008 but got the errors :
Error 1 fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory d:\Anatec Software Ontwikkeling\Remote Desktop\ultravnc-code-966\UltraVNC Project Root\UltraVNC\rdr\xzOutStream.h 31 vncviewer
Error 2 error BK1506 : cannot open file '.\Debug\ClientConnection.sbr': No such file or directory BSCMAKE vncviewer
Maybe I should stick to VS2015 because it works now.
I have another question about this but I'll open a new thread for it.
Error 1 fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory d:\Anatec Software Ontwikkeling\Remote Desktop\ultravnc-code-966\UltraVNC Project Root\UltraVNC\rdr\xzOutStream.h 31 vncviewer
Error 2 error BK1506 : cannot open file '.\Debug\ClientConnection.sbr': No such file or directory BSCMAKE vncviewer
Maybe I should stick to VS2015 because it works now.
I have another question about this but I'll open a new thread for it.
- Rudi De Vos
- Admin & Developer
- Posts: 6863
- Joined: 2004-04-23 10:21
- Contact:
Re: Compile UVnc 1.2.0.9 with VS2008
xzOutStream.h should not be used with VS2008, not supported.
already corrected is svn
http://sourceforge.net/p/ultravnc/code/969/
already corrected is svn
http://sourceforge.net/p/ultravnc/code/969/