Hi all
I use svn to get the latest source code.
I use vs 2008 to compile vncview.
But I have a error when it compile the keymap.h.
The error message is as below:
2>z:\ultravnc\ultravnc project root\ultravnc\vncviewer\KeyMap.h(173) : error C2001: newline in constant
2>z:\ultravnc\ultravnc project root\ultravnc\vncviewer\KeyMap.h(173) : warning C4066: characters beyond first in wide-character constant ignored
2>z:\ultravnc\ultravnc project root\ultravnc\vncviewer\KeyMap.h(174) : error C2143: syntax error : missing '}' before '{'
2>z:\ultravnc\ultravnc project root\ultravnc\vncviewer\KeyMap.h(174) : error C2143: syntax error : missing '}' before '{'
2>z:\ultravnc\ultravnc project root\ultravnc\vncviewer\KeyMap.h(174) : error C2143: syntax error : missing ';' before '{'
....
That comes from the structure
static const vncDeadKeyMapping_t deadKeyMap[] = {
{XK_dead_grave , L'`' }, // +U0060
{XK_dead_acute , L'? }, // +U00A8
{XK_dead_acute , L'\'' }, // +U0027
{XK_dead_circumflex , L'^' }, // +U005E
{XK_dead_tilde , L'~' }, // +U007E
{XK_dead_diaeresis , L'? }, // +U00B4
{XK_dead_diaeresis , L'"' }, // +U0022
{XK_dead_abovering , L'? }, // +U00B0
{XK_dead_cedilla , L'? }, // +U00B8
};
I think it might be the encode issue. So I save it in unicode format.
But it still fail.
Would anyone know how to fixed it?
Thanks for your help.
After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.0.0 version
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome
Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.3.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38091
Feedback is welcome
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
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome
Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.3.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38091
Feedback is welcome
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 with vs2008 error in keymap.h
-
- Posts: 1
- Joined: 2012-07-27 14:53
-
- 8
- Posts: 20
- Joined: 2014-04-12 07:44
Re: Compile with vs2008 error in keymap.h
The answer above cannot be useful.