[vtkusers] what is vtkstd
Sean McInerney
seanm at nmr.mgh.harvard.edu
Tue Aug 17 09:13:40 EDT 2004
Emmanuel,
You cannot expect to be able to mix and match VTK classes across
versions. If you *really* need to stick with the 4.2 release while
attempting to evaluate fixes to the EnSightReader made later, you could
*attempt* simply removing the 'vtkstd/' prefix and adding '# define
vtkstd std' in the implementation (.cxx) file (if your system's STL is
good) ... but this is ugly hackery and I suggest moving to VTK 4.4.
Mathieu,
I may be incorrect since I cannot remember the source of this idea,
but I thought having a path component in preprocessor inclusions was a
portability no-no. The various ways of expressing path names among
systems would seem to warrant some concern ... no? Does it test properly
with all configurations supported by CMake / VTK? If so, rock on!
-Sean
P.S. What's the story with the related thread regarding a huge
performance decline on OSX when moving from 4.2 to 4.4?
Emmanuel Guillot wrote:
> In fact, I only replace all the vtk*Ensight*.h and vtk*Ensight*.cxx
> files of my 4.2 release by their most recent version in the CVS. But
> these files include <vtkstd/string> and <vtkstd/vector> that I don't
> have and the compilation crashes with the classical message :
> "VTK/IO/vtkGenericEnSightReader.cxx:28:25: vtkstd/string: No such file
> or directory"
> for each file.
> Manu
>
>> From: Mathieu Malaterre <mathieu.malaterre at kitware.com>
>> To: Emmanuel Guillot <manimag at hotmail.com>
>> CC: vtkusers at vtk.org
>> Subject: Re: [vtkusers] what is vtkstd
>> Date: Tue, 17 Aug 2004 08:51:48 -0400
>>
>> Emmanuel Guillot wrote:
>>
>>> Hi everyone
>>> I'm still working with VTK 4.2 and I have some troubles with the
>>> Ensight6Reader. So I like to see if these troubles still exists in
>>> recent versions. But these files include <vtkstd/string> and
>>> <vtkstd/vector>. I don't see where these files come from and I would
>>> like to know if I can just modify minor things to get it work normally
>>> Thanks
>>> Manu
>>
>>
>> Manu,
>>
>> Could you instead send us the warnings/errors you are seeing, this
>> is more helpfull.
>>
>> vtkstd is the approach we choose to support all possible stl
>> configuration with /featured/ compilers.
>>
>>
>> HTH
>> Mathieu
>>
>>
>
> _________________________________________________________________
> MSN Messenger http://g.msn.fr/FR1001/866 : dialoguez en direct et
> gratuitement avec vos amis !
>
> _______________________________________________
> 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