POV-Ray : Newsgroups : povray.unix : MegaPOV for SunOS? Server Time
31 Oct 2024 14:10:12 EDT (-0400)
  MegaPOV for SunOS? (Message 1 to 7 of 7)  
From: Micha Riser
Subject: MegaPOV for SunOS?
Date: 15 Nov 2000 08:39:53
Message: <3A129228.ED01F473@student.ethz.ch>
Is there somewhere a precompiled version of MegaPOV (or MegaPOVPlus or
PVMegaPOV) for Unix/SunOS? When I tried to compile it myself I got a 7
MB binary file.... Or can anybody give my a hint how to compile it
properly?

Thanx
- Micha


Post a reply to this message

From: Warp
Subject: Re: MegaPOV for SunOS?
Date: 15 Nov 2000 10:38:31
Message: <3a12adf7@news.povray.org>
Micha Riser <ris### [at] studentethzch> wrote:
: When I tried to compile it myself I got a 7 MB binary file....

  Try stripping it.

  Which compiler did you use? If you used cc, try switching to gcc (it will
make the code faster anyways).
  My compile of MegaPov for Solaris takes 1 004 332 bytes.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Micha Riser
Subject: Re: MegaPOV for SunOS?
Date: 15 Nov 2000 11:37:02
Message: <3A12BC08.6104D635@datacomm.ch>
Warp wrote:
> 
> Micha Riser <ris### [at] studentethzch> wrote:
> : When I tried to compile it myself I got a 7 MB binary file....
> 
>   Try stripping it.

What's this?

> 
>   Which compiler did you use? If you used cc, try switching to gcc (it will
> make the code faster anyways).
>   My compile of MegaPov for Solaris takes 1 004 332 bytes.
> 

I think there was a problem with the png and libz-libraries. I need to
link them statical because I can't install the libraries itself.

What source code did you take? Which web page did you get it from?

- Micha

--------------------------------------------------------------
 email:                      mic### [at] michavirtualavenet
 visit my homepage:          http://micha.virtualave.net
 POVRay Objects Collection:  http://povobjects.keyspace.de


Post a reply to this message

From: Warp
Subject: Re: MegaPOV for SunOS?
Date: 15 Nov 2000 14:19:37
Message: <3a12e1c9@news.povray.org>
Micha Riser <mri### [at] datacommch> wrote:
:>   Try stripping it.

: What's this?

man strip

: What source code did you take? Which web page did you get it from?

http://nathan.kopp.com/patched.htm

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Dennis Clarke
Subject: Re: MegaPOV for SunOS?
Date: 15 Nov 2000 14:33:25
Message: <3A12E575.2CADCA07@interlog.com>
Micha Riser wrote:
> 
> Is there somewhere a precompiled version of MegaPOV (or MegaPOVPlus or
> PVMegaPOV) for Unix/SunOS? When I tried to compile it myself I got a 7
> MB binary file.... Or can anybody give my a hint how to compile it
> properly?
> 
> Thanx
> - Micha

This may not help but have a look at 

http://www.interlog.com/~dclarke/povray/povray.html

for a few ideas on how to get started.

In the mean time I just downloaded the source again and rebuilt Pov-Ray
again just to test a system here.  We just built an eight cpu E4500 with
400MHz cpu's in it so I decided to run Pov-Ray for the fun of it.  Had
to compile it though.

I'll download the Mega-Pov source and have a crack at that to see what I
get ...


Dennis Clarke


Post a reply to this message

From: Micha Riser
Subject: Re: MegaPOV for SunOS?
Date: 17 Nov 2000 17:47:42
Message: <3A15B5E5.2F48CF4@datacomm.ch>
Warp wrote:
> 
> : What source code did you take? Which web page did you get it from?
> 
> http://nathan.kopp.com/patched.htm

How did you compile it from this source? ... it comes without makefile
and just taking the one from 3.1 doesn't work.

- Micha


Post a reply to this message

From: Warp
Subject: Re: MegaPOV for SunOS?
Date: 20 Nov 2000 05:50:41
Message: <3a190201@news.povray.org>
Micha Riser <mri### [at] datacommch> wrote:
: How did you compile it from this source? ... it comes without makefile
: and just taking the one from 3.1 doesn't work.

  I made my own makefile (needs gmake). Put it into the unix/ subdirectory
and change some paths inside it to the correct ones in your system:

-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<----
CC = gcc
LD = gcc

INCLUDES = $(SRCINC) $(LIBPNGINC) $(ZLIBINC) $(XLIBINC)
CFLAGS = -O3 -ffast-math -c -DCOMPILER_VER=\".`uname`.$(CC)\" $(INCLUDES)
#CFLAGS = -g -ansi -c -DCOMPILER_VER=\".`uname`.$(CC)\" $(INCLUDES)
LFLAGS = $(LIBPNGLIB) $(ZLIBLIB) $(XLIBLIB) -lm

X11 = /share/X11R6
XLIBINC = -I$(X11)/include
XLIBLIB = -L$(X11)/lib -lX11

PNGDIR = /share/local5/include
LIBPNGINC = -I$(PNGDIR)
LIBPNGLIB = -L/share/local5/lib -lpng

ZLIBDIR = /share/local5/include
ZLIBINC = -I$(ZLIBDIR)
ZLIBLIB = -L/share/local5/lib -lz

SRCDIR = ..
SRCINC = -I$(SRCDIR) -I.

SRC = $(wildcard $(SRCDIR)/*.c) $(wildcard *.c)
HEADERS = $(wildcard $(SRCDIR)/*.h) $(wildcard *.h)

BIN = xmegapov

$(BIN): $(SRC:.c=.o)
        $(LD) $^ -o $(BIN) $(LFLAGS)

include .makefile.dep

depend:
        gcc $(INCLUDES) -MM $(SRC) > .makefile.dep

.makefile.dep:
        - gcc $(INCLUDES) -MM $(SRC) > .makefile.dep
-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<----

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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