[vtkusers] VolumePro1000 Compiling Problems

Alex Lear alear at cns.montana.edu
Mon Apr 12 18:57:38 EDT 2004


I'm compiling a fresh VTK-4.2-LatestRelease for volume pro (VP1000) support.  
After adding the required vli3 library and header and configuring with 
ccmake, I am getting the following make output (trimmed due to length):

[START OUTPUT]

Building object file vtkVolumeProMapper.o...
In file included from /usr/local/VTK/Rendering/vtkVolumeProVP1000Mapper.h:58,
                 from /usr/local/VTK/Rendering/vtkVolumeProMapper.cxx:27:
/usr/local/VTK/vli3/include/vli.h:1627: use of `VLIContext' is
ambiguous
/usr/local/VTK/vli3/include/vli.h:1597:   first declared as `class
VLIContext' here
/usr/local/VTK/Rendering/vtkVolumeProMapper.h:60:   also declared as `class 
vli3::VLIContext' here
/usr/local/VTK/vli3/include/vli.h:1627: `VLIContext' denotes an
ambiguous type
/usr/local/VTK/vli3/include/vli.h:1597:   first type here
/usr/local/VTK/Rendering/vtkVolumeProMapper.h:60:   other type here
/usr/local/VTK/vli3/include/vli.h:1627: `inContext' was not declared in
this scope
/usr/local/VTK/vli3/include/vli.h:1629: parse error before `)'
/usr/local/VTK/vli3/include/vli.h:3074: parse error before `*'
/usr/local/VTK/vli3/include/vli.h:3082: parse error before `*'
/usr/local/VTK/vli3/include/vli.h:3146: use of `VLILookupTable' is
ambiguous
/usr/local/VTK/vli3/include/vli.h:3124:   first declared as `class
VLILookupTable' here
/usr/local/VTK/Rendering/vtkVolumeProMapper.h:62:   also declared as `class 
vli3::VLILookupTable' here /usr/local/VTK/vli3/include/vli.h:3146: 
`VLILookupTable' denotes an
ambiguous type
/usr/local/VTK/vli3/include/vli.h:3124:   first type here
/usr/local/VTK/Rendering/vtkVolumeProMapper.h:62:   other type here
/usr/local/VTK/vli3/include/vli.h:3641: type specifier omitted for
parameter
/usr/local/VTK/vli3/include/vli.h:3641: parse error before `*'
/usr/local/VTK/vli3/include/vli.h:3656: type specifier omitted for
parameter
/usr/local/VTK/vli3/include/vli.h:3656: parse error before `*'
/usr/local/VTK/vli3/include/vli.h:3675: type specifier omitted for
parameter
/usr/local/VTK/vli3/include/vli.h:3675: parse error before `*'
/usr/local/VTK/vli3/include/vli.h:3745: type specifier omitted for
parameter
/usr/local/VTK/vli3/include/vli.h:3745: parse error before `*'
/usr/local/VTK/vli3/include/vli.h:3748: syntax error before `*'
/usr/local/VTK/vli3/include/vli.h:3805: syntax error before `*'
/usr/local/VTK/vli3/include/vli.h:3821: use of `VLIContext' is
ambiguous

[END OUTPUT]

I want to get VP1000 support going soon, what do I need to do to get this to 
work?  I saw a similar problem in the archives but the solution wasn't clear.

Thanks for your help,

Alex




More information about the vtkusers mailing list