[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] link error gettext visual studio
From: |
Bruno Haible |
Subject: |
Re: [bug-gettext] link error gettext visual studio |
Date: |
Wed, 02 Aug 2017 23:57:10 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-83-generic; KDE/5.18.0; x86_64; ; ) |
Hello,
> I have build depencencies : gettext runtime for windows, zlib, libffi and i
> have configured visual studio.
Are you using the build recipe from
http://git.savannah.gnu.org/gitweb/?p=gettext.git;a=blob_plain;f=README.windows
or have you made up your own (unsupported) recipe?
> When I build Glib. sln i have this error
>
> Erreur LNK2019 symbole externe non résolu __imp_libintl_gettext référencé
> dans la fonction _g_dgettext_should_translate glib
> C:\gtk_compilation\glib-2.52.0\win32\vs15\ggettext.obj
>
> I don't understand why, coul you help me please?
The error means that it cannot find the symbol in the given libraries.
This can have 3 causes:
- Library not passed on link command line.
- Library passed on link command line but does not contain the symbol.
- Library passed on link command line but is of wrong format.
Peruse the "nm" and "dumpbin /exports" [1] commands... Also get familiar
with the meaning of '__imp_'.
Bruno
[1] https://docs.microsoft.com/de-de/cpp/build/reference/dash-exports