[vtkusers] Re: vtk python
    Charl P. Botha 
    c.p.botha at its.tudelft.nl
       
    Thu Apr 10 15:30:22 EDT 2003
    
    
  
Please keep this on the list as it might be useful to others!
On Thu, Apr 10, 2003 at 04:19:51PM +0100, Edward Hartley wrote:
> /usr/local/packages/VTK-4.2.1/bin/libvtkIO.so: undefined reference to 
> `istream::seekg(long long)'
> /usr/local/packages/VTK-4.2.1/bin/libvtkIO.so: undefined reference to 
> `ios::rdstate(void) const'
> /usr/local/packages/VTK-4.2.1/bin/libvtkCommon.so: undefined reference 
> to `ostrstream::str(void)'
> /usr/local/packages/VTK-4.2.1/bin/libvtkIO.so: undefined reference to 
> `istream::operator>>(double &)'
> /usr/local/packages/VTK-4.2.1/bin/libvtkCommon.so: undefined reference 
> to `streambuf::pbase(void) const'
> /usr/local/packages/VTK-4.2.1/bin/libvtkCommon.so: undefined reference 
> to `streambuf::uflow(void)'
> /usr/local/packages/VTK-4.2.1/bin/libvtkIO.so: undefined reference to 
> `ostream::seekp(long long)'
> /usr/local/packages/VTK-4.2.1/bin/libvtkIO.so: undefined reference to 
> `ifstream::ifstream(int, char const *, int, int)'
> /usr/local/packages/VTK-4.2.1/bin/libvtkCommon.so: undefined reference 
> to `string_char_traits<char>::assign(char &, char const &)'
> /usr/local/packages/VTK-4.2.1/bin/libvtkCommon.so: undefined reference 
> to `streambuf::seekpos(long long, int)'
> /usr/local/packages/VTK-4.2.1/bin/libvtkCommon.so: undefined reference 
> to `streambuf::seekoff(long long, ios::seek_dir, int)'
> /usr/local/packages/VTK-4.2.1/bin/libvtkCommon.so: undefined reference 
> to `streambuf type_info function'
> collect2: ld returned 1 exit status
> make[3]: *** [/usr/local/packages/VTK-4.2.1/bin/vtkpython] Error 1
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Wrapping_Python] Error 2
> make: *** [default_target] Error 2
SNIP
> //C++ compiler
> CMAKE_CXX_COMPILER:STRING=/usr/bin/gcc
This is your problem.  *WHY* is this gcc and not g++ or c++?  Fix this and
your build should work.
-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
    
    
More information about the vtkusers
mailing list