[SciPy-user] Building VTK

Matthieu Brucher matthieu.brucher@gmail....
Tue Dec 11 13:57:49 CST 2007


Besides, you tell us you use GCC 3.4.6 but in your description, it is GCC
4.2...
The issue may be solved by linking against GCC libraries, but again, the VTK
ML may be a better place for the solution.

Matthieu

2007/12/11, Matthieu Brucher <matthieu.brucher@gmail.com>:
>
> Hi,
>
> This issue is related to a C++ problem in VTK, not Python, so we can't say
> much. I advise you to post this on the VTK ML.
>
> Matthieu
>
> 2007/12/11, Pye Fie < fie.pye@atlas.cz>:
> >
> > Hello.
> >
> > I would like to build and install VTK and MayaVi2.
> > PC: 2x Dual-core Opteron
> > 275
> > OS: CentOS 5.0, kernel 2.6.18-8.1.15.el5
> > OS compiler: gcc version 4.2.0, gfortran
> >
> > I
> > have already built and installed python2.5.1 and other module with
> > compiler gcc3.4.6.
> > Now I can't build VTK. I am building with gcc3.4.6. Building stops on
> > the following
> > error:
> >
> > [ 74%] Building CXX object
> > IO/CMakeFiles/vtkIOTCL.dir/vtkZLibDataCompressorTcl.o
> > [
> > 74%] Building CXX object IO/CMakeFiles/vtkIOTCL.dir/vtkIOTCLInit.o
> > Linking CXX shared
> > library ../bin/libvtkIOTCL.so
> > [ 74%] Built target vtkIOTCL
> > Scanning dependencies
> > of target vtkParseOGLExt
> > [ 74%] Building CXX object
> > Utilities/ParseOGLExt/CMakeFiles/vtkParseOGLExt.dir/ParseOGLExt.o
> > [
> > 74%] Building CXX object
> > Utilities/ParseOGLExt/CMakeFiles/vtkParseOGLExt.dir/Tokenizer.o
> > Linking
> > CXX executable ../../bin/vtkParseOGLExt
> > CMakeFiles/vtkParseOGLExt.dir/Tokenizer.o:
> > In function `std::__verify_grouping(char const*, unsigned long,
> > std::basic_string<char,
> > std::char_traits<char>, std::allocator<char> > const&)':
> > Tokenizer.cxx:(.text+0x19):
> > undefined reference to `std::basic_string<char, std::char_traits<char>,
> > std::allocator<char>
> > >::size() const'
> > Tokenizer.cxx:(.text+0x70): undefined reference to
> > `std::basic_string<char,
> > std::char_traits<char>, std::allocator<char> >::operator[](unsigned
> > long) const'
> > Tokenizer.cxx: (.text+0xb0):
> > undefined reference to `std::basic_string<char, std::char_traits<char>,
> > std::allocator<char>
> > >::operator[](unsigned long) const'
> > Tokenizer.cxx:(.text+0xdd): undefined reference
> > to `std::basic_string<char, std::char_traits<char>, std::allocator<char>
> > >::operator[](unsigned
> > long) const'
> > CMakeFiles/vtkParseOGLExt.dir/Tokenizer.o: In function
> > `Tokenizer::Tokenizer(char
> > const*, char const*)':
> > Tokenizer.cxx:(.text+0x12a): undefined reference to
> > `std::allocator<char>::allocator()'
> > Tokenizer.cxx:(.text+0x13b):
> > undefined reference to `std::basic_string<char, std::char_traits<char>,
> > std::allocator<char>
> > >::basic_string(char const*, std::allocator<char> const&)'
> > Tokenizer.cxx:(.text+0x14e):
> > undefined reference to `std::allocator<char>::~allocator()'
> > Tokenizer.cxx:(.text+0x164):
> > undefined reference to `std::allocator<char>::~allocator()'
> > Tokenizer.cxx:(.text+0x16d):
> > undefined reference to `std::allocator<char>::allocator()'
> > Tokenizer.cxx:(.text+0x182):
> > undefined reference to `std::basic_string<char, std::char_traits<char>,
> > std::allocator<char>
> > >::basic_string(char const*, std::allocator<char> const&)'
> >
> > The list continues. It
> > seams that there is something wrong with OpenGL but I can't find what is
> > wrong. Could
> > anybody help me?
> > I have attached more detailed information about VTK configuration,
> > building output and building script.
> >
> > Best regards
> > fie pye
> > ------------------------------------------
> >
> > http://search.atlas.cz/
> > _______________________________________________
> > SciPy-user mailing list
> > SciPy-user@scipy.org
> > http://projects.scipy.org/mailman/listinfo/scipy-user
> >
> >
> >
>
>
> --
> French PhD student
> Website : http://matthieu-brucher.developpez.com/
> Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
> LinkedIn : http://www.linkedin.com/in/matthieubrucher




-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20071211/81a816f8/attachment.html 


More information about the SciPy-user mailing list