[vtkusers] Re: vtk python

Edward Hartley hartley at comp.lancs.ac.uk
Fri Apr 11 05:30:45 EDT 2003


On Thursday, April 10, 2003, at 08:30  pm, Charl P. Botha wrote:

> Please keep this on the list as it might be useful to others!
>
OK will do
> 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.

Probably because I've got too used to typing ./configure expecting the 
options to be taken care of ;-)
This sorts it out many thanks

> -- 
> charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
>




More information about the vtkusers mailing list