Hi all,
I'm even more puzzled now? I've found and used the built in function
lib3ds_mesh_dump(mesh) and this also lists my vertexes as all zeros. So I
thought I'd uses ldd to see if I could see the lib3ds library listed, no sign
of it, but it exists in both usr/lcal/lib and usr/lib.
As my print code doesn't do any screen drawing, so I thought I'd get rid of my
library files except for lib3ds so I change part of my make from
*old make*
all:
$(CC) source/main.c -o test -lGL -lGLU `sdl-config --cflags --libs` `sdl-config
--libs` -lSDL_image -l3ds
to
new make
all:
$(CC) source/main.c -o test -l3ds
Now when I compile I suddenly get a large number of errors
make -k all
gcc -Wall -ansi -g source/main.c -o test -l3ds
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/lib3ds.a(matrix.o): In
function `lib3ds_matrix_rotate_z':
(.text+0xe62): undefined reference to `sinf'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/lib3ds.a(matrix.o): In
function `lib3ds_matrix_rotate_z':
(.text+0xe6d): undefined reference to `cosf'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/lib3ds.a(matrix.o): In
function `lib3ds_matrix_rotate_y':
(.text+0xf42): undefined reference to `sinf'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/lib3ds.a(matrix.o): In
function `lib3ds_matrix_rotate_y':
(.text+0xf4d): undefined reference to `cosf'
/
and many more similar errors, can anyone advise, has anyone seen this before? I
think I'm going mad :(
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel