POV-Ray : Newsgroups : povray.binaries.utilities : POV-Ray 3.5 makefile for Inprise (Borland) free command-line tools Server Time
4 May 2024 12:09:52 EDT (-0400)
  POV-Ray 3.5 makefile for Inprise (Borland) free command-line tools (Message 9 to 18 of 18)  
<<< Previous 8 Messages Goto Initial 10 Messages
From: Vahur Krouverk
Subject: Re: POV-Ray 3.5 makefile for Inprise (Borland) free command-line tools
Date: 27 Oct 2002 03:33:42
Message: <3DBBA4F0.1090602@starman.ee>
ABX wrote:
> On Fri, 4 Oct 2002 18:16:01 -0400, "Tony[B]" <ben### [at] catholicorg> wrote:
> 
>>Only thing that I had to do was find htmlhelp.lib and winmm.lib. I used
>>implib (as per a suggestion on some site I've lost the URL to) to extract
>>winmm.lib from system32\winmm.dll. Oh, and I renamed it .obj. I have no idea
>>whether this is good or bad, all I know is that POV compiled and hasn't
>>crashed yet...
> 
> 
> That's wrong IMO. I have thought about that problem and found the reason.
> First of all You don't have to extract winmm.lib from dll. It is already
> present in free borland but not in main LIB\ but in subfolder LIB\PSDK.
> 
> And you don't have to rename it to obj. It can be linked directly as
> winmm.lib. Just make optional two pragmas from pvengine.c.
> 
> #ifndef __BORLANDC__
>   #pragma comment(lib, "htmlhelp")
>   #pragma comment(lib, "winmm")
> #endif
> 

I looked at my code and I stand corrected in my previous statement (_In 
my system (W2K) there was no need for winmm.lib._): as it appears, i've 
commented out both pragma directive lines in pvengine.c and therefore it 
linked OK in my case. So best solution for given problem would be indeed 
to make these pragmas conditional as above.


Post a reply to this message

From: ABX
Subject: Re: POV-Ray 3.5 makefile for Inprise (Borland) free command-linetools
Date: 28 Oct 2002 03:02:30
Message: <0crpruo8cm0t4t2dkim4ra8tc1k2rgpufh@4ax.com>
On Sun, 27 Oct 2002 10:33:52 +0200, Vahur Krouverk <vkr### [at] starmanee>
wrote:
> I looked at my code and I stand corrected in my previous statement (_In 
> my system (W2K) there was no need for winmm.lib._): as it appears, i've 
> commented out both pragma directive lines in pvengine.c and therefore it 
> linked OK in my case. So best solution for given problem would be indeed 
> to make these pragmas conditional as above.

Vahur, since you are only brave to play with free borland compilation process,
would you like to try prepare compilation of povcmax2.dll and cmedit.dll using
notes written in $(POV35winsrc)\windows\readme.txt ? Is it mission imposible
with free borland ?

ABX


Post a reply to this message

From: hughes, b 
Subject: Got it to compile too. Thanks Vahur K.
Date: 29 Oct 2002 23:06:17
Message: <3dbf5ab9$1@news.povray.org>
After some effort of course, trying to figure out what was meant by all the
talk of htmlhelp.lib and winmm.obj.
I had gotten a htmlhelp.lib from out of a zip of the HTML Help documentation
at  http://www.microsoft.com/downloads/release.asp?releaseid=33071
And I also did what Tony tried for using the winmm.lib, which was to copy it
from BCC55\LIB\PSDK and rename it with that obj extension. I wasn't
successful no matter how I tried, don't know if that's because of Windows XP
here or my lack of know-how.

If I had simply commented out those two lines in pvengine.c Vahur told of in
a reply to ABX I'd probably have saved myself the trouble. To be exact, I
mean this:

//#pragma comment(lib, "htmlhelp")
//#pragma comment(lib, "winmm")


// suggested to use instead by ABX:
//#ifndef __BORLANDC__
//  #pragma comment(lib, "htmlhelp")
//  #pragma comment(lib, "winmm")
//#endif

I'm not clear about that identifier __BORLANDC__. Is that supposed to work
as-is? Or is that just a placeholder for the real name needed there. Guess I
could try it to find out...

This is the very first time I ever successfully compiled a program of any
kind. Having had looked over doing so for other programs in the past I never
knew I could actually do it until now. Only way this worked okay is due to
you, Vahur Krouverk, and I am grateful. Maybe I'll be able to continue to do
more later on.

P.S.  program code is crazy stuff, like POV script times 100, I'll need a IQ
boost to deal with it.
--
Farewell,
Bob


Post a reply to this message

From: ABX
Subject: Re: Got it to compile too. Thanks Vahur K.
Date: 30 Oct 2002 05:00:21
Message: <ufavrukrvjia21r1uervjkmrhp5f31mnnt@4ax.com>
On Tue, 29 Oct 2002 22:06:12 -0600, "hughes, b." <omn### [at] charternet>
wrote:
> I'm not clear about that identifier __BORLANDC__. Is that supposed to work
> as-is? Or is that just a placeholder for the real name needed there. Guess I
> could try it to find out...

It is supposed to work as is. Read pages on http://predef.sourceforge.net/

In case you are interested in internals of free borland you can download help
files from ftp://ftp.borland.com/pub/bcppbuilder/techpubs/bcb5/ .
Basic informations can be found in b5std.zip file. Be carefull to not
overwrite help from free borland becouse it is newest.

ABX


Post a reply to this message

From: Vahur Krouverk
Subject: Re: POV-Ray 3.5 makefile for Inprise (Borland) free command-linetools
Date: 30 Oct 2002 13:15:01
Message: <3DC021B7.1050405@starman.ee>
ABX wrote:
> Vahur, since you are only brave to play with free borland compilation process,
> would you like to try prepare compilation of povcmax2.dll and cmedit.dll using
> notes written in $(POV35winsrc)\windows\readme.txt ? Is it mission imposible
> with free borland ?

I don't know, whether it is impossible or not. If I have time, then I'll 
give it a try. But why? Do you really want to hack editor?


Post a reply to this message

From: ABX
Subject: Re: POV-Ray 3.5 makefile for Inprise (Borland) free command-linetools
Date: 30 Oct 2002 13:30:57
Message: <3u80su4d4j6j2piv3a85e93n3p15o2rhse@4ax.com>
On Wed, 30 Oct 2002 20:15:19 +0200, Vahur Krouverk <vkr### [at] starmanee>
wrote:
> I don't know, whether it is impossible or not. If I have time, then I'll 
> give it a try. But why? Do you really want to hack editor?

Yes. I had to use not nice hack to achive effect described in
http://news.povray.org/povray.unofficial.patches/28351/ . IMO it should be
done in editor code rather than in POV-Ray port.

ABX


Post a reply to this message

From: Vahur Krouverk
Subject: Re: POV-Ray 3.5 makefile for Inprise (Borland) free command-linetools
Date: 30 Oct 2002 14:40:37
Message: <3DC035C4.7060705@starman.ee>
ABX wrote:
> Yes. I had to use not nice hack to achive effect described in
> http://news.povray.org/povray.unofficial.patches/28351/ . IMO it should be
> done in editor code rather than in POV-Ray port.
> 
Hmm, XML editor? Why not to use XML Notepad? 
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxml/html/xmlpadfaq.asp>

:-)


