OK Solved that one... I found an answer here:
http://www.dgp.toronto.edu/~ravin/courses/csc428f01/tutorials/assignment2/faq.html
So that solves my basename problem. And the next one is:
g++ -DPREFIX=\"/usr/local\" -DPOV_LIB_DIR=\"/usr/local/share/povray-3.5\"
-DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/usr/local/etc\" `if [
"Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -I/usr/X11R6/include
-I/usr/X11R6/include/X11 -c unix.cpp
unix.cpp: In function `int subdir(const char *, char (*)[259], char
(*)[259])':
unix.cpp:970: implicit declaration of function `int dirname(...)'
unix.cpp:970: assignment to `char *' from `int' lacks a cast
make: *** [unix.o] Error 1
any clue? Where is dirname declared?
Thomas
Post a reply to this message
|