[Insight-users] ITK VTK Errors

Luis Ibanez luis.ibanez at kitware.com
Sun Apr 10 11:45:48 EDT 2005


Hi Willie,


It looks like you are using "cout" without the "std" namespace.

Please make sure that you use


               "std::cout"


Regards,


     Luis


--------------------

Willie Johnson wrote:

> I'm trying to use ITK with VTK on an IRIX machine and
> I am getting linking errors when I try to compile my
> program.  I saw something on the FAQ about stream
> errors.  I made sure that I included all of my ITK
> files first, but that didn't help.  Any suggestions? 
> Thanks in advance.
> 
> ------------------------------------------------------
> 
> ld32: ERROR   33 : Unresolved text symbol "cout" --
> 1st referenced by 
> dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::operator<<(char 
> const *)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::operator<<(unsigned 
> long)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "endl(ostream &) " -- 1st 
> referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::operator<<(ostream 
> &(*)(ostream &))" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol "cerr" --
> 1st referenced by 
> dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "__out_of_range(char const 
> *)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol 
> "string_char_traits<char>::copy(char *, char const *,
> unsigned int)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol 
> "string_char_traits<char>::move(char *, char const *,
> unsigned int)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "__length_error(char const 
> *)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol 
> "string_char_traits<char>::compare(char const *, char
> const *, unsigned int)" -- 1st referenced by 
> dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol 
> "complex<float>::complex(float, float)" -- 1st
> referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol 
> "complex<double>::complex(double, double)" -- 1st
> referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "complex<long 
> double>::complex(long double, long double)" -- 1st
> referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::operator<<(void 
> const *)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::operator<<(bool)" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::operator<<(int)" -- 
> 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::write(char const *, 
> int)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::operator<<(double)" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::operator<<(float)" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ifstream::ifstream(int)" -- 
> 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ifstream::open(char const *, 
> int, int)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ios::fail(void) const" -- 
> 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "fstreambase::close(void)" -- 
> 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ifstream::~ifstream(void)" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::operator<<(long)" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::operator<<(unsigned 
> int)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ios::~ios(void)" -- 1st 
> referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ios::ios(streambuf *, 
> ostream *)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "complex<float>::real(void) 
> const" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "complex<float>::imag(void) 
> const" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "complex<double>::real(void) 
> const" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "complex<double>::imag(void) 
> const" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "complex<long 
> double>::real(void) const" -- 1st referenced by
> dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "complex<long 
> double>::imag(void) const" -- 1st referenced by
> dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol 
> "string_char_traits<char>::length(char const *)" --
> 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::pbase(void) 
> const" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::pptr(void) const" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::ostream(int, 
> streambuf *, ostream *)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol 
> "string_char_traits<char>::assign(char &, char const
> &)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol "ostream
> type_info function" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "ostream::ios virtual table" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::streambuf(int)" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::~streambuf(void)" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol 
> "string_char_traits<char>::eos(void)" -- 1st
> referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol "streambuf
> type_info 
> function" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol "streambuf
> type_info node" -- 
> 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::gptr(void) const" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::eback(void) 
> const" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::sputc(int)" -- 
> 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::egptr(void) 
> const" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::epptr(void) 
> const" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::gbump(int)" -- 
> 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::pbump(int)" -- 
> 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::setg(char *, char 
> *, char *)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::setp(char *, char 
> *)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol "ostream
> type_info node" -- 
> 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::uflow(void)" -- 
> 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::pbackfail(int)" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::xsputn(char const 
> *, int)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::xsgetn(char *, 
> int)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::sync(void)" -- 
> 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::doallocate(void)" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::sys_read(char *, 
> int)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::sys_write(char 
> const *, int)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::sys_seek(long 
> long, ios::seek_dir)" -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::sys_close(void)" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: ERROR   33 : Unresolved text symbol
> "streambuf::sys_stat(void *)" 
> -- 1st referenced by dude.o.
>         Use linker option -v to see when and which
> objects, archives 
> and dsos are loaded.  
> ld32: INFO    152: Output file removed because of
> error.
> collect2: ld returned 2 exit status
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> 
> 
> 
> 
> 		
> __________________________________ 
> Yahoo! Messenger 
> Show us what our next emoticon should look like. Join the fun. 
> http://www.advision.webevents.yahoo.com/emoticontest
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 





More information about the Insight-users mailing list