[vtkusers] VolumePro1000 Compiling Problems
Mathieu Malaterre
mathieu.malaterre at kitware.com
Tue Apr 13 17:10:43 EDT 2004
Alex,
No there is a misunderstanding, VolumePro 1000 is still fully supported
in VTK CVS:
http://vtk.org/cgi-bin/cvsweb.cgi/VTK/Rendering/vtkVolumeProVP1000Mapper.h
But this is true that VP 500 was removed three months ago from CVS.
Anyway they are both in VTK 4.2 branch.
Looking quickly at your code there seems to be a small problem:
Because we try to support all version we did this in
vtkVolumeProMapper.h but apparently this is failing for you:
#if defined (VTK_HAVE_VP1000) || defined (VTK_FORCE_COMPILE_VP1000)
namespace vli3 {
#endif
class VLIContext;
class VLIVolume;
class VLILookupTable;
class VLILight;
class VLICutPlane;
#if defined (VTK_HAVE_VP1000) || defined (VTK_FORCE_COMPILE_VP1000)
}
using namespace vli3;
#endif
Are you sure you set VTK_HAVE_VP1000 with cmake properly ?
Thanks
Mathieu
Alex Lear wrote:
> I was contacted by another user and told that the VolumePro hardware is no
> longer supported with VTK and that is why it wasn't compiling for me. Can
> someone confirm this issue? I really just need to get this hardware up and
> running. Is there an older version that I can revert to that would work?
>
> Thanks,
> Alex
>
>
> On Monday 12 April 2004 04:57 pm, you wrote:
>
>>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
>>
>>_______________________________________________
>>This is the private VTK discussion list.
>>Please keep messages on-topic. Check the FAQ at:
>><http://public.kitware.com/cgi-bin/vtkfaq> Follow this link to
>>subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list