<div dir="ltr">Someone can help?<br><br><div class="gmail_quote">On Tue, Sep 9, 2008 at 12:24 PM, Arnaldo Luis Lixandrão Filho <span dir="ltr"><<a href="mailto:arnaldo.fisica@gmail.com">arnaldo.fisica@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">I compiled the last repository version 5.3 with codeblocks and mingw with QT gui support with no errors. I set up all things to use the new QVTKWidgetPlugin.dll. The problem is that i don't know how to solve the unsolved reference as shown below:<div>
<br></div><div>The other problem is the appear of some deprecated headers!!! how i solve them????..... I hope someone help me fast because i really need to use VTK+QT today!!!! The source is attached.</div><div><br></div>
<div>Thanks in advance....<br><div><br></div><div><div>mingw32-make debug </div><div>mingw32-make -f Makefile.Debug</div><div>mingw32-make[1]: Entering directory `C:/Documents and Settings/alixandr.LTDPX/Desktop/QtVtkWork/QTVTK'</div>
<div>d:\Qt\4.4.1\bin\uic.exe qtvtk.ui -o ui_qtvtk.h</div><div>g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"d:\Qt\4.4.1\include\QtCore" -I"d:\Qt\4.4.1\include\QtCore" -I"d:\Qt\4.4.1\include\QtGui" -I"d:\Qt\4.4.1\include\QtGui" -I"d:\Qt\4.4.1\include\QtOpenGL" -I"d:\Qt\4.4.1\include\QtOpenGL" -I"d:\Qt\4.4.1\include" -I"c:\VTK\include\vtk-5.3" -I"d:\Qt\4.4.1\include\ActiveQt" -I"debug" -I"." -I"d:\Qt\4.4.1\mkspecs\win32-g++" -o debug\main.o main.cpp</div>
<div>In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/backward/strstream:51,</div><div> from c:/VTK/include/vtk-5.3/vtkIOStream.h:112,</div><div> from c:/VTK/include/vtk-5.3/vtkSystemIncludes.h:40,</div>
<div> from c:/VTK/include/vtk-5.3/vtkIndent.h:24,</div><div> from c:/VTK/include/vtk-5.3/vtkObjectBase.h:43,</div><div> from c:/VTK/include/vtk-5.3/vtkObject.h:41,</div><div>
from c:/VTK/include/vtk-5.3/vtkRenderWindowInteractor.h:44,</div><div> from c:/VTK/include/vtk-5.3/QVTKWidget.h:39,</div><div> from ui_qtvtk.h:22,</div><div> from qtvtk.h:5,</div>
<div> from main.cpp:1:</div><div>C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section <a href="http://17.4.1.2" target="_blank">17.4.1.2</a> of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.</div>
<div>g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"d:\Qt\4.4.1\include\QtCore" -I"d:\Qt\4.4.1\include\QtCore" -I"d:\Qt\4.4.1\include\QtGui" -I"d:\Qt\4.4.1\include\QtGui" -I"d:\Qt\4.4.1\include\QtOpenGL" -I"d:\Qt\4.4.1\include\QtOpenGL" -I"d:\Qt\4.4.1\include" -I"c:\VTK\include\vtk-5.3" -I"d:\Qt\4.4.1\include\ActiveQt" -I"debug" -I"." -I"d:\Qt\4.4.1\mkspecs\win32-g++" -o debug\qtvtk.o qtvtk.cpp</div>
<div>In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/backward/strstream:51,</div><div> from c:/VTK/include/vtk-5.3/vtkIOStream.h:112,</div><div> from c:/VTK/include/vtk-5.3/vtkSystemIncludes.h:40,</div>
<div> from c:/VTK/include/vtk-5.3/vtkIndent.h:24,</div><div> from c:/VTK/include/vtk-5.3/vtkObjectBase.h:43,</div><div> from c:/VTK/include/vtk-5.3/vtkObject.h:41,</div><div>
from c:/VTK/include/vtk-5.3/vtkRenderWindowInteractor.h:44,</div><div> from c:/VTK/include/vtk-5.3/QVTKWidget.h:39,</div><div> from ui_qtvtk.h:22,</div><div> from qtvtk.h:5,</div>
<div> from qtvtk.cpp:1:</div><div>C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section <a href="http://17.4.1.2" target="_blank">17.4.1.2</a> of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.</div>
<div>D:\Qt\4.4.1\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"d:\Qt\4.4.1\include\QtCore" -I"d:\Qt\4.4.1\include\QtCore" -I"d:\Qt\4.4.1\include\QtGui" -I"d:\Qt\4.4.1\include\QtGui" -I"d:\Qt\4.4.1\include\QtOpenGL" -I"d:\Qt\4.4.1\include\QtOpenGL" -I"d:\Qt\4.4.1\include" -I"c:\VTK\include\vtk-5.3" -I"d:\Qt\4.4.1\include\ActiveQt" -I"debug" -I"." -I"d:\Qt\4.4.1\mkspecs\win32-g++" -D__GNUC__ -DWIN32 qtvtk.h -o debug\moc_qtvtk.cpp</div>
<div>g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"d:\Qt\4.4.1\include\QtCore" -I"d:\Qt\4.4.1\include\QtCore" -I"d:\Qt\4.4.1\include\QtGui" -I"d:\Qt\4.4.1\include\QtGui" -I"d:\Qt\4.4.1\include\QtOpenGL" -I"d:\Qt\4.4.1\include\QtOpenGL" -I"d:\Qt\4.4.1\include" -I"c:\VTK\include\vtk-5.3" -I"d:\Qt\4.4.1\include\ActiveQt" -I"debug" -I"." -I"d:\Qt\4.4.1\mkspecs\win32-g++" -o debug\moc_qtvtk.o debug\moc_qtvtk.cpp</div>
<div>In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/backward/strstream:51,</div><div> from c:/VTK/include/vtk-5.3/vtkIOStream.h:112,</div><div> from c:/VTK/include/vtk-5.3/vtkSystemIncludes.h:40,</div>
<div> from c:/VTK/include/vtk-5.3/vtkIndent.h:24,</div><div> from c:/VTK/include/vtk-5.3/vtkObjectBase.h:43,</div><div> from c:/VTK/include/vtk-5.3/vtkObject.h:41,</div><div>
from c:/VTK/include/vtk-5.3/vtkRenderWindowInteractor.h:44,</div><div> from c:/VTK/include/vtk-5.3/QVTKWidget.h:39,</div><div> from debug\../ui_qtvtk.h:22,</div><div> from debug\../qtvtk.h:5,</div>
<div> from debug\moc_qtvtk.cpp:10:</div><div>C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section <a href="http://17.4.1.2" target="_blank">17.4.1.2</a> of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.</div>
<div>g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\QTVTK.exe debug/main.o debug/qtvtk.o debug/moc_qtvtk.o -L"d:\Qt\4.4.1\lib" -lopengl32 -lglu32 -lgdi32 -luser32 -lmingw32 -lqtmaind -LC:/VTK/lib/vtk-5.3 -lvtkQtChart -lvtkInfovis -lvtkWidgets -lvtklibxml2 -lvtkHybrid -lvtkRendering -lvtkIO -lvtkmetaio -lvtkpng -lvtktiff -lvtkzlib -lvtkGraphics -lvtkImaging -lvtkftgl -lvtkfreetype -lvtkexoIIc -lvtkFiltering -lvtkverdict -lvtkDICOMParser -lvtkNetCDF -lvtksqlite -lvtkjpeg -lvtkexpat -lvtkCommon -lvtksys -lvtkQtChart -lvtkInfovis -lQVTKWidgetPlugin.dll -lQtOpenGLd4 -lQtGuid4 -lQtCored4</div>
<div>debug/qtvtk.o: In function `ZN5QTVTKC1EP7QWidget':</div><div>C:/Documents and Settings/alixandr.LTDPX/Desktop/QtVtkWork/QTVTK/qtvtk.cpp:6: undefined reference to `QVTKWidget::QVTKWidget(QWidget*, QFlags<Qt::WindowType>)'</div>
<div>collect2: ld returned 1 exit status</div><div>mingw32-make[1]: Leaving directory `C:/Documents and Settings/alixandr.LTDPX/Desktop/QtVtkWork/QTVTK'</div><div>mingw32-make[1]: *** [debug\QTVTK.exe] Error 1</div><div>
mingw32-make: *** [debug] Error 2</div><div><br></div><div><br></div><div><br clear="all"><br>-- <br>Arnaldo Luis Lixandrão Filho<br>Bacharel em Física - UNICAMP<br><a href="mailto:arnaldo.fisica@gmail.com" target="_blank">arnaldo.fisica@gmail.com</a><br>
skype/voipraider: arnaldo.fisica<br>
</div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Arnaldo Luis Lixandrão Filho<br>Bacharel em Física - UNICAMP<br><a href="mailto:arnaldo.fisica@gmail.com">arnaldo.fisica@gmail.com</a><br>skype/voipraider: arnaldo.fisica<br>
</div>