1 | |
---|
2 | Looking for includes and libraries: |
---|
3 | |
---|
4 | /* *** REQUIRE_GTK2 */ |
---|
5 | |
---|
6 | gcc -pipe -O2 -arch x86_64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 conftest.c -L/opt/local/lib -arch x86_64 -framework IOKit -framework CoreFoundation -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lm -o conftest |
---|
7 | #include <gtk/gtk.h> |
---|
8 | int main(int argc, char *argv[]) |
---|
9 | { GtkWidget *window; |
---|
10 | |
---|
11 | printf("%d.%d.%d\n",GTK_MAJOR_VERSION,GTK_MINOR_VERSION,GTK_MICRO_VERSION); |
---|
12 | return 0; |
---|
13 | } |
---|
14 | cc1: error: unrecognized command line option "-arch" |
---|
15 | cc1: error: unrecognized command line option "-arch" |
---|