Linux installation procedure
Peter Blicher
blicher at research.nj.nec.com
Tue Nov 30 14:31:23 EST 1999
I got a similar error when I compiled. I assume you are using a relatively
new version of gcc, which is stricter on ansi compliance.
When I got this error, I looked at the nightly build at that time, and the
source of the problem had been eliminated.
However, to fix this it was enough to just go to the places where it occurs
and insert an explicit cast. I don't have the code handy right now, but if you
can't figure out where to make the change, let me know and I'll find the spot
later today and send it to you.
--peter
X-Authentication-Warning: gsao.gso.med.ge.com: mjordomo set sender to owner-vtkusers at gsao.gso.med.ge.com using -f
Date: Tue, 30 Nov 1999 10:52:00 -0500 (EST)
From: klaatu <klaatu at clark.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-vtkusers at gsao.gso.med.ge.com
Precedence: bulk
Greetings,
I downloaded the stock release of VTK2.4, fixed up the user.make, and
tried to compile. Configured to use every option except for Python and
Java, on attempted compilation I got the following errors, about one
hour, thirty minutes into the compile:
c++ -g -O2 -fPIC -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I.
-I. -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING
-I./../patented -DVTK_USE_PATENTED -I./../contrib -DVTK_USE_CONTRIB
-I/work/reserve/Mesa-3.0/include -DVTK_USE_OGLR -I/usr/X11R6/include
-I./../common -I/work/make/tk8.0/generic -I/work/make/tcl8.0/generic
-I/usr/local/Python-1.4/Include -c vtkOpenGLImageMapper.cxx -o
vtkOpenGLImageMapper.o
vtkOpenGLImageMapper.cxx: In function `void
vtkOpenGLImageMapperRenderChar(vtkOpenGLImageMapper *, vtkImageData *,
unsigned char *, int, int *, int *)':
vtkOpenGLImageMapper.cxx:367: conversion from `int' to `enum GLenum'
vtkOpenGLImageMapper.cxx:375: conversion from `int' to `enum GLenum'
make[1]: *** [vtkOpenGLImageMapper.o] Error 1
make[1]: Leaving directory `/homea/vtk2.4/vtk2.4/imaging'
make: *** [build_imaging] Error 2
earthops:/homea/vtk/vtk2.4#
Be kind to your neighbors, even though they be transgenic chimerae.
Whom thou'st vex'd waxeth wroth: Meow. http://www.clark.net/pub/klaatu/
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
--
A. Peter Blicher NEC Research Institute
609-951-2716 4 Independence Way
609-951-2488 fax Princeton, NJ 08540-6634 USA
blicher at research.nj.nec.com
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list