"development" <[EMAIL PROTECTED]> writes: > $(CC) source/main.c -o test -l3ds > > Now when I compile I suddenly get a large number of errors ... > gcc -Wall -ansi -g source/main.c -o test -l3ds > (.text+0xe62): undefined reference to `sinf' > (.text+0xe6d): undefined reference to `cosf' > (.text+0xf42): undefined reference to `sinf' > (.text+0xf4d): undefined reference to `cosf'
Add "-lm" to your link command (you need to link against the math library to get those functions). -Miles -- In New York, most people don't have cars, so if you want to kill a person, you have to take the subway to their house. And sometimes on the way, the train is delayed and you get impatient, so you have to kill someone on the subway. [George Carlin] ------------------------------------------------------------------------- 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
