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
Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
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
Compile Viewer
-
- Posts: 3
- Joined: 2004-06-16 02:42
Update
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
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
-
- Posts: 3
- Joined: 2004-06-16 02:42
Fixed
this problem is fixed. My timb.h file was currpt. Once exchanged with a good file everything is now working fine.
Thank you,
Scott
Thank you,
Scott