|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Dear All:
I have some trouble when I configure POVRAY-3.5 on Redhad 7.3
As I type make, some error messages coming up as following:
.....
In file included from bbox.cpp:47:
optout.h:76: syntax error before `extern'
.....
I had change line 49 in file "optout.h" like this:
#define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled by:"
Jong
#define DISTRIBUTION_MESSAGE_2 "FILL IN NAME HERE...."
#define DISTRIBUTION_MESSAGE_3 "The POV-Ray Team(tm) is not responsible for
supporting this version."
Is there any error in my configuration?
How should I do to solve the problem?
Thanks for the Help!
Jong
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Your syntax error is here :
#define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled by:"
Jong <=====
it should be :
#define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled
by: Jong"
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
gRRosminet <pov### [at] les-charlesnet> wrote:
> Your syntax error is here :
>
> #define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled by:"
> Jong <=====
>
> it should be :
> #define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled
> by: Jong"
Thanks a lot! I pass that problem.
But now new troble coming up.
The error message say that:
.....
jpeg_pov.cpp:142:21: jpeglib.h: No such file or directory
make[1]: *** [jpeg_pov.o] Error 1
.....
It looks like that I don't have jpeglib.h in my OS.
Is it possible to ignore this error message?
Where can I find jpeglib.h to make the install pass?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
you'll need to install the jpeg, png and tiff libs with developpement
(frequently named "-devel") packages otherwise you won't be able to
compile/link povray. All these may be available on your distrib's CDs.
As config files are cached by ./configure, you may need to completly
delete the directory and re-extract the archive.
jong wrote:
> gRRosminet <pov### [at] les-charlesnet> wrote:
>
>>Your syntax error is here :
>>
>>#define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled by:"
>>Jong <=====
>>
>>it should be :
>>#define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled
>>by: Jong"
>
>
> Thanks a lot! I pass that problem.
> But now new troble coming up.
> The error message say that:
>
> .....
> jpeg_pov.cpp:142:21: jpeglib.h: No such file or directory
> make[1]: *** [jpeg_pov.o] Error 1
> .....
>
> It looks like that I don't have jpeglib.h in my OS.
> Is it possible to ignore this error message?
> Where can I find jpeglib.h to make the install pass?
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> #define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled by:"
> Jong
> #define DISTRIBUTION_MESSAGE_2 "FILL IN NAME HERE...."
> #define DISTRIBUTION_MESSAGE_3 "The POV-Ray Team(tm) is not responsible for
> supporting this version."
Given what you did above, I'd suggest you do not try compiling povray,
but rather use the official Linux binary that should work on your RedHat distro.
- NC
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> #define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled
> by: Jong"
No, the correct answer is to fill in DISTRIBUTION_MESSAGE_2,
which is clearly stated as "FILL IN NAME HERE....".
Fortunately this *very basic and documented* stuff will simply
vanish in 3.6...
- NC
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nicolas Calimet wrote:
> Given what you did above, I'd suggest you do not try compiling povray,
> but rather use the official Linux binary that should work on your RedHat
> distro.
>
> - NC
>
On the contrary, he should compile Povray because he doesn't it will bee
very very slow (optimized for pentium 1) whereas using an optimized
version can improve performances by 50% !!! (to do this, you'll need to
modify the Makefile => ask for it when you'll be ready)
There is no matter in compiling povray or something else even if you
don't know how to do ! remember that you didn't know how to do at the
begining, but you have learn it ! why wouldn't he be able to learn it too ?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> very very slow (optimized for pentium 1) whereas using an optimized
> version can improve performances by 50% !!!
You mean that the official binary was compiled with no optimization
at all ? (frankly I never tried it)
> (to do this, you'll need to
> modify the Makefile => ask for it when you'll be ready)
May I ?
Ok, go on, I'm ready ;-)
> There is no matter in compiling povray or something else even if you
> don't know how to do ! remember that you didn't know how to do at the
> begining, but you have learn it ! why wouldn't he be able to learn it too ?
I simply made a very straightforward assumption: if someone makes
such an obvious mistake (as seen in the initial post), it is very likely
that he/she will have lots of trouble to compile povray at all, given
that the build system in the source of 3.50c is far from being complete
is known to have serious flaws (especially if you try to use it on anything
but a Linux box, which is actually the case here).
Yet I admit that trying is indeed a good way to learn things, but
it'll most likely take quite some time. This is not necessarily what Jong
is asking for (just a guess from his posts).
But I should not make assumptions anyway, that's not a good idea
in general, and when programming in particular :-)
- NC
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> the build system in the source of 3.50c is far from being complete
> is known to have serious flaws (especially if you try to use it on anything
> but a Linux box, which is actually the case here).
I should not only avoid making assumptions, but also read again
before posting. So, add an "and" at the end of the first line, and
replace "actually" by "fortunately not" :-)
- NC
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nicolas Calimet wrote:
>> very very slow (optimized for pentium 1) whereas using an optimized
>> version can improve performances by 50% !!!
>
>
> You mean that the official binary was compiled with no optimization
> at all ? (frankly I never tried it)
There has been an early 3.5 official binary version compiled without
optimization but the current official version is compiled with -O3. And
as you also observed some time ago the speed advantage with using more
fancy (processor specific and possibly faulty) optimizations is
marginal. There is absolutely no need to compile POV-Ray from source
just for the speed advantage (to actually save time this way, even if
you have experience compiling programs yourself, you will have to render
quite a lot of very slow scenes).
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 01 May. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |