<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
&nbsp;Hello all. I&nbsp;use Eclipse ,c++ and QT&nbsp;under WindowXP. I have installed Eclipse, mingw32&nbsp;with QT4 successfully but &nbsp;i can only run&nbsp;c++ code, i want to add vtk code therefore i changed the file *.pro as follows:<BR><FONT color=#0000ff size=2>
<P align=left>TEMPLATE = ap</FONT><FONT size=2><FONT color=#000000>p</FONT></P></FONT><FONT color=#0000ff size=2>
<P align=left>TARGET = QTvtkConsol</FONT><FONT size=2><FONT color=#000000>e</FONT></P></FONT><FONT color=#0000ff size=2>
<P align=left>QT += core </FONT><FONT size=2><FONT color=#000000>\</FONT></P></FONT><FONT color=#0000ff size=2>
<P align=left>gui </FONT><FONT size=2><FONT color=#000000>\</FONT></P></FONT><FONT color=#0000ff size=2>
<P align=left>openg</FONT><FONT size=2><FONT color=#000000>l</FONT></P></FONT><FONT color=#0000ff size=2>
<P align=left>HEADERS +=</FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2>
<P align=left>SOURCES += Cone.c</FONT><FONT size=2><FONT color=#000000>c</FONT></P></FONT><FONT color=#0000ff size=2>
<P align=left>FORMS +=</FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2>
<P align=left>RESOURCES +=</FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2>
<P align=left>INCLUDEPATH += C:/vtk5.0-32b/include/vtk-5.</FONT><FONT size=2><FONT color=#000000>0</FONT></P></FONT><FONT color=#0000ff size=2>
LIBS += C:\vtk5.0-32b\lib\vtk-5.</FONT><FONT size=2><FONT color=#000000>0</FONT></FONT><BR>
<FONT size=2><FONT color=#000000>but i got this result:</FONT></FONT><BR>
<FONT color=#000000></FONT>&nbsp;<BR><FONT size=2><FONT size=2>
<P align=left>mingw32-make debug </P>
<P align=left>mingw32-make -f Makefile.Debug</P>
<P align=left>mingw32-make[1]: Entering directory `F:/MisProyectosEclipse3.2/QTvtkConsole'</P>
<P align=left>g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,windows -o "debug\QTvtkConsole.exe" debug\Cone.o -L"c:\Qt\4.1.4\lib" -lopengl32 -lglu32 -lgdi32 -luser32 -lmingw32 -lqtmaind C:\vtk5.0-32b\lib\vtk-5.0 -lQtOpenGLd4 -lQtGuid4 -lQtCored4</P>
<P align=left>C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe:<FONT color=#3366ff> C:\vtk5.0-32b\lib\vtk-5.0: No such file: Permission denied</FONT></P>
<P align=left>collect2: ld returned 1 exit status</P>
<P align=left>mingw32-make[1]: *** [debug\QTvtkConsole.exe] Error 1</P>
<P align=left>mingw32-make[1]: Leaving directory `F:/MisProyectosEclipse3.2/QTvtkConsole'</P>
<P align=left>mingw32-make: *** [debug] Error 2</P>
<P align=left>&nbsp;</P>
<P align=left>But&nbsp;when i removed LIBS&nbsp; i had:</P>
<P align=left>&nbsp;</P><FONT size=2>
<P align=left>mingw32-make debug </P>
<P align=left>mingw32-make -f Makefile.Debug</P>
<P align=left>mingw32-make[1]: Entering directory `F:/MisProyectosEclipse3.2/QTvtkConsole'</P>
<P align=left>g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,windows -o "debug\QTvtkConsole.exe" debug\Cone.o -L"c:\Qt\4.1.4\lib" -lopengl32 -lglu32 -lgdi32 -luser32 -lmingw32 -lqtmaind -lQtOpenGLd4 -lQtGuid4 -lQtCored4</P>
<P align=left>debug\Cone.o(.text+0x107): In function `Z5qMainiPPc':</P>
<P align=left>F:/MisProyectosEclipse3.2/QTvtkConsole/Cone.cc:12: undefined reference to `_imp___ZN11vtkRenderer3NewEv'</P>
<P align=left>debug\Cone.o(.text+0x111):F:/MisProyectosEclipse3.2/QTvtkConsole/Cone.cc:14: undefined reference to `_imp___ZN15vtkRenderWindow3NewEv'</P>
<P align=left>debug\Cone.o(.text+0x15c):F:/MisProyectosEclipse3.2/QTvtkConsole/Cone.cc:19: undefined reference to `_imp___ZN13vtkConeSource3NewEv'</P>
<P align=left>debug\Cone.o(.text+0x183):F:/MisProyectosEclipse3.2/QTvtkConsole/Cone.cc:21: undefined reference to `_imp___ZN17vtkPolyDataMapper3NewEv'</P>
<P align=left>debug\Cone.o(.text+0x193):F:/MisProyectosEclipse3.2/QTvtkConsole/Cone.cc:22: undefined reference to `_imp___ZN20vtkPolyDataAlgorithm9GetOutputEv'</P>
<P align=left>debug\Cone.o(.text+0x1a4):F:/MisProyectosEclipse3.2/QTvtkConsole/Cone.cc:22: undefined reference to `_imp___ZN17vtkPolyDataMapper8SetInputEP11vtkPolyData'</P>
<P align=left>debug\Cone.o(.text+0x1ab):F:/MisProyectosEclipse3.2/QTvtkConsole/Cone.cc:23: undefined reference to `_imp___ZN8vtkActor3NewEv'</P>
<P align=left>debug\Cone.o(.text+0x1de):F:/MisProyectosEclipse3.2/QTvtkConsole/Cone.cc:27: undefined reference to `_imp___ZN11vtkRenderer8AddActorEP7vtkProp'</P>
<P align=left>collect2: ld returned 1 exit status</P>
<P align=left>mingw32-make[1]: *** [debug\QTvtkConsole.exe] Error 1</P>
<P align=left>mingw32-make[1]: Leaving directory `F:/MisProyectosEclipse3.2/QTvtkConsole'</P>
mingw32-make: *** [debug] Error 2<BR></FONT>
<P align=left>&nbsp;</P>
<P align=left>&nbsp;</P>
<P align=left>Could&nbsp;someone tell me why i get the message <FONT color=#3366ff>No such file: Permission denied and how i can run VTK ??</FONT></P>
<P align=left><FONT color=#3366ff></FONT>&nbsp;</P>
<P align=left><FONT color=#000000>thanks in advance, a lot</FONT></P>
<P align=left><FONT color=#000000>José</FONT></P>
<P align=left>&nbsp;</P>
<P align=left>&nbsp;</P>
<P align=left>&nbsp;</P>
<P align=left>&nbsp;</P></FONT></FONT><br /><hr />Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para estar a la última <a href='http://newsletters.msn.com/hm/maintenanceeses.asp?L=ES&C=ES&P=WCMaintenance&Brand=WL&RU=http%3a%2f%2fmail.live.com' target='_new'>MSN Newsletters</a></body>
</html>