Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build vncviewer without NLS #949

Open
Peter2121 opened this issue Jan 29, 2020 · 1 comment
Open

Cannot build vncviewer without NLS #949

Peter2121 opened this issue Jan 29, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Peter2121
Copy link

Peter2121 commented Jan 29, 2020

I'm trying to build tigervnc from Git on Mac OS X 10.13.6. It builds correctly with the default options, but when I try to build without NLS - it's failed.

CMAKE command:
cmake -G "Unix Makefiles" -DENABLE_NLS=false ..

Trying to build I get many errors like this:

/Users/peter/Programming/tigervnc/vncviewer/Viewport.cxx:1240:30: error: use of undeclared identifier 'LC_MESSAGES'
  fltk_menu_add(contextMenu, p_("ContextMenu|", "&Options..."),

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@CendioOssman
Copy link
Member

I can reproduce the issue here as well. It seems gettext's standard header assumes that the locale defines are present even if gettext is missing.

Will need to do some form of workaround.

@CendioOssman CendioOssman added the bug Something isn't working label Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants