POV-Ray : Newsgroups : povray.programming : typecasting problems Server Time
8 Jul 2024 19:18:31 EDT (-0400)
  typecasting problems (Message 1 to 3 of 3)  
From: Apache
Subject: typecasting problems
Date: 13 Dec 2002 19:20:09
Message: <3dfa7939@news.povray.org>
Hi,

I'm trying to compile povray3.50 in cygwin.
./configure worked, but when doing make there are quite some typecasting
errors. I know that I should start at the first occurred error, but hey i'm
just too lazy..... and that kind compile errors should not happen in the
downloaded sources?

I put the make output at http://www.elje.net/make_output_povray-3.50c.txt so
you guys can see what this is all about.

I just hope I'm just being stupid here!

Regards,
Apache


Post a reply to this message

From: Warp
Subject: Re: typecasting problems
Date: 14 Dec 2002 13:51:24
Message: <3dfb7dab@news.povray.org>
Apache <apa### [at] yahoocom> wrote:
> I know that I should start at the first occurred error

  You certainly should. It tells exactly what is the problem:

povxlib.h:26:22: X11/Xlib.h: No such file or directory
povxlib.h:27:23: X11/Xutil.h: No such file or directory

  That's the only problem there is. All the other error messages are simply
cause by the above.

  You have to add a +I option with a path to the X11 librarues to the
compilation commands, ie. something like "+I/some/path/to/X11".

  The configure script is not perfect and does not seem to behave correctly
(eg. issue an error or whatever) if X11 is not found.

  If you have no X11 libraries, then you have to compile without X11 support.
This happens by adding the compilation option -DX_DISPLAY_MISSING

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Apache
Subject: Re: typecasting problems
Date: 14 Dec 2002 17:14:20
Message: <3dfbad3c$1@news.povray.org>
Hey man! I'm ashamed that YOU had to look for it instead of lazy me......

Thanks!!

Regards,
Apache

"Warp" <war### [at] tagpovrayorg> wrote in message
news:3dfb7dab@news.povray.org...
> Apache <apa### [at] yahoocom> wrote:
> > I know that I should start at the first occurred error
>
>   You certainly should. It tells exactly what is the problem:
>
> povxlib.h:26:22: X11/Xlib.h: No such file or directory
> povxlib.h:27:23: X11/Xutil.h: No such file or directory
>
>   That's the only problem there is. All the other error messages are
simply
> cause by the above.
>
>   You have to add a +I option with a path to the X11 librarues to the
> compilation commands, ie. something like "+I/some/path/to/X11".
>
>   The configure script is not perfect and does not seem to behave
correctly
> (eg. issue an error or whatever) if X11 is not found.
>
>   If you have no X11 libraries, then you have to compile without X11
support.
> This happens by adding the compilation option -DX_DISPLAY_MISSING
>
> --
> #macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb
x]
> [1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
> -1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// -
Warp -


Post a reply to this message

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