[vtkusers] volumepro erro

liuyang liuyang at fimmu.com
Fri Nov 4 03:26:01 EST 2005


Hi,
 I have volumepro 1000 board ,and try to use vtk to develop.But when i built 
vtkRendering.dll,there are erros as follow:
Compiling...
vtkVolumeProMapper.cxx
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(1627) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3074) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3082) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3641) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3656) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3657) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3675) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3676) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3677) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3678) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3745) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3748) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3805) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3828) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3846) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3850) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3857) : error 
C2872: 'VLILight' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3861) : error 
C2872: 'VLILight' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3867) : error 
C2872: 'VLILight' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3959) : error 
C2872: 'VLICutPlane' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3963) : error 
C2872: 'VLICutPlane' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3969) : error 
C2872: 'VLICutPlane' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4345) : error 
C2872: 'VLIVolume' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4367) : error 
C2872: 'VLIVolume' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4415) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4415) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4415) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4416) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4418) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4418) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4418) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4419) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4421) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4421) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4422) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4422) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4424) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4424) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4424) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4427) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4427) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4427) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.h(142) : error 
C2872: 'VLIVolume' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.h(143) : error 
C2872: 'VLIContext' : ambiguous symbol
vtkVolumeProVP1000Mapper.cxx
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(1627) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3074) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3082) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3641) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3656) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3657) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3675) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3676) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3677) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3678) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3745) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3748) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3805) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3828) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3846) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3850) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3857) : error 
C2872: 'VLILight' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3861) : error 
C2872: 'VLILight' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3867) : error 
C2872: 'VLILight' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3959) : error 
C2872: 'VLICutPlane' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3963) : error 
C2872: 'VLICutPlane' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3969) : error 
C2872: 'VLICutPlane' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4345) : error 
C2872: 'VLIVolume' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4367) : error 
C2872: 'VLIVolume' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4415) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4415) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4415) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4416) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4418) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4418) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4418) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4419) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4421) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4421) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4422) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4422) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4424) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4424) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4424) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4427) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4427) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4427) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.h(142) : error 
C2872: 'VLIVolume' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.h(143) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(85) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(85) : error 
C2440: '=' : cannot convert from 'class VLIContext *' to 'class 
vli3::VLIContext *'
       Types pointed to are unrelated; conversion requires reinterpret_cast, 
C-style cast or function-style cast
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(92) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(92) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(92) : error 
C2440: '=' : cannot convert from 'class VLILookupTable *' to 'class 
vli3::VLILookupTable *'
       Types pointed to are unrelated; conversion requires reinterpret_cast, 
C-style cast or function-style cast
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(100) : error 
C2027: use of undefined type 'VLIContext'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(60) : see 
declaration of 'VLIContext'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(100) : error 
C2227: left of '->GetClassifier' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(100) : error 
C2228: left of '.SetLookupTable' must have class/struct/union type
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(102) : error 
C2872: 'VLICutPlane' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(102) : error 
C2440: '=' : cannot convert from 'class VLICutPlane *' to 'class 
vli3::VLICutPlane *'
       Types pointed to are unrelated; conversion requires reinterpret_cast, 
C-style cast or function-style cast
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(124) : error 
C2027: use of undefined type 'VLIContext'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(60) : see 
declaration of 'VLIContext'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(124) : error 
C2227: left of '->RemoveLight' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(125) : error 
C2027: use of undefined type 'VLILight'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(63) : see 
declaration of 'VLILight'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(125) : error 
C2227: left of '->Release' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(135) : error 
C2027: use of undefined type 'VLICutPlane'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(64) : see 
declaration of 'VLICutPlane'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(135) : error 
C2227: left of '->Release' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(141) : error 
C2027: use of undefined type 'VLILookupTable'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(62) : see 
declaration of 'VLILookupTable'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(141) : error 
C2227: left of '->Release' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(147) : error 
C2027: use of undefined type 'VLIVolume'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(61) : see 
declaration of 'VLIVolume'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(147) : error 
C2227: left of '->IsLocked' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(149) : error 
C2027: use of undefined type 'VLIVolume'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(61) : see 
declaration of 'VLIVolume'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(149) : error 
C2227: left of '->UnlockVolume' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(151) : error 
C2027: use of undefined type 'VLIVolume'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(61) : see 
declaration of 'VLIVolume'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(151) : error 
C2227: left of '->Release' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(169) : error 
C2027: use of undefined type 'VLIContext'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(60) : see 
declaration of 'VLIContext'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(169) : error 
C2227: left of '->Release' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(237) : error 
C2027: use of undefined type 'VLIContext'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(60) : see 
declaration of 'VLIContext'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(237) : error 
C2227: left of '->GetCamera' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(237) : error 
C2228: left of '.SetViewMatrix' must have class/struct/union type
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(252) : error 
C2027: use of undefined type 'VLIContext'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(60) : see 
declaration of 'VLIContext'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(252) : error 
C2227: left of '->GetCamera' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(252) : error 
C2228: left of '.SetProjectionMatrix' must have class/struct/union type
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(263) : error 
C2027: use of undefined type 'VLIContext'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(60) : see 
declaration of 'VLIContext'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(263) : error 
C2227: left of '->SetSamplingFactor' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(268) : error 
C2027: use of undefined type 'VLIContext'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(60) : see 
declaration of 'VLIContext'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(268) : error 
C2227: left of '->SetSamplingFactor' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(277) : error 
C2027: use of undefined type 'VLIContext'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(60) : see 
declaration of 'VLIContext'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(277) : error 
C2227: left of '->SetSamplingFactor' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(310) : error 
C2027: use of undefined type 'VLIContext'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(60) : see 
declaration of 'VLIContext'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(310) : error 
C2227: left of '->RemoveLight' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(311) : error 
C2027: use of undefined type 'VLILight'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(63) : see 
declaration of 'VLILight'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(311) : error 
C2227: left of '->Release' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(319) : error 
C2872: 'VLILight' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(319) : error 
C2440: '=' : cannot convert from 'class VLILight ** ' to 'class 
vli3::VLILight ** '
       Types pointed to are unrelated; conversion requires reinterpret_cast, 
