<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">&lt;<a href="mailto:arnaldo.fisica@gmail.com">arnaldo.fisica@gmail.com</a>&gt;</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&nbsp;QVTKWidgetPlugin.dll. The problem is that i don&#39;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&nbsp;</div><div>mingw32-make -f Makefile.Debug</div><div>mingw32-make[1]: Entering directory `C:/Documents and Settings/alixandr.LTDPX/Desktop/QtVtkWork/QTVTK&#39;</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&quot;d:\Qt\4.4.1\include\QtCore&quot; -I&quot;d:\Qt\4.4.1\include\QtCore&quot; -I&quot;d:\Qt\4.4.1\include\QtGui&quot; -I&quot;d:\Qt\4.4.1\include\QtGui&quot; -I&quot;d:\Qt\4.4.1\include\QtOpenGL&quot; -I&quot;d:\Qt\4.4.1\include\QtOpenGL&quot; -I&quot;d:\Qt\4.4.1\include&quot; -I&quot;c:\VTK\include\vtk-5.3&quot; -I&quot;d:\Qt\4.4.1\include\ActiveQt&quot; -I&quot;debug&quot; -I&quot;.&quot; -I&quot;d:\Qt\4.4.1\mkspecs\win32-g++&quot; -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>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkIOStream.h:112,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkSystemIncludes.h:40,</div>

<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkIndent.h:24,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkObjectBase.h:43,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkObject.h:41,</div><div>

&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkRenderWindowInteractor.h:44,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/QVTKWidget.h:39,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ui_qtvtk.h:22,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from qtvtk.h:5,</div>

<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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 &lt;X&gt; header for the &lt;X.h&gt; header for C++ includes, or &lt;iostream&gt; instead of the deprecated header &lt;iostream.h&gt;. 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&quot;d:\Qt\4.4.1\include\QtCore&quot; -I&quot;d:\Qt\4.4.1\include\QtCore&quot; -I&quot;d:\Qt\4.4.1\include\QtGui&quot; -I&quot;d:\Qt\4.4.1\include\QtGui&quot; -I&quot;d:\Qt\4.4.1\include\QtOpenGL&quot; -I&quot;d:\Qt\4.4.1\include\QtOpenGL&quot; -I&quot;d:\Qt\4.4.1\include&quot; -I&quot;c:\VTK\include\vtk-5.3&quot; -I&quot;d:\Qt\4.4.1\include\ActiveQt&quot; -I&quot;debug&quot; -I&quot;.&quot; -I&quot;d:\Qt\4.4.1\mkspecs\win32-g++&quot; -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>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkIOStream.h:112,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkSystemIncludes.h:40,</div>

<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkIndent.h:24,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkObjectBase.h:43,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkObject.h:41,</div><div>

&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkRenderWindowInteractor.h:44,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/QVTKWidget.h:39,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ui_qtvtk.h:22,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from qtvtk.h:5,</div>

<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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 &lt;X&gt; header for the &lt;X.h&gt; header for C++ includes, or &lt;iostream&gt; instead of the deprecated header &lt;iostream.h&gt;. 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&quot;d:\Qt\4.4.1\include\QtCore&quot; -I&quot;d:\Qt\4.4.1\include\QtCore&quot; -I&quot;d:\Qt\4.4.1\include\QtGui&quot; -I&quot;d:\Qt\4.4.1\include\QtGui&quot; -I&quot;d:\Qt\4.4.1\include\QtOpenGL&quot; -I&quot;d:\Qt\4.4.1\include\QtOpenGL&quot; -I&quot;d:\Qt\4.4.1\include&quot; -I&quot;c:\VTK\include\vtk-5.3&quot; -I&quot;d:\Qt\4.4.1\include\ActiveQt&quot; -I&quot;debug&quot; -I&quot;.&quot; -I&quot;d:\Qt\4.4.1\mkspecs\win32-g++&quot; -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&quot;d:\Qt\4.4.1\include\QtCore&quot; -I&quot;d:\Qt\4.4.1\include\QtCore&quot; -I&quot;d:\Qt\4.4.1\include\QtGui&quot; -I&quot;d:\Qt\4.4.1\include\QtGui&quot; -I&quot;d:\Qt\4.4.1\include\QtOpenGL&quot; -I&quot;d:\Qt\4.4.1\include\QtOpenGL&quot; -I&quot;d:\Qt\4.4.1\include&quot; -I&quot;c:\VTK\include\vtk-5.3&quot; -I&quot;d:\Qt\4.4.1\include\ActiveQt&quot; -I&quot;debug&quot; -I&quot;.&quot; -I&quot;d:\Qt\4.4.1\mkspecs\win32-g++&quot; -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>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkIOStream.h:112,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkSystemIncludes.h:40,</div>

<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkIndent.h:24,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkObjectBase.h:43,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkObject.h:41,</div><div>

&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/vtkRenderWindowInteractor.h:44,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from c:/VTK/include/vtk-5.3/QVTKWidget.h:39,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from debug\../ui_qtvtk.h:22,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from debug\../qtvtk.h:5,</div>

<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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 &lt;X&gt; header for the &lt;X.h&gt; header for C++ includes, or &lt;iostream&gt; instead of the deprecated header &lt;iostream.h&gt;. 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 &nbsp;-L&quot;d:\Qt\4.4.1\lib&quot; -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&#39;:</div><div>C:/Documents and Settings/alixandr.LTDPX/Desktop/QtVtkWork/QTVTK/qtvtk.cpp:6: undefined reference to `QVTKWidget::QVTKWidget(QWidget*, QFlags&lt;Qt::WindowType&gt;)&#39;</div>

<div>collect2: ld returned 1 exit status</div><div>mingw32-make[1]: Leaving directory `C:/Documents and Settings/alixandr.LTDPX/Desktop/QtVtkWork/QTVTK&#39;</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>