"Garage Inc." <eke### [at] ucalgaryca> writes:
> While performing "make newunix" I receive this error message:
>
> make: 1254-002 Cannot find a rule to create target /png.h from
> dependencies.
POVRay uses two libraries: libpng and zlib. You have to create them before
compiling and linking POVRay. The two libraries are included in the source
code distribution of POVRay. They are located in the subdirectories "libpng"
and "zlib" of the directory that contains the *.c and *.h files.
If the libraries are already installed in your system, you can of course
use the installed versions.
When compiling POVRay, the compiler needs a header file that is part
of the library, namely "png.h". That's why you must modify the makefile
to tell the compiler its location. The corresponding compiler option
is stored in the variable LIBPNGINC. Setting this variable in the makefile
should solve your problem.
I hope this helps.
Thomas
--
http://www.fmi.uni-konstanz.de/~willhalm
Post a reply to this message
|