POV-Ray : Newsgroups : povray.unix : Compiling on Cygwin : Re: Compiling on Cygwin Server Time
28 Jul 2024 10:14:16 EDT (-0400)
  Re: Compiling on Cygwin  
From: Thomas
Date: 2 Aug 2002 08:30:04
Message: <web.3d4a7ac22546b11cbbe30ae0@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.