<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
setenv CLASSPATH /home/nandwani/vtk3.2/java/vtk:. -or-
<br>add -classpath /home/nandwani/vtk3.2/java/vtk to your javac line in
user.make
<p>Mukta Nandwani wrote:
<blockquote TYPE=CITE>I tried setting the CXXFLAGS and CFLAGS, and did
a ./configure clean;
<br>reconfigured and tried gmake again, but now, even before I reach the
same
<br>place, i get the following error:
<p>/usr/java1.2/bin/javac -d /home/nandwani/vtk3.2/java/vtk
<br>java/vtk/vtkActor2D.java
<br>java/vtk/vtkActor2D.java:7: Superclass vtk.vtkProp of class vtk.vtkActor2D
not
<br>found.
<br>public class vtkActor2D extends vtkProp
<p>I had encountered this error yesterday, but when I set env variables
CC and
<br>CXX to gcc and c++ respectively, it worked. Now it is again not
working,
<br>though all the environment variables are set.
<p>Any ideas?
<p>Thanks,
<br>Mukta.
<p>>===== Original Message From Eric Wies <Eric.Wies@loria.fr> =====
<br>>Mukta Nandwani wrote:
<br>>>
<br>>> Hi there,
<br>>>
<br>>> I am trying to install vtk on sun4. I configured as:
<br>>> ./configure --with-mesa --with-shared --with-java --with-patented
<br>>> --with-contrib
<br>>>
<br>>> Now, when i try gmake, i get the following compilation error:
<br>>>
<br>>> c++ -g -O2 -I. -I. -I./../graphics -DVTK_USE_GRAPHICS
-I./../imaging
<br>>> -DVTK_USE_IMAGING -I/usr/openwin/share/include/
-I/usr/openwin/include
<br>>> -I./../common -I../common -I/home/ausable/software/src/tcl7.6/tk4.2/generic
<br>>> -I/home/ausable/software/src/tcl7.6/tcl7.6/generic -I/usr/java1.2/include
<br>>> -I/usr/java1.2/include/solaris -I/home/schroede/montnaro/Python-1.4/Include
<br>-c
<br>>> vtkOpenGLImageActor.cxx -o vtkOpenGLImageActor.o
<br>>> In file included from vtkOpenGLRenderWindow.h:53,
<br>>>
from vtkOpenGLImageActor.cxx:49:
<br>>> /usr/openwin/share/include/X11/Xlib.h:2063: ANSI C++ forbids declaration
<br>>> `XSetTransientForHint' with no type
<br>>> /usr/openwin/share/include/X11/Xlib.h:2071: ANSI C++ forbids declaration
<br>>> `XActivateScreenSaver' with no type
<br>>>
<br>>> ..and lots of other such terms (in Xlib.h, and Xutil.h) that seem
to have
<br>no
<br>>> type. I tried looking into the Xlib.h file, and found that
all these terms
<br>>> are declared as (for example):
<br>>>
<br>>> extern XSetTransientForHint
<br>>>
<br>>> Am I missing some include file here?
<br>>>
<br>>> Thanks,
<br>>> Mukta.
<br>>>
<br>>> _______________________________________________
<br>>> This is the private VTK discussion list.
<br>>> Please keep messages on-topic. Check the FAQ at:
<br><<a href="http://public.kitware.com/cgi-bin/vtkfaq">http://public.kitware.com/cgi-bin/vtkfaq</a>>
<br>>> Follow this link to subscribe/unsubscribe:
<br>>> <a href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a>
<br>>
<br>>Hello,
<br>> I'm using VTK on solaris 2.7,
you must do this
<br>> setenv CXXFLAGS="-O2 -fpermissive
-pipe" CFLAGS="-O2 -fpersmissive
<br>>-pipe" before run configure script.
<br>>
<br>> I hope i can help you
<br>>
<br>>--
<br>>
----------------------------------
<br>> |\/\/\/|
| Doctorant en informatique |
<br>> | | ___________
| LORIA
|
<br>> | | /
\ | Campus Scientifique - BP 239 |
<br>> | (o)(o) | Eric WIES | | 54506 VANDOEUVRE-lès-NANCY
CEDEX |
<br>> C _) \___ _______/ |
|
<br>> | ,___| __/
| Tel : 03 83 59 20 21
|
<br>> | /
| Fax : 03 83 27 83 19
|
<br>> /____\
| Mail : wies@loria.fr
|
<br>>/ \
----------------------------------
<br>>
| Moniteur en informatique
|
<br>>
| Département d'informatique
|
<br>>
| Université de Metz
|
<br>>
| Ile du Saulcy BP 80794
|
<br>>
| F-57012 Metz Cedex 01
|
<br>>
----------------------------------
<p>_______________________________________________
<br>This is the private VTK discussion list.
<br>Please keep messages on-topic. Check the FAQ at: <<a href="http://public.kitware.com/cgi-bin/vtkfaq">http://public.kitware.com/cgi-bin/vtkfaq</a>>
<br>Follow this link to subscribe/unsubscribe:
<br><a href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a></blockquote>
<pre>--
J.A. Lee</pre>
</html>