Re: My GTK+



jalkadir gosonic ca writes:
 > C:\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe:
 > cannot find lintl I checked for the existence of this dll and it does
 > exist, what else should I check for or change to get my program to compile
 > and link.

You should also have an import library for the intl.dll, called
libintl.a. (It's in the "lib" subfolder in the
gettext-runtime-0.13.1.zip file linked to from
www.gimp.org/win32/downloads.html, which you hopefully have
downloaded.) Add a -L switch that points to that "lib" subfolder of
where you unzipped that gettext-runtime zipfile.

Actually, GNU ld should also be able to link to DLLs directly without
an import library. If you want to try that you probably need to add an
-L switch that points to where the intl.dll is. (I haven't really used
that feature much myself, as everything I work on uses libtool, which
doesn't understand linking to DLLs directly...)

--tml




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]