Post a reply to this message

From: ABX
Subject: Re: POV-Ray 3.5 makefile for Inprise (Borland) free command-linetools
Date: 30 Oct 2002 14:59:26
Message: <71e0suo6ertaets3eils02rgdmk23qt0jq@4ax.com>
On Wed, 30 Oct 2002 21:40:52 +0200, Vahur Krouverk <vkr### [at] starmanee>
wrote:
> Hmm, XML editor? Why not to use XML Notepad? 
>
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxml/html/xmlpadfaq.asp>

It was easier for me to create patch with ready autocompletion and highliging
of docbook keywords than learning all this stuff
(http://www.dpawson.co.uk/docbook/docbookref.pdf). Note I have bought old,
cheap, used machine to work on POV patching and documentation. It is Pentium
75 MHz. Does XML Notepad works on it?

ABX


Post a reply to this message

From: Vahur Krouverk
Subject: Re: POV-Ray 3.5 makefile for Inprise (Borland) free command-linetools
Date: 30 Oct 2002 15:53:56
Message: <3DC046F7.1010903@starman.ee>
ABX wrote:
 > Note I have bought
 > old, cheap, used machine to work on POV patching and documentation.
 > It is Pentium 75 MHz. Does XML Notepad works on it?
I guess so (although my response was more in region of joke).
But MHz and processor type has nothing to do with coding productivity: I 
wrote POVMan on 66 MHz 486 DX2 with 32 MB of memory and RedHat 6.1. Now 
(since April 2001) I have 1GHz AMD Athlon with 256 MB of memory and 
Windows 2000 Professional  + RH 7.1 and hasn't yet released any new 
version of POVMan. Commitment and availability of free time are more 
important factors....


Post a reply to this message

From: hughes, b 
Subject: Re: Got it to compile too. Thanks Vahur K.
Date: 30 Oct 2002 21:54:17
Message: <3dc09b59$1@news.povray.org>
"ABX" <abx### [at] abxartpl> wrote in message
news:ufavrukrvjia21r1uervjkmrhp5f31mnnt@4ax.com...
> On Tue, 29 Oct 2002 22:06:12 -0600, "hughes, b." <omn### [at] charternet>
> wrote:
> > I'm not clear about that identifier __BORLANDC__. Is that supposed to
work
> > as-is? Or is that just a placeholder for the real name needed there.
Guess I
> > could try it to find out...
>
> It is supposed to work as is. Read pages on http://predef.sourceforge.net/

Oh, okay, thanks for letting me know. I had retried it but used the wrong
type bitmap splash screen, 24-bit not 8-bit, so once again I had commented
out your conditional lines thinking that was the problem. Haven't done it
over again (yet), maybe I'll get there eventually.

> In case you are interested in internals of free borland you can download
help
> files from ftp://ftp.borland.com/pub/bcppbuilder/techpubs/bcb5/ .
> Basic informations can be found in b5std.zip file. Be carefull to not
> overwrite help from free borland becouse it is newest.

Couldn't say yet if I'll ever be able to figure out this crazy C++ coding
stuff but at least I'm finally looking into it, so thanks also for those
sources of info... whatever it's all about.   :-)


Post a reply to this message

<<< Previous 8 Messages Goto Initial 10 Messages

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