|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Linux binaries, generic Unix source.
http://www.mailbag.com/users/mtgordon/megapov.html
-Mark Gordon
Post a reply to this message
|
|
| |
| |
|
|
From: Nieminen Juha
Subject: Re: MegaPov 0.4 Now Available (Linux/Unix)
Date: 31 Jan 2000 04:40:18
Message: <38955882@news.povray.org>
|
|
|
| |
| |
|
|
I have a problem with the makefile (I don't know if this is specific to
this makefile or if it happens with the official version too; I haven't
tried).
Since I noticed that libz and libpng are installed in this system, I decided
to perform dynamical linking of them to reduce the size of the executable.
However, it seems impossible with the current makefile.
The header files are located in the directory /share/local5/include/ and
the libraries are located at /share/local5/lib/
However, the makefile seems to suppose that they are both located in the
same directory. Both LIBPNGINC and LIBPNGLIB use the same directory
(ie. PNGDIR). Setting them this way:
PNGDIR = /share/local5
LIBPNGINC = -I$(PNGDIR)/include
LIBPNGLIB = -L$(PNGDIR)/lib -lpng
doesn't help. The compilation fails with the message:
make: Fatal error: Don't know how to make target `/share/local5/png.h'
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
From: Nieminen Juha
Subject: Re: MegaPov 0.4 Now Available (Linux/Unix)
Date: 31 Jan 2000 05:06:12
Message: <38955e94@news.povray.org>
|
|
|
| |
| |
|
|
Nieminen Juha <war### [at] punarastascstutfi> wrote:
: PNGDIR = /share/local5
: LIBPNGINC = -I$(PNGDIR)/include
: LIBPNGLIB = -L$(PNGDIR)/lib -lpng
I figured out how to do it:
PNGDIR = /share/local5/include
PNGLIBDIR = /share/local5/lib
LIBPNGINC = -I$(PNGDIR)
LIBPNGLIB = -L$(PNGLIBDIR) -lpng
Now it works like a charm.
I suggest a modification like this in the makefile (also with the libz).
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nieminen Juha wrote:
>
> Nieminen Juha <war### [at] punarastascstutfi> wrote:
> : PNGDIR = /share/local5
> : LIBPNGINC = -I$(PNGDIR)/include
> : LIBPNGLIB = -L$(PNGDIR)/lib -lpng
>
> I figured out how to do it:
>
> PNGDIR = /share/local5/include
> PNGLIBDIR = /share/local5/lib
> LIBPNGINC = -I$(PNGDIR)
> LIBPNGLIB = -L$(PNGLIBDIR) -lpng
>
> Now it works like a charm.
> I suggest a modification like this in the makefile (also with the libz).
I'll make note of that. The long-term solution, of course, is a
configure script.
-Mark Gordon
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |