[vtkusers] VolumePro1000 Compiling Problems

Alex Lear alear at cns.montana.edu
Thu Apr 15 16:03:51 EDT 2004


I think I'm finally getting to the bottom of this.  Not everyone that buys 
the VP1000 gets a CD rom.  I assume thats for people that also buy their SDK. 
 When I got my card this week it did not come with a CD rom (hence the 
confusion and frustration on my end).  After talking to the Terarecon people, 
we have worked out a solution to get the correct files to create the Linux 
library.  Assuming you have these files for linux that are not publicly 
available, the VTK documentation makes more sense.

I now have the correct library files and I have reverted back to original
 unmodified VTK files.  I still need some help getting this going because I
 am still getting errors.  The library is built with files from the
 terarecon version 3.2 sdk package.  The make output is as follows:

Thanks again for the help,
Alex Lear

[START OUTPUT]
Building executable /usr/local/VTK/bin/GraphicsCxxTests...
/usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::istream::operator>>(float&)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::__default_alloc_template<true, 0>::allocate(unsigned)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::basic_istream<char, std::char_traits<char> >& std::operator>><char,
 std::char_traits<char> >(std::basic_istream<char, std::char_traits<char> >&,
 char*)' /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference
 to `std::istream::operator>>(unsigned&)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIVolumeRange::VLIVolumeRange(int, int, int, int, int, int)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `operator new[](unsigned)' /usr/local/VP1000/VolumePro1000/lib/libvli3.so:
 undefined reference to `std::string::assign(char const*, unsigned)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::basic_ios<char, std::char_traits<char>
 >::init(std::basic_streambuf<char, std::char_traits<char> >*)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `__cxa_rethrow' /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined
 reference to `std::ostream::seekp(long, std::_Ios_Seekdir)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLICamera::SetModelMatrix(vli3::VLIMatrix const &)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::ostrstream::ostrstream()' /usr/local/VTK/bin/libvtkRendering.so:
 undefined reference to `vli3::VLIMatrix::IsSingular(void) const'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIDepthBuffer::Create(vli3::VLILocation, unsigned int, unsigned
 int)' /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::ostrstream::pcount() const' /usr/local/VTK/bin/libvtkRendering.so:
 undefined reference to `vli3::VLIMatrix::Identity(void)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLICamera::GetDepthRange(double &, double &) const'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf()'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIVolume::Create(int, unsigned int, unsigned int, unsigned int, int,
 vli3::VLIFieldDescriptor const *, void *)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLILookupTable::Create(vli3::VLILookupTable::Size)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLICrop::SetFlags(int)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::ostrstream::rdbuf() const'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::string::_Rep::_S_terminal'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::ostrstream::~ostrstream()'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::basic_filebuf<char, std::char_traits<char> >::close()'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLICutPlane::Create(double, double, double, double, double, double,
 vli3::VLICutPlane::Flags)' /usr/local/VTK/bin/libvtkRendering.so: undefined
 reference to `vli3::VLIVector4D::VLIVector4D(vli3::VLIVector4D const &)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `vtable for std::basic_fstream<char, std::char_traits<char> >'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `__cxa_call_unexpected' /usr/local/VP1000/VolumePro1000/lib/libvli3.so:
 undefined reference to `std::istream::operator>>(int&)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIClassifier::SetLookupTable(vli3::VLITableNumber,
 vli3::VLILookupTable *)' /usr/local/VP1000/VolumePro1000/lib/libvli3.so:
 undefined reference to `std::basic_ostream<char, std::char_traits<char> >&
 std::operator<< <std::char_traits<char> >(std::basic_ostream<char,
 std::char_traits<char> >&, char)' /usr/local/VTK/bin/libvtkRendering.so:
 undefined reference to `vli3::VLILight::CreateDirectional(void)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::istream::putback(char)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::basic_filebuf<char, std::char_traits<char> >::open(char const*,
 std::_Ios_Openmode)' /usr/local/VTK/bin/libvtkRendering.so: undefined
 reference to `vli3::VLIVector4D::operator[](int)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIMatrix::operator*(vli3::VLIVector4D const &) const'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::basic_fstream<char, std::char_traits<char> >::open(char const*,
 std::_Ios_Openmode)' /usr/local/VP1000/VolumePro1000/lib/libvli3.so:
 undefined reference to `std::ostrstream::str()'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `vtable for __cxxabiv1::__si_class_type_info'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `operator delete(void*)' /usr/local/VP1000/VolumePro1000/lib/libvli3.so:
 undefined reference to `std::istream::peek()'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::istream::seekg(long, std::_Ios_Seekdir)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIConfiguration::GetNumberOfBoards(void)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIVector3D::Normalize(double)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::strstreambuf::freeze(bool)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `__cxa_end_catch' /usr/local/VTK/bin/libvtkRendering.so: undefined reference
 to `vli3::VLICrop::SetSlabs(double, double, double, double, double, double)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLICamera::GetModelMatrix(void) const'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::terminate()' /usr/local/VTK/bin/libvtkRendering.so: undefined
 reference to `vli3::VLIMatrix::LookAt(vli3::VLIVector3D const &,
 vli3::VLIVector3D const &, vli3::VLIVector3D const &)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIConfiguration::GetBoardMajorVersion(void)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::string::replace(unsigned, unsigned, char const*, unsigned)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIMatrix::operator*(vli3::VLIMatrix const &) const'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `__gxx_personality_v0' /usr/local/VTK/bin/libvtkRendering.so: undefined
 reference to `vli3::VLIConfiguration::VLIConfiguration(void)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLICamera::SetViewMatrix(vli3::VLIMatrix const &)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::string::_Rep::_S_create(unsigned, std::allocator<char> const&)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIVector3D::Assign(double, double, double)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `_Unwind_Resume' /usr/local/VTK/bin/libvtkRendering.so: undefined reference
 to `vli3::VLIConfiguration::GetBoardMinorVersion(void)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::istrstream::~istrstream()' /usr/local/VTK/bin/libvtkRendering.so:
 undefined reference to `vli3::VLIShareable::Release(void)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `__cxa_pure_virtual' /usr/local/VTK/bin/libvtkRendering.so: undefined
 reference to `vli3::VLIMatrix::VLIMatrix(void)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::ios_base::ios_base()' /usr/local/VTK/bin/libvtkRendering.so: undefined
 reference to `vli3::VLIConfiguration::GetAvailableMemory(int)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::istream::get(char&)' /usr/local/VP1000/VolumePro1000/lib/libvli3.so:
 undefined reference to `std::string::_S_empty_rep_storage'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIVector4D::Normalize(double)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIConfiguration::GetMaxLockedSize(unsigned int, unsigned int &,
 unsigned int &, unsigned int &)' /usr/local/VTK/bin/libvtkRendering.so:
 undefined reference to `vli3::VLIMatrix::Assign(double, double, double,
 double, double, double, double, double, double, double, double, double,
 double, double, double, double)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::ios_base::Init::Init()'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::__throw_logic_error(char const*)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::istream::read(char*, int)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `vtable for __cxxabiv1::__class_type_info'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLICamera::GetViewMatrix(void) const'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIConfiguration::GetGradientTableLength(void)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIMatrix::Inverse(void) const'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLICamera::GetViewport(int &, int &, int &, int &) const'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `operator delete[](void*)' /usr/local/VTK/bin/libvtkRendering.so: undefined
 reference to `vli3::VLICrop::~VLICrop(void)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIClose(void)' /usr/local/VTK/bin/libvtkRendering.so: undefined
 reference to `vli3::VLIMatrix::operator[](int)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::basic_filebuf<char, std::char_traits<char> >::~basic_filebuf()'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIContext::Create(vli3::VLILookupTable *)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::istream::tellg()' /usr/local/VTK/bin/libvtkRendering.so: undefined
 reference to `vli3::VLIImageBuffer::Create(vli3::VLILocation, unsigned int,
 unsigned int, unsigned int, int, vli3::VLIFieldDescriptor const *)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `vtable for __cxxabiv1::__vmi_class_type_info'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLICamera::SetProjectionMatrix(vli3::VLIMatrix const &)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::ios_base::Init::~Init()'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::istrstream::istrstream(char*, int)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIOpenInternal(int, int)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::ios_base::~ios_base()' /usr/local/VP1000/VolumePro1000/lib/libvli3.so:
 undefined reference to `__cxa_begin_catch'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::__basic_file<char>::is_open() const'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLICamera::GetProjectionMatrix(void) const'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIVector4D::VLIVector4D(double, double, double, double)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `vtable for std::basic_ios<char, std::char_traits<char> >'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLICrop::VLICrop(void)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::ostream::write(char const*, int)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIImageRange::VLIImageRange(int, int, int, int)'
 /usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIVector3D::VLIVector3D(void)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `operator new(unsigned)' /usr/local/VTK/bin/libvtkRendering.so: undefined
 reference to `vli3::VLIMatrix::Ortho(double, double, double, double, double,
 double)' /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference
 to `std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to `VTT
 for std::basic_fstream<char, std::char_traits<char>

>'

/usr/local/VTK/bin/libvtkRendering.so: undefined reference to
 `vli3::VLIVector3D::VLIVector3D(float const *)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::istream::seekg(std::fpos<__mbstate_t>)'
 /usr/local/VP1000/VolumePro1000/lib/libvli3.so: undefined reference to
 `std::istream::get()' collect2: ld returned 1 exit status
make[5]: *** [/usr/local/VTK/bin/GraphicsCxxTests] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Cxx] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Graphics_Testing] Error 2
make: *** [default_target] Error 2
[END OUTPUT]



More information about the vtkusers mailing list