On Sat, Sep 13, 2008 at 02:14:31PM +0200, Roberto D'Aprile wrote: > made the ./configure, then make, it goes well for a while then at last gives > this message. > > Making all in cube > gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -g -O2 -MT cube.o -MD -MP > -MF .deps/cube.Tpo -c -o cube.o cube.c > cube.c:30:1: warning: "M_PI" redefined > In file included from /usr/include/math.h:26, > from cube.c:22: > /usr/include/architecture/ppc/math.h:661:1: warning: this is the location of > the previous definition > mv -f .deps/cube.Tpo .deps/cube.Po > /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -o cube cube.o > ../../src/lib3ds.la > mkdir .libs > gcc -g -O2 -o .libs/cube cube.o ../../src/.libs/lib3ds.dylib -lm > creating cube > make[3]: Nothing to be done for `all-am'. > make[2]: Nothing to be done for `all-am'. > > Since it seem than the problem is only in an example file I tied to install > and it stills gives me some simila problems when installing the examples but > the source code seem to be installed correctly,
What problem? that's just a warning, M_PI is already defined in math.h, and it's redefined inside cube.c. It shouldn't be redefined but it's not an issue. > so I tried using > lib3ds_file_open() to load a simple 3ds file, but when I try to compile it > gives me this error: > > /Developer/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined > symbols: > _lib3ds_file_open > /Users/robertodaprile/Documents/Progetti/SDL/build/SDL.build/Debug/SDL.build/Objects-normal/ppc/main.o > reference to undefined _lib3ds_file_open > > I have no idea of what the problem is but it seems to me that the library is > not installed correctly. > If somebody could help me I will appreciate much. Obviously you're not linking lib3ds. -- John Tsiombikas (Nuclear / Mindlapse) http://nuclear.sdf-eu.org/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ lib3ds-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lib3ds-devel
