[vtkusers] Wrong way of handing a time-dependent dataset? Memory leaks...

Alessandro A. Bellina bellina at illinois.edu
Thu Feb 19 11:41:10 EST 2009


Thank you for all of the help, but I still get the error I posted
before o compiling sstream after setting the compiler to 4.2

the error now is:

[  0%] Building CXX object Utilities/kwsys/CMakeFiles/vtksys.dir/SystemTools.o
In file included from
/Users/bellina/Code/VTK52/VTK/Utilities/kwsys/SystemTools.cxx:21:
/Users/bellina/Code/VTK52/VTKBuild/Utilities/vtksys/ios/sstream: In
member function 'void vtksys_ios::istringstream::clear(int)':
/Users/bellina/Code/VTK52/VTKBuild/Utilities/vtksys/ios/sstream:178:
error: invalid conversion from 'int' to 'std::_Ios_Iostate'
/Users/bellina/Code/VTK52/VTKBuild/Utilities/vtksys/ios/sstream:178:
error:   initializing argument 1 of 'void std::basic_ios<_CharT,
_Traits>::clear(std::_Ios_Iostate) [with _CharT = char, _Traits =
std::char_traits<char>]'
make[2]: *** [Utilities/kwsys/CMakeFiles/vtksys.dir/SystemTools.o] Error 1
make[1]: *** [Utilities/kwsys/CMakeFiles/vtksys.dir/all] Error 2
make: *** [all] Error 2


On Thu, Feb 19, 2009 at 10:35 AM, Michael Jackson
<mike.jackson at bluequartz.net> wrote:
> export CXX=/Developer/usr/bin/g++-4.2
> export CC=/Developer/usr/bin/gcc-4.2
> cmake ../VTK
>
> Should work for you.
>
> http://developer.apple.com/ReleaseNotes/DeveloperTools/RN-llvm-gcc/index.html
>
> has more notes.
> _________________________________________________________
> Mike Jackson                  mike.jackson at bluequartz.net
> BlueQuartz Software                    www.bluequartz.net
> Principal Software Engineer                  Dayton, Ohio
>
>
>
> On Feb 19, 2009, at 11:25 AM, Alessandro Bellina wrote:
>
>> I think  I made the switch because OpenMP was not supported otherwise...
>> I have to double check. I should be able to change the version on
>> compile.. let me try that
>>
>> Thank you,
>>
>> Alessandro
>>
>> Alessandro A. Bellina
>> bellina at illinois.edu
>> ---
>> Graduate Research Assistant
>> Bioacoustics Research Laboratory
>> Electrical and Computer Engineering
>> ---
>>
>>
>>
>>
>>
>>
>> On Feb 19, 2009, at 10:23 AM, Michael Jackson wrote:
>>
>>>  Why do you think you need gcc 4.3? What is it supposedly offering that
>>> gcc 4.0.1 is not?
>>
>
>



-- 
Alessandro A. Bellina

Graduate Student
Bioacoustics Research Laboratory
Electrical and Computer Engineering
University of Illinois at Urbana-Champaign



More information about the vtkusers mailing list