 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
Jamiil Guest
|
Posted: Wed Sep 21, 2005 3:03 pm Post subject: My GTK+ |
|
|
Hello everyone!
I have just installed the gtk+-2.8.3 version on my MS-Windows XP. A small program compiles, but the linker complaints saying:
“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.
The parameters I pass to the compiler are:
Parameters for GTK+-2.8 libs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Lc:/gnuwin32/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
Parameters for GTK+-2.8 cflags
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-mms-bitfields -Ic:/gnuwin32/include/gtk-2.0 -Ic:/gnuwin32/lib/gtk-2.0/include -Ic:/gnuwin32/include/atk-1.0 -Ic:/gnuwin32/include/cairo -Ic:/gnuwin32/include/pango-1.0 -Ic:/devel/target/stable/include/cairo -Ic:/gnuwin32/include/glib-2.0 -Ic:/gnuwin32/lib/glib-2.0/include
Thanks in advance. |
|
| Back to top |
|
 |
cvatavu
Joined: 26 Sep 2005 Posts: 1
|
Posted: Mon Sep 26, 2005 6:55 am Post subject: |
|
|
| You should check also for libintl.a or libintl.lib. You should have this static lib also if you want to link. |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|