POV-Ray : Newsgroups : povray.unofficial.patches : Windows makefile for MegaPOV? Server Time
31 Oct 2024 21:29:15 EDT (-0400)
  Windows makefile for MegaPOV? (Message 1 to 7 of 7)  
From: Lutz-Peter Hooge
Subject: Windows makefile for MegaPOV?
Date: 11 Jun 2003 14:19:38
Message: <3ee772ba$1@news.povray.org>
Does anyone have a makefile(and config.h and what else is needed)
for compiling the windows (non-console) version of MegaPOV with a
free compiler? Like BCC 5.5 or Watcom? (I already downloaded the 
BCC5.5 makefile for POV 3.5 but a version for MegaPOV would be nice)

Btw, so far i've only seen console versions build with MingW, is it
not possible to compile the windows version with it?

Lutz-Peter


Post a reply to this message

From: ABX
Subject: Re: Windows makefile for MegaPOV?
Date: 11 Jun 2003 14:58:53
Message: <itteevch226ejn3jl2f9rj46qha8836h6i@4ax.com>
On Wed, 11 Jun 2003 20:19:43 +0200, Lutz-Peter Hooge <lpv### [at] gmxde> wrote:
> Does anyone have a makefile(and config.h and what else is needed)
> for compiling the windows (non-console) version of MegaPOV with a
> free compiler? Like BCC 5.5 or Watcom? (I already downloaded the 
> BCC5.5 makefile for POV 3.5 but a version for MegaPOV would be nice)

I have makefile for Borland but it is highly adjusted to the development of
MegaPOV which means it has internal construction to build three frontends with
two independent versions of Borland compiler into separate folders. It also
contains dependicies of newer version of MegaPOV and significantly changed
structure of source folders. So all together it wouldn't be useful for you with
pure MegaPOV 1.0. But I started build it from makefile delivered by Vahur
Krouverk http://news.povray.org/povray.binaries.utilities/27877/ with all his
notes about adjusting environment. I did not yet forced Open Watcom to build
GUI, I have only console version. I have also makefile to build MegaPOV with
Digital Mars compiler. But it has structure like for Borland and I had to
introduce some changes in windows GUI sources specificaly for DM so again not
very usefull (thought Digital Mars can be interesting if you plan to compile
many times during some long development - Digital Mars has fastest compiler but
slowest binaries). In case of problems feel free to ask.

> Btw, so far i've only seen console versions build with MingW, is it
> not possible to compile the windows version with it?

Probably. I never tried it but I have seen windows applications with GUI
compiled with MinGW. MinGW people maintain MS independent version of w32api
headers.

ABX


Post a reply to this message

From: Vahur Krouverk
Subject: Re: Windows makefile for MegaPOV?
Date: 11 Jun 2003 15:33:48
Message: <3ee7841c@news.povray.org>
Lutz-Peter Hooge wrote:
> Does anyone have a makefile(and config.h and what else is needed)
> for compiling the windows (non-console) version of MegaPOV with a
> free compiler? Like BCC 5.5 or Watcom? (I already downloaded the 
> BCC5.5 makefile for POV 3.5 but a version for MegaPOV would be nice)
> 
You can get Borland makefile from POVMan sources, it contains 
POVMan-specific sources also, but it shouldn't be hard to remove them. 
Of course you can compile POVMan 1.0 as well (it contains all MegaPOV 
code + shader functionality).
POVMan link:
http://www.aetec.ee/fv/vkhomep.nsf/pages/POVMan2


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: Windows makefile for MegaPOV?
Date: 11 Jun 2003 19:12:38
Message: <3ee7b766$1@news.povray.org>
Vahur Krouverk <vkr### [at] starmanee> wrote:

> You can get Borland makefile from POVMan sources, it contains 
> POVMan-specific sources also, but it shouldn't be hard to remove them. 

Thanks.
I only needed to comment out 2 or 3 OBJ's, add in the LIB* directorys
and benchmark.cpp (why isn't this file in MegaPOV source?) from the
3.5 source and change \system32\hhctrl.ocx to \system\hhctrl.ocx.

Lutz-Peter


Post a reply to this message

From: ABX
Subject: Re: Windows makefile for MegaPOV?
Date: 12 Jun 2003 01:54:12
Message: <424gev4655oo3ghgsi97vqrod419j5jct7@4ax.com>
On Thu, 12 Jun 2003 01:12:45 +0200, Lutz-Peter Hooge <lpv### [at] gmxde> wrote:
> and benchmark.cpp (why isn't this file in MegaPOV source?)

are you sure ? in http://megapov.inetart.net/download.html it is as
'benchmar.cpp' to fit 8.3 pattern, thought in MegaPOV 1.1 it will be back
'benchmark.cpp' because 8.3 name introduced more troubles than benefits when
automatic comparing changes between for various patched releases was performed.

> from the
> 3.5 source and change \system32\hhctrl.ocx to \system\hhctrl.ocx.

I think it could be done in a portable way:

  !ifdef SystemRoot
    HTMLDIR = $(SystemRoot)\system32
  !else
    HTMLDIR = $(windir)\system
  !endif

  htmlhelp.lib:
    $(DIRBCC)\bin\implib $@ $(HTMLDIR)\hhctrl.ocx

The system variable SystemRoot is defined here under WinNT and Win 2000, and
windir is defined under Win98 and Win95. I do not know how this is defined in
WinXP and other newer versions.

ABX


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: Windows makefile for MegaPOV?
Date: 12 Jun 2003 04:10:11
Message: <3ee83563$1@news.povray.org>
ABX <abx### [at] abxartpl> wrote:

> are you sure ?

No :-)

> in http://megapov.inetart.net/download.html it is as
> 'benchmar.cpp' to fit 8.3 pattern,

Right. The makefile complained it could't find benchmark.cpp, so I thought it
really wasn't there. ;-)

Lutz-Peter


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: Windows makefile for MegaPOV?
Date: 14 Jun 2003 18:10:07
Message: <3eeb9d3f$1@news.povray.org>
ABX <abx### [at] abxartpl> wrote:

> > Btw, so far i've only seen console versions build with MingW, is it
> > not possible to compile the windows version with it?
> 
> Probably.

I can now confirm that it is possible :-)

Lutz-Peter


Post a reply to this message

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