Hello Neil,
thanks for your help, it solves the problem for the conformance tests but
still have a problem, this time with interactive tests. Following is the
copy / paste of the build process
gcc -DXTHREADS -D_REENTRANT -I/opt/local/include/cairo
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/libpng12 -I/usr/X11R6/include
-I/opt/local/include/pixman-1 -I/opt/local/include/pango-1.0
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -g -O2 -g -o
.libs/test-interactive test-main.o test-textures.o test-events.o
test-offscreen.o test-scale.o test-actors.o test-behave.o test-entry.o
test-project.o test-perspective.o test-rotate.o test-depth.o test-threads.o
test-score.o test-script.o test-model.o test-grab.o test-effects.o
test-fullscreen.o test-shader.o test-unproject.o test-viewport.o test-fbo.o
test-opacity.o test-multistage.o test-cogl-primitives.o test-cogl-tex-tile.o
test-cogl-tex-convert.o test-cogl-tex-foreign.o test-cogl-tex-getset.o
test-cogl-offscreen.o test-cogl-tex-polygon.o test-stage-read-pixels.o
test-random-text.o test-clip.o test-paint-wrapper.o test-texture-quality.o
test-layout.o test-animation.o test-easing.o test-binding-pool.o
../../clutter/.libs/libclutter-osx-0.9.dylib -L/opt/local/lib
-L/usr/X11R6/lib /opt/local/lib/libpangocairo-1.0.dylib -L/usr/X11/lib
/opt/local/lib/libcairo.dylib /usr/X11/lib/libSM.6.0.0.dylib
/usr/X11/lib/libICE.6.3.0.dylib /opt/local/lib/libpangoft2-1.0.dylib
/opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib
/usr/X11/lib/libX11.6.2.0.dylib /usr/X11/lib/libXau.6.0.0.dylib
/usr/X11/lib/libXdmcp.6.0.0.dylib /opt/local/lib/libpixman-1.dylib
/opt/local/lib/libpango-1.0.dylib -lm /opt/local/lib/libfontconfig.dylib
/opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz
/opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgthread-2.0.dylib
/opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib
/opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib
Undefined symbols:
"_glDeleteTextures", referenced from:
_test_coglbox_dispose in test-cogl-tex-foreign.o
"_glPixelStorei", referenced from:
_test_coglbox_init in test-cogl-tex-foreign.o
"_glTexImage2D", referenced from:
_test_coglbox_init in test-cogl-tex-foreign.o
"_glGenTextures", referenced from:
_test_coglbox_init in test-cogl-tex-foreign.o
"_glTexParameteri", referenced from:
_test_coglbox_init in test-cogl-tex-foreign.o
_test_coglbox_init in test-cogl-tex-foreign.o
"_glBindTexture", referenced from:
_test_coglbox_init in test-cogl-tex-foreign.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [test-interactive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I have check the Makefile.am within interactive and it has already the
AM_CFLAGS and AM_LDFLAGS
Thanks for your help
Rno
On Mon, Jan 5, 2009 at 6:41 PM, Neil Roberts <[email protected]> wrote:
> On Sun, 2009-01-04 at 19:47 +0100, Arnaud VALLAT wrote:
>
> > I've just move to git repository, and got following errors while
> > trying to compile git from master branch on OSX. Never got those
> > errors while I was using SVN repository.
>
> ...
>
> > Undefined symbols:
> > "_glReadPixels", referenced from:
> > _on_paint in test_conformance-test-mesh-contiguous.o
>
> I think the problem could be that compiler flags in CLUTTER_LIBS aren't
> set for the tests in the conform directory. Any chance you could try the
> attached patch to confirm this?
>
> > The next error is still unsolved yet ...
>
> ...
>
> > disable-npots.c:7:19: error: GL/gl.h: No such file or directory
>
> disable-npots is just a helper test tool to fake a system that doesn't
> have non-power-of-two textures it shouldn't cause any problems if it
> doesn't build. However, I've must made a commit to try and make it more
> portable (so it doesn't directly include GL/gl.h nor try to open
> libGL.so). Hopefully this should fix the problem. Any chance you could
> confirm this too?
>
> Thanks,
> - Neil
>
--
"Given enough eyeballs, all bugs are shallow"
Eric Steven Raymond