I get "undefined reference to" all _gl* functions when trying to compile:

$ gcc -o mytest test-actors.c `pkg-config clutter-0.8 --cflags --libs`
C:/dev/msys/lib/libclutter-win32-0.8.a(clutter-main.o): In function 
`_clutter_do_pick':
C:/dev/msys/src/clutter/clutter/clutter/clutter-main.c:367: undefined reference 
to [EMAIL PROTECTED]'
C:/dev/msys/src/clutter/clutter/clutter/clutter-main.c:377: undefined reference 
to [EMAIL PROTECTED]'
C:/dev/msys/src/clutter/clutter/clutter/clutter-main.c:382: undefined reference 
to [EMAIL PROTECTED]'
C:/dev/msys/src/clutter/clutter/clutter/clutter-main.c:388: undefined reference 
to [EMAIL PROTECTED]'
C:/dev/msys/lib/libclutter-win32-0.8.a(clutter-stage.o): In function 
`clutter_stage_read_pixels':
C:/dev/msys/src/clutter/clutter/clutter/clutter-stage.c:1177: undefined 
reference to [EMAIL PROTECTED]'
C:/dev/msys/src/clutter/clutter/clutter/clutter-stage.c:1195: undefined 
reference to [EMAIL PROTECTED]'
C:/dev/msys/lib/libclutter-win32-0.8.a(cogl.o): In function 
`cogl_get_proc_address':
...
...
...
However when using libtool --mode=link (as suggested here 
http://www.busydoingnothing.co.uk/blog)
it compiles and links fine.
It seems the problem is finding the gl libs... but do not even know where to 
look for them (in mingw? in msys? in some system dir?).
Please clarify the situation for me.
And another question: Why the "redhand.png" image fails to load when dubble 
clicking the .exe (of some test sample using it) , or calling the exe from 
windows cmd?
10x!
MihailNajdenov


      
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to