<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><P>Did you build vtk with the same compiler? Looks like either you failed to link to the vtk library, or you tried to link to vtk library build with compiler that's not binary compatible with MingW compiler.</P>
<P> </P>
<P>xz</P>
<P><A href="http://www.xzing.org">http://www.xzing.org</A><BR><BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid; MARGIN-RIGHT: 0px">
<HR id=stopSpelling>
Date: Tue, 21 Mar 2006 12:31:03 -0300<BR>From: darioaugusto@gmail.com<BR>To: vtkusers@vtk.org<BR>Subject: [vtkusers] MingW with VTK?<BR><BR>Hi everyone,<BR>I´m trying to use VTK with an opensource editor (Dev-C++) which compiler is MingW. And I have a big problem because it seems that MingW rename the files in a way that VTK doesn't support and I can't compile my example because of that. <BR>Do you know if there is any solution available at this moment? I would be really thankful with any help.<BR>btw, I use VTK 5.0, Dev-C++ and MingW in the lasts versions. And my OS is windows XP, my processor is an AMD64, just in case. <BR><BR>I copy here the compiler log.<BR><BR>thanks a lot in advance.<BR><BR>[]s<BR>Dário Oliveira<BR><BR>##########################################################################################################<BR><A></A>g++.exe teste.o -o "Project3.exe" -L"E:/Dev-Cpp/lib" -L"C:/CMake/bin" -L"C:/CMake/lib" -L"E:/Lib/VTK_C" -L"E:/Lib/VTK_C/bin" <BR><BR>teste.o(.text+0x12b):teste.cpp : undefined reference to `_imp___ZN11vtkRenderer3NewEv'<BR><BR>teste.o(.text+0x135):teste.cpp: undefined reference to `_imp___ZN15vtkRenderWindow3NewEv'<BR>teste.o(.text+0x15b):teste.cpp: undefined reference to `_imp___ZN25vtkRenderWindowInteractor3NewEv' <BR><BR>teste.o(.text+0x172):teste.cpp: undefined reference to `_imp___ZN25vtkRenderWindowInteractor15SetRenderWindowEP15vtkRenderWindow'<BR>teste.o(.text+0x179):teste.cpp: undefined reference to `_imp___ZN17vtkVolume16Reader3NewEv' <BR><BR>teste.o(.text+0x1d3):teste.cpp: undefined reference to `_imp___ZN17vtkVolume16Reader30SetDataByteOrderToLittleEndianEv'<BR>teste.o(.text+0x22a):teste.cpp: undefined reference to `_imp___ZN16vtkContourFilter3NewEv' <BR>teste.o(.text+0x277):teste.cpp: undefined reference to `_imp___ZN18vtkPolyDataNormals3NewEv'<BR>teste.o(.text+0x2c6):teste.cpp: undefined reference to `_imp___ZN17vtkPolyDataMapper3NewEv'<BR><BR>teste.o(.text+0x30b):teste.cpp : undefined reference to `_imp___ZN8vtkActor3NewEv'<BR>teste.o(.text+0x331):teste.cpp: undefined reference to `_imp___ZN16vtkOutlineFilter3NewEv'<BR>teste.o(.text+0x361):teste.cpp: undefined reference to `_imp___ZN17vtkPolyDataMapper3NewEv' <BR>teste.o(.text+0x391):teste.cpp: undefined reference to `_imp___ZN8vtkActor3NewEv'<BR>teste.o(.text+0x3bd):teste.cpp: undefined reference to `_imp___ZN8vtkActor11GetPropertyEv'<BR>teste.o(.text+0x3d9):teste.cpp: undefined reference to `_imp___ZN11vtkProperty8SetColorEddd' <BR>teste.o(.text+0x3e0):teste.cpp: undefined reference to `_imp___ZN9vtkCamera3NewEv'<BR>teste.o(.text+0x406):teste.cpp: undefined reference to `_imp___ZN9vtkCamera9SetViewUpEddd'<BR>teste.o(.text+0x425):teste.cpp: undefined reference to `_imp___ZN9vtkCamera11SetPositionEddd' <BR>teste.o(.text+0x444):teste.cpp: undefined reference to `_imp___ZN9vtkCamera13SetFocalPointEddd'<BR>teste.o(.text+0x451):teste.cpp: undefined reference to `_imp___ZN9vtkCamera22ComputeViewPlaneNormalEv'<BR>teste.o(.text+0x465): teste.cpp: undefined reference to `_imp___ZN11vtkRenderer8AddActorEP7vtkProp'<BR>teste.o(.text+0x479):teste.cpp: undefined reference to `_imp___ZN11vtkRenderer8AddActorEP7vtkProp'<BR>teste.o(.text+0x48d):teste.cpp: undefined reference to `_imp___ZN11vtkRenderer15SetActiveCameraEP9vtkCamera' <BR>teste.o(.text+0x49a):teste.cpp: undefined reference to `_imp___ZN11vtkRenderer11ResetCameraEv'<BR>teste.o(.text+0x4b1):teste.cpp: undefined reference to `_imp___ZN9vtkCamera5DollyEd'<BR>teste.o(.text+0x507):teste.cpp: undefined reference to `_imp___ZN11vtkRenderer24ResetCameraClippingRangeEv' <BR>teste.o(.text$_ZN16vtkContourFilter8SetValueEid[vtkContourFilter::SetValue(int, double)]+0x1e):teste.cpp: undefined reference to `_imp___ZN16vtkContourValues8SetValueEid'<BR>teste.o(.text$_ZN12vtkAlgorithm13GetOutputPortEv[vtkAlgorithm::GetOutputPort()]+0x15): teste.cpp: undefined reference to `_imp___ZN12vtkAlgorithm13GetOutputPortEi'<BR>collect2: ld returned 1 exit status<BR><BR>make.exe: *** [Project3.exe] Error 1<BR>############################################################################################################ <BR><BR clear=all><BR></BLOCKQUOTE><br /><hr /> <a href='' target='_new'></a></body>
</html>