Hi,
As I mentioned the above error is coming while configuring the build using
cmake-gui.exe. Due to this error, it is already disabling Native language
support.
I checked the config.h under the build folder and found that the corresponding
lines are commented.
/* #undef ENABLE_NLS */
/* #undef HAVE_PAM */
As the feature is disabled, you will not get any errors while running the make
command.
Not sure about implications of disabling the above feature.
Now I edited the config.h and added the line "#define ENABLE_NLS" and ran the
make command and it failed with the following errors. Please note that I could
not find any Error log file under folder 'CMakeFiles'.
--------------------------------------
In file included from
c:/MinGW/tigervnc/tigervnc-1.3.80-20140404/vncviewer/i18n.h:23:0,
from
c:/MinGW/tigervnc/tigervnc-1.3.80-20140404/vncviewer/CConn.cxx:47:
c:/MinGW/tigervnc/tigervnc-1.3.80-20140404/vncviewer/gettext.h:23:15: error:
#if with no expression
#if ENABLE_NLS
^
make[2]: *** [vncviewer/CMakeFiles/vncviewer.dir/CConn.cxx.obj] Error 1
make[1]: *** [vncviewer/CMakeFiles/vncviewer.dir/all] Error 2
make: *** [all] Error 2
------------------------------------------------
Regards,
Venkat
On Thursday, 8 May 2014 6:30 PM, Pierre Ossman <oss...@cendio.se> wrote:
On Thu, 8 May 2014 18:43:06 +0800 (SGT),
korada venkata ramana wrote:
> I am getting the follwoing error while running hte make command
>
> CMake Warning at CMakeLists.txt:216 (message):
> Gettext NOT found. Native Language Support disabled.
>
>
> When I added few more print statements to CMakeLists.txt, I found hte
> following line is failing.
>
> check_function_exists(dgettext LIBC_HAS_DGETTEXT)
>
>
> I am attaching the libintl.h for your reference.
>
> Any idea why this error is coming?
>
Sounds like your build environment is not properly set up. Check
CMakeError.log for clues as to why it fails to find that function.
--
Pierre Ossman Software Development
Cendio AB http://cendio.com
Teknikringen 8 http://twitter.com/ThinLinc
583 30 Linköping http://facebook.com/ThinLinc
Phone: +46-13-214600 http://plus.google.com/+CendioThinLinc
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Tigervnc-users mailing list
Tigervnc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-users