POV-Ray : Newsgroups : povray.unofficial.patches : megapov 0.7 with Cygwin Server Time
1 Sep 2024 18:14:21 EDT (-0400)
  megapov 0.7 with Cygwin (Message 1 to 7 of 7)  
From: Christoph Hormann
Subject: megapov 0.7 with Cygwin
Date: 13 Feb 2001 10:25:34
Message: <3A8951EE.7FE906EB@gmx.de>
I updated PovCyg, Povray compiled with Cygwin, to megapov 0.7

You can get it at:
http://www.schunter.etc.tu-bs.de/~chris/povcyg.html

I stumbled over a few errors when trying to compile:

- duplicate declaration of glow stuff in povray.h/frame.h
- non conform comment (//) in glow.c, line 344
- some of the filenames in megasrc07.zip have upper case first letter
which could lead to problems on unix systems

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Michael Andrews
Subject: Re: megapov 0.7 with Cygwin
Date: 13 Feb 2001 12:09:02
Message: <3A8969FB.8C23DD3F@reading.ac.uk>
Hi Christoph,

Christoph Hormann wrote:
> 
> I updated PovCyg, Povray compiled with Cygwin, to megapov 0.7
> 

Is this compile with the Cygwin DLL dependencies on or off? I was just
wondering if there would be a difference in speed between the two.

I must get around to downloading the latest Cygwin ... I think I'm still
running v1.1.2 ...

Bye for now,
	Mike Andrews.


Post a reply to this message

From: Christoph Hormann
Subject: Re: megapov 0.7 with Cygwin
Date: 13 Feb 2001 12:42:20
Message: <3A8971FB.6CBD370E@gmx.de>
Michael Andrews wrote:
> 
> Is this compile with the Cygwin DLL dependencies on or off? I was just
> wondering if there would be a difference in speed between the two.
> 

Yes, you need the DLL for running it.  I don't even know how to do it
without, but there would also be legal problems i think.  

> I must get around to downloading the latest Cygwin ... I think I'm still
> running v1.1.2 ...
> 

I don't know if it works with that version.  I'm using 1.1.7.  Anyway for
running it you only need the DLL and not the complete packages.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Jordan Ellis
Subject: Re: megapov 0.7 with Cygwin
Date: 13 Feb 2001 18:31:57
Message: <Xns90479DA17813Bhookflashhotmailcom@204.213.191.228>
>Yes, you need the DLL for running it.  I don't even know how to do it
>without, but there would also be legal problems i think.  
>
>Christoph

If the PovRay source (generic Unix version) is not *nix/posix-dependant, 
you should be able to compile it with the -mno-cygwin flag (or something to 
that effect...) to remove any Cygwin dll dependancies.  Of coarse, I'm 
assuming it makes some posix calls or something, otherwise you probably 
wouldn't be using Cygwin;-)  L8er

Jordan


Post a reply to this message

From: Nathan Kopp
Subject: Re: megapov 0.7 with Cygwin
Date: 14 Feb 2001 01:02:16
Message: <3a8a1f68$1@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote...
> - non conform comment (//) in glow.c, line 344
> - some of the filenames in megasrc07.zip have upper case first letter
> which could lead to problems on unix systems

These kinds of things seem to slip into MegaPov in each release, and I
always seem to forget to check for them before packing everything up.  Sorry
to all the unix/linux folks.  :-/

-Nathan


Post a reply to this message

From: Michael Andrews
Subject: Re: megapov 0.7 with Cygwin
Date: 14 Feb 2001 12:24:07
Message: <3A8ABF05.9FD11A74@reading.ac.uk>
Jordan Ellis wrote:
...
> If the PovRay source (generic Unix version) is not *nix/posix-dependant,
> you should be able to compile it with the -mno-cygwin flag (or something to
> that effect...) to remove any Cygwin dll dependancies.
...
> Jordan

This was what I meant.

I think you have to install an extra zip file from the web site to be
able to use this compiler flag (unless thye have integrated it further
for the latest versions), but it effectively performs a MinGW32 compile
rather than a Cygwin compile. 
It may make no difference to the performance of the compiled code, but
users wouldn't have to worry about having the correct Cygwin DLL on
their system ...

Bye for now,
	Mike Andrews.


Post a reply to this message

From: Christoph Hormann
Subject: Re: megapov 0.7 with Cygwin
Date: 14 Feb 2001 18:11:03
Message: <3A8B1084.8A8E366@gmx.de>
Michael Andrews wrote:
> 
> Jordan Ellis wrote:
> ...
> > If the PovRay source (generic Unix version) is not *nix/posix-dependant,
> > you should be able to compile it with the -mno-cygwin flag (or something to
> > that effect...) to remove any Cygwin dll dependancies.
> ...
> > Jordan
> 
> This was what I meant.
> 
> I think you have to install an extra zip file from the web site to be
> able to use this compiler flag (unless thye have integrated it further
> for the latest versions), but it effectively performs a MinGW32 compile
> rather than a Cygwin compile.
> It may make no difference to the performance of the compiled code, but
> users wouldn't have to worry about having the correct Cygwin DLL on
> their system ...
> 

Thanks for that hint,

I finally managed to get it work without the DLL using -mno-cygwin, found
a nice text explaining this in detail BTW:

http://www.xraylith.wisc.edu/~khan/software/gnu-win32/mno-cygwin-howto.txt

Most things needed for it are already included in the current cygwin
package, but i had to compile zlib/libpng with -mno-cygwin, because the
libraries are not included.  Furthermore i needed the MinGW package
available for example at:

ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/gcc-2.95.2/

The only thing that had to be changed in the source was:

#define PRECISION_TIMER_AVAILABLE 0

in unixconf.h

The updated files are available on: 
http://www.schunter.etc.tu-bs.de/~chris/povcyg.html

I did not yet have time to check if it's faster than before, any feedback
if it works right would be appreciated.  

Christoph


-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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