![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Geoff Wedig
Subject: Making the Leap: Compiling POV for the first time
Date: 23 Feb 2001 11:41:46
Message: <3a9692c9@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Well, I decided to see if I could compile POV myself. This was instituted
by two things:
1. A really slow scene that I'd like to get faster
2. Getting linux up and running on my home system.
Now, I know the linux version is available, and what's more, it compiles
fine on my system right out of the box with gcc, but I have access to the
KAI C++ compiler through my work and I thought I'd try it and see which was
faster. I've been very impressed with KAI in the past, so I thought I'd see
what kind of results I could get.
Unfortunately, Kai doesn't compile the code correctly. I'm getting errors
that it doesn't find the Frame global variable in atmos.c, the first .c file
to be compiled. That's an extern out of povray.h, which is included in
atmos.c, so I don't know why it's not finding it. Does anyone have any
ideas why this might be going weird on me?
Thanks for any help,
Geoff
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Vahur Krouverk
Subject: Re: Making the Leap: Compiling POV for the first time
Date: 23 Feb 2001 12:14:07
Message: <3A969A64.CC981D66@aetec.ee>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Geoff Wedig wrote:
> Unfortunately, Kai doesn't compile the code correctly. I'm getting errors
> that it doesn't find the Frame global variable in atmos.c, the first .c file
> to be compiled. That's an extern out of povray.h, which is included in
> atmos.c, so I don't know why it's not finding it. Does anyone have any
> ideas why this might be going weird on me?
Don't know the reason, but try to turn (all) warnings on, maybe they
could give hint about problem?
And be sure to compile source as C files, not as C++ files (I don't
know, how KAI determines type of source file, look from manual/options).
C and C++ are not quite same...
HTH
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Geoff Wedig
Subject: Re: Making the Leap: Compiling POV for the first time
Date: 23 Feb 2001 14:08:31
Message: <3a96b52d@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Vahur Krouverk <vah### [at] aetec ee> wrote:
> Geoff Wedig wrote:
>> Unfortunately, Kai doesn't compile the code correctly. I'm getting errors
>> that it doesn't find the Frame global variable in atmos.c, the first .c file
>> to be compiled. That's an extern out of povray.h, which is included in
>> atmos.c, so I don't know why it's not finding it. Does anyone have any
>> ideas why this might be going weird on me?
> Don't know the reason, but try to turn (all) warnings on, maybe they
> could give hint about problem?
> And be sure to compile source as C files, not as C++ files (I don't
> know, how KAI determines type of source file, look from manual/options).
> C and C++ are not quite same...
> HTH
I doubt this is the problem, in this case, but turning on more messages is
certainly a good idea. Time to delve into the docs....
Geoff
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) |