[vtkusers] vtkQGL, editing source code required?
George Kamucha
kamucha at hfm.e-technik.uni-kassel.de
Fri Aug 10 10:55:12 EDT 2001
Hi Fabian,
I downloaded vtk 3.1.2, compiled it and that did part of the trick, the installation of the
vtkQGL31 sources was successful! But I have spent the last 26 hours or so trying to figure out why
the compilation fails in the examples' directory. I am at my wits' ends and please if you have an
idea about this error, please let me know, I will really appreciate. I am using qt 2.1.0 and I had
thought I had set all the paths properly but something is definitely not right. Here is one of the
the error messages I am getting:
make[1]: Entering directory '/home/kamucha/vtkQGL31/examples'
g++ -o simpleTest simpleTest.o -L../lib -L/usr/lib/qt/lib -L/home/kamucha/vtk312unix/vtk31/../lib
-L/usr/X11R6/lib
-lVTKQGL -lqgl -lqt -lVTKContrib -lVTKGraphics -lVTKPatented -lVTKImaging -lVTKCommon -lVTKGraphics
-lGL -lX11 -lXt -lXmu -lXext -lm -lstdc++
../lib/libVTKQGL.a(moc_vtkQGLWidget.o): in function 'vtkQGLWidget::initMetaObject(void)':
moc_vtkQGLWidget.o(.text+0x1c): undefined reference to 'QGLWidget::className(void)const'
.........................................................................................................
Best regards
George
Fabian Eilers wrote:
> Hello!
>
> I've compiled vtkQGL (version vtk31) under Solaris Unix, IRIX 6.4 and Linux (mesa 2.4)
> sucessfully.There are no problems. I use vtk 3.1.2 and qt 2.3.0 !!
> My idea: check all INCLUDE-Pathes in the Makefile, and change them to your own
> interests. Which system do you use (and which version?).
>
> Where are the VTK Headers (do you use vtk 3.2.0 or vtk 3.1.2), doesn't work with vtk 3.2.0,
> therefore you must change the source files --> use vtk 3.1.2.
>
> If you want to, I take a look at the files tomorrow. I use them to write my own application and
> therefore I must change them to my own interests.
>
> Greetings
> Fabian
>
> ----------------------------------------
> Fabian Eilers
> An der Mauer 39/41
> 23552 Lübeck
> eilers at informatik.mu-luebeck.de
> -----------------------------------------
>
> George Kamucha schrieb:
>
> > Hi all,
> > I am installing vtkQGL (version vtkQGL_vtk31) using vtk 3.1 and Qt 2.1.0 but
> > when it reaches to the compilation of vtkQGLInteractorWidget.cpp, I get the
> > following error:
> >
> > vtkQGLInteractorWidget.cpp: in method 'void
> > vtkQGLInteractorWidget::PickActor(int, int)':
> > vtkQGLInteractorWidget.cpp:529: type 'vtkActor' is not a base type for type
> > 'vtkAssembly'
> > vtkQGLInteractorWidget.cpp:533: no matching function for call to
> > 'vtkQGLInteractorWidget::actorPicked(vtk Assembly *, vtkPicker *&)'
> > vtkQGLInteractorWidget.h:125: candidates are:
> > vtkQGLInteractorWidget::actorPicked(vtkActor *, vtkPicker *)
> > make[1]: *** [vtkQGLInteractorWidget.o] Error 1
> > make[1]: Leaving directory 'home/kamucha/vtkQGL31/src'
> >
> > I am left wondering, do I have to change the source code
> > vtkQGLInteractorWidget.cpp or is there something that I am missing somewhere?
> > Please, anybody with an idea on this give me the necessary tip, it will be
> > highly appreciated, thanks
> > George
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
-
More information about the vtkusers
mailing list