C-style cast or function-style cast
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(323) : error 
C2872: 'VLILight' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(323) : error 
C2440: '=' : cannot convert from 'class VLILight *' to 'class vli3::VLILight 
*'
       Types pointed to are unrelated; conversion requires reinterpret_cast, 
C-style cast or function-style cast
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(324) : error 
C2027: use of undefined type 'VLIContext'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(60) : see 
declaration of 'VLIContext'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(324) : error 
C2227: left of '->AddLight' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(344) : error 
C2027: use of undefined type 'VLILight'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(63) : see 
declaration of 'VLILight'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(344) : error 
C2227: left of '->SetDirection' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(345) : error 
C2027: use of undefined type 'VLILight'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(63) : see 
declaration of 'VLILight'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(345) : error 
C2227: left of '->SetIntensity' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(353) : error 
C2027: use of undefined type 'VLILight'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(63) : see 
declaration of 'VLILight'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(353) : error 
C2227: left of '->SetIntensity' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(431) : error 
C2027: use of undefined type 'VLILookupTable'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(62) : see 
declaration of 'VLILookupTable'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(431) : error 
C2227: left of '->SetColorEntries' must point to class/struct/union
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(432) : error 
C2027: use of undefined type 'VLILookupTable'
       C:\liu\vtk source code\Rendering\vtkVolumeProMapper.h(62) : see 
declaration of 'VLILookupTable'
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.cxx(432) : fatal 
error C1003: error count exceeds 100; stopping compilation
vtkOpenGLVolumeProVP1000Mapper.cxx
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(1627) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3074) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3082) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3641) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3656) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3657) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3675) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3676) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3677) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3678) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3745) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3748) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3805) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3828) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3846) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3850) : error 
C2872: 'VLILookupTable' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3857) : error 
C2872: 'VLILight' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3861) : error 
C2872: 'VLILight' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3867) : error 
C2872: 'VLILight' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3959) : error 
C2872: 'VLICutPlane' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3963) : error 
C2872: 'VLICutPlane' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(3969) : error 
C2872: 'VLICutPlane' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4345) : error 
C2872: 'VLIVolume' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4367) : error 
C2872: 'VLIVolume' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4415) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4415) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4415) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4416) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4418) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4418) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4418) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4419) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4421) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4421) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4422) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4422) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4424) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4424) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4424) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4427) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4427) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\VolumePro1000/inc/vli.h(4427) : error 
C2872: 'VLIContext' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.h(142) : error 
C2872: 'VLIVolume' : ambiguous symbol
C:\liu\vtk source code\Rendering\vtkVolumeProVP1000Mapper.h(143) : error 
C2872: 'VLIContext' : ambiguous symbol
Generating Code...
Error executing cl.exe. 

vtkRendering.dll - 190 error(s), 0 warning(s) 

In CMake,i open the vtk_use_volumepro to on ,and the path of vli.h and 
vli.lib is set correct.All right in CMake. (these vli files are downloaded 
from vtk web) 

The path of vli.h is c:/vtk42/VolumePro1000/inc
The path of vli.lib is c:/vtk42/VolumePro1000/lib
vli3.dll had been copied to c:/windows/system32. 

How to solve the problem?
Thanks. 




More information about the vtkusers mailing list