undefined reference

Posted by rantravee on Stack Overflow See other posts from Stack Overflow or by rantravee
Published on 2010-03-23T19:36:25Z Indexed on 2010/03/23 19:43 UTC
Read the original article Hit count: 305

Filed under:

Hi,

I'm unfamiliar to working in c++ under linux so I have some issues, one of them is that after I write a class and try to instantiate an object of that class I get to following error : "undefined reference to Constructor_of_that_class" . This happens for every class that I write , and it happens no matter where I try to do the instantiating, even if the code compiles without any problems . What is going wrong here and what I have to do to get over this error ? Because the project that I'm working wasn't created by me I suspect that it has to do something with some settings but I don't know which.

© Stack Overflow or respective owner

Related posts about c++