Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] Link errors while outputing Points/Vectors


Chronological Thread 
  • From: Christiaan Paul Gribble <cgribble@sci.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: [MANTA] Link errors while outputing Points/Vectors
  • Date: Sat, 14 May 2005 17:41:02 -0600

Howdy,

I'm running into what should be a silly problem: I'm trying to output the elements of some Point and Vector variables, as in:

std::cout<<"point  = "<<point_var<<"\n";
std::cout<<"vector = "<<vector_var<<"\n";

The new code builds just fine, but in the link stage of the manta executable, I get the following error:

Building executable /home/cgribble/code/ThirdParty/Manta/linux/bin/manta...
/usr/i686-pc-linux-gnu/gcc-bin/3.3/g++ -fPIC manta.o -o /home/cgribble/code/ThirdParty/Manta/linux/bin/manta -rdynamic -L/home/cgribble/code/ThirdParty/Manta/linux/lib -L/usr/X11R6/lib-lManta_Engine -lManta_UserInterface -lManta_Model -lManta_Image -lManta_Interface -lManta_Core -lSCIRun_Core -lpthread -lMesaGLU -lMesaGL -lSM -lICE -lX11 -lXext -lSM -lICE -lSM -lICE -lX11 -lXext -lX11 -lXext -lm -Wl,-rpath,/home/cgribble/code/ThirdParty/Manta/linux/lib:/usr/X11R6/lib
/home/cgribble/code/ThirdParty/Manta/linux/lib/libManta_Model.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& Manta::operator<< <double, 3>(std::basic_ostream<char,std::char_traits<char> >&, Manta::PointT<double, 3> const&)'
/home/cgribble/code/ThirdParty/Manta/linux/lib/libManta_Model.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& Manta::operator<< <double, 3>(std::basic_ostream<char,std::char_traits<char> >&, Manta::VectorT<double, 3> const&)'
collect2: ld returned 1 exit status

Is there some trick I have to play to get around this?

Thanks,

C





Archive powered by MHonArc 2.6.16.

Top of page