![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
>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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Christoph Hormann" <chr### [at] gmx de> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |