[vtkusers] problem compiling nightly build:
Peter J Carr
pcarr at infinitemarket.com
Fri Apr 12 04:21:52 EDT 2002
I am trying to build the latest version of vtk on my RedHat7.2 Linux box.
Here are the steps I took:
1. cvs checkout vtk (into my existing vtk directory)
2. ccmake (hit 'g' to generate makefiles)
3. make
During compilation I get the following error when trying to build the
vtk java library.
Does anyone have an idea what could be wrong?
Thanks,
Peter Carr
-------
here is the output from the make process...
Building default_target in directory /home/pcarr/Projects/vtk/VTK/Common
c++ -g -O2 -D_REENTRANT -DvtkCommonJava_EXPORTS -fPIC
-I/home/pcarr/Projects/vtk/VTK/Common
-I/home/pcarr/Projects/vtk/VTK/Rendering -I/home/pcarr/Projects/vtk/VTK
-I/home/pcarr/Projects/vtk/VTK/Common
-I/home/pcarr/Projects/vtk/VTK/Filtering
-I/home/pcarr/Projects/vtk/VTK/Imaging
-I/home/pcarr/Projects/vtk/VTK/Graphics
-I/home/pcarr/Projects/vtk/VTK/IO
-I/home/pcarr/Projects/vtk/VTK/Utilities/zlib
-I/home/pcarr/Projects/vtk/VTK/Utilities/zlib
-I/home/pcarr/Projects/vtk/VTK/Utilities/png
-I/home/pcarr/Projects/vtk/VTK/Utilities/png
-I/home/pcarr/Projects/vtk/VTK/Utilities/jpeg
-I/home/pcarr/Projects/vtk/VTK/Utilities/jpeg
-I/home/pcarr/Projects/vtk/VTK/Utilities/tiff
-I/home/pcarr/Projects/vtk/VTK/Utilities/tiff
-I/home/pcarr/Projects/vtk/VTK/Utilities/expat
-I/home/pcarr/Projects/vtk/VTK/Utilities/expat
-I/home/pcarr/Projects/vtk/VTK/Common/Testing/Cxx
-I/usr/local/java/include -I/usr/local/java/include/linux
-I/usr/local/java/include -c
/home/pcarr/Projects/vtk/VTK/Common/vtkAbstractMapperJava.cxx -o
vtkAbstractMapperJava.o
/home/pcarr/Projects/vtk/VTK/Common/vtkAbstractMapperJava.cxx: In
function `void
Java_vtk_vtkAbstractMapper_VTKInit (JNIEnv *, _jobject *)':
/home/pcarr/Projects/vtk/VTK/Common/vtkAbstractMapperJava.cxx:222:
cannot convert `vtkProcessObject *'
to `vtkAbstractMapper *' in initialization
make[3]: *** [vtkAbstractMapperJava.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Common] Error 2
make: *** [default_target] Error 2
[p
More information about the vtkusers
mailing list