Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Compile Viewer

Post Reply
scottfishr
Posts: 3
Joined: 2004-06-16 02:42

Compile Viewer

Post by scottfishr »

Hello all,

Has anyone had any luck compiling the vncviewer with VC7? I can compile winvnc without any problems but when I try the vncviewer I get the following error:

vncviewer error LNK2019: unresolved external symbol "void __cdecl ftime(struct timeb *)" (?ftime@@YAXPAUtimeb@@@Z) referenced in function "void __cdecl gettimeofday(struct timeval *,void *)" (?gettimeofday@@YAXPAUtimeval@@PAX@Z)

Thank you,

Scott
scottfishr
Posts: 3
Joined: 2004-06-16 02:42

Update

Post by scottfishr »

The problem is with the file fdInStream.cxx.

If I rem the line with ftime(&tb); on it the vncviewer will compile.

Code:
} else {
struct timeb tb;
ftime(&tb);
tv->tv_sec = tb.time;
tv->tv_usec = tb.millitm * 1000;
}

It is funny that this is a problem with just the viewer because the winvnc.exe uses this file as well.

Has anyone compiled this with VC7?

Thank you.

Scott
scottfishr
Posts: 3
Joined: 2004-06-16 02:42

Fixed

Post by scottfishr »

this problem is fixed. My timb.h file was currpt. Once exchanged with a good file everything is now working fine.

Thank you,

Scott
Post Reply