export PKG_CONFIG=/Users/cdesjard/.homebrew/homebrew/Cellar/pkg-config/0.29.1/bin/pkg-config
export PKG_CONFIG_PATH=/Users/cdesjard/.homebrew/homebrew/lib/pkgconfig
I ran configure as:
./configure --with-all-plugins
However, when I run make. I get the following error:
cehd-m1651448:ggobi-2.1.11 cdesjard$ make
Making all in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -I/Users/cdesjard/.homebrew/homebrew/Cellar/gtk+/2.24.30/include/gtk-2.0 -I/Users/cdesjard/.homebrew/homebrew/Cellar/gtk+/2.24.30/lib/gtk-2.0/include -I/Users/cdesjard/.homebrew/homebrew/Cellar/pango/1.38.1/include/pango-1.0 -I/Users/cdesjard/.homebrew/homebrew/Cellar/harfbuzz/1.2.4/include/harfbuzz -I/Users/cdesjard/.homebrew/homebrew/Cellar/pango/1.38.1/include/pango-1.0 -I/Users/cdesjard/.homebrew/homebrew/Cellar/atk/2.18.0_1/include/atk-1.0 -I/Users/cdesjard/.homebrew/homebrew/Cellar/cairo/1.14.6_1/include/cairo -I/Users/cdesjard/.homebrew/homebrew/Cellar/pixman/0.34.0/include/pixman-1 -I/Users/cdesjard/.homebrew/homebrew/Cellar/fontconfig/2.11.1_2/include -I/Users/cdesjard/.homebrew/homebrew/Cellar/freetype/2.6.3/include/freetype2 -I/Users/cdesjard/.homebrew/homebrew/Cellar/libpng/1.6.21/include/libpng16 -I/Users/cdesjard/.homebrew/homebrew/Cellar/gdk-pixbuf/2.32.3/include/gdk-pixbuf-2.0 -I/Users/cdesjard/.homebrew/homebrew/Cellar/libpng/1.6.21/include/libpng16 -I/Users/cdesjard/.homebrew/homebrew/Cellar/glib/2.46.2/include/glib-2.0 -I/Users/cdesjard/.homebrew/homebrew/Cellar/glib/2.46.2/lib/glib-2.0/include -I/Users/cdesjard/.homebrew/homebrew/opt/gettext/include -I/usr/include/libxml2 -g -O2 -MT texture.lo -MD -MP -MF .deps/texture.Tpo -c -o texture.lo texture.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -I/Users/cdesjard/.homebrew/homebrew/Cellar/gtk+/2.24.30/include/gtk-2.0 -I/Users/cdesjard/.homebrew/homebrew/Cellar/gtk+/2.24.30/lib/gtk-2.0/include -I/Users/cdesjard/.homebrew/homebrew/Cellar/pango/1.38.1/include/pango-1.0 -I/Users/cdesjard/.homebrew/homebrew/Cellar/harfbuzz/1.2.4/include/harfbuzz -I/Users/cdesjard/.homebrew/homebrew/Cellar/pango/1.38.1/include/pango-1.0 -I/Users/cdesjard/.homebrew/homebrew/Cellar/atk/2.18.0_1/include/atk-1.0 -I/Users/cdesjard/.homebrew/homebrew/Cellar/cairo/1.14.6_1/include/cairo -I/Users/cdesjard/.homebrew/homebrew/Cellar/pixman/0.34.0/include/pixman-1 -I/Users/cdesjard/.homebrew/homebrew/Cellar/fontconfig/2.11.1_2/include -I/Users/cdesjard/.homebrew/homebrew/Cellar/freetype/2.6.3/include/freetype2 -I/Users/cdesjard/.homebrew/homebrew/Cellar/libpng/1.6.21/include/libpng16 -I/Users/cdesjard/.homebrew/homebrew/Cellar/gdk-pixbuf/2.32.3/include/gdk-pixbuf-2.0 -I/Users/cdesjard/.homebrew/homebrew/Cellar/libpng/1.6.21/include/libpng16 -I/Users/cdesjard/.homebrew/homebrew/Cellar/glib/2.46.2/include/glib-2.0 -I/Users/cdesjard/.homebrew/homebrew/Cellar/glib/2.46.2/lib/glib-2.0/include -I/Users/cdesjard/.homebrew/homebrew/opt/gettext/include -I/usr/include/libxml2 -g -O2 -MT texture.lo -MD -MP -MF .deps/texture.Tpo -c texture.c -fno-common -DPIC -o .libs/texture.o
texture.c:49:1: error: conflicting types for 'psort'
psort (const void *arg1, const void *arg2)
^
/usr/include/stdlib.h:287:7: note: previous declaration is here
void psort(void *, size_t, size_t,
^
texture.c:211:52: warning: incompatible pointer types passing 'void (void *, size_t, size_t, int
(*)(const void *, const void *))' (aka 'void (void *, unsigned long, unsigned long, int
(*)(const void *, const void *))') to parameter of type 'int (*)(const void *, const void *)'
[-Wincompatible-pointer-types]
qsort ((void *) indx, (gsize) ny, sizeof (gint), psort);
^~~~~
/usr/include/stdlib.h:158:12: note: passing argument to parameter here
int (*)(const void *, const void *));
^
1 warning and 1 error generated.
make[2]: *** [texture.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Looks like there might be some sort of issue with psort?
Any ideas?
Chris
--
You received this message because you are subscribed to a topic in the Google Groups "GGobi users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ggobi/JvtCLHqwc8Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ggobi+un...@googlegroups.com.
To post to this group, send email to gg...@googlegroups.com.
Visit this group at https://groups.google.com/group/ggobi.
For more options, visit https://groups.google.com/d/optout.