[vtk-developers] Problem building VolumePro w/ todays CVS (unresolved external symbols)

anast.jm at pg.com anast.jm at pg.com
Wed Jan 29 19:45:33 EST 2003


Platform WinXP - VC6 - VTK4 - CVS 1/29/2003 - CMAKE 1.6.0  ***** Just tried
todays CVS exact same problems even after a complete clean rebuild****
plezzzz help me (-;

======
The compiler was complaining about  what I concluded was a missing   #include
"vtkPointData.h" in vtkVolumeProVG500Mapper.cxx. When I added this the class
then compiled but the linker gave a whole slew of errors...some listed below.
They seemed related to the vli library, so I checked in cmake that the paths
were still right and all was okay. I just switched to cmake 1.6.0  if that makes
any difference. (Apparently not 1.4 doesn't work either) I didn't do a clean
build however, should I have when switching cmake versions???  Appreciate any
help....john

Linking...
   Creating library P:\AnastDev\vtk40\VTKbin\bin\Release/vtkRendering.lib and
object P:\AnastDev\vtk40\VTKbin\bin\Release/vtkRendering.exp
vtkOpenGLVolumeProVG500Mapper.obj : error LNK2001: unresolved external symbol "
__declspec(dllimport) public: double & __thiscall VLIVector3D::Z(void)"
(__imp_?Z at VLIVector3D@@QAEAANXZ)
vtkOpenGLVolumeProVG500Mapper.obj : error LNK2001: unresolved external symbol "
__declspec(dllimport) public: double & __thiscall VLIVector3D::Y(void)"
(__imp_?Y at VLIVector3D@@QAEAANXZ)
vtkOpenGLVolumeProVG500Mapper.obj : error LNK2001: unresolved external symbol "
__declspec(dllimport) public: double & __thiscall VLIVector3D::X(void)"
(__imp_?X at VLIVector3D@@QAEAANXZ)
vtkOpenGLVolumeProVG500Mapper.obj : error LNK2001: unresolved external symbol "
__declspec(dllimport) public: double & __thiscall VLIVector2D::X(void)"
(__imp_?X at VLIVector2D@@QAEAANXZ)
vtkVolumeProVG500Mapper.obj : error LNK2001: unresolved external symbol "
__declspec(dllimport) public: double & __thiscall VLIVector2D::X(void)"
(__imp_?X at VLIVector2D@@QAEAANXZ)
vtkOpenGLVolumeProVG500Mapper.obj : error LNK2001: unresolved external symbol "
__declspec(dllimport) public: double & __thiscall VLIVector2D::Y(void)"
(__imp_?Y at VLIVector2D@@QAEAANXZ)
vtkVolumeProVG500Mapper.obj : error LNK2001: unresolved external symbol "
__declspec(dllimport) public: double & __thiscall VLIVector2D::Y(void)"
(__imp_?Y at VLIVector2D@@QAEAANXZ)

etc...83 errors total




More information about the vtk-developers mailing list