undefined reference linker error

Posted by klaus-johan on Stack Overflow See other posts from Stack Overflow or by klaus-johan
Published on 2010-03-23T20:24:27Z Indexed on 2010/03/23 20:33 UTC
Read the original article Hit count: 436

Filed under:
|
|

Hi,

I've stuck myself in a c++ project under linux ,for which I get an undefined reference when I try to create an object of a class that I just wrote.I believe this is an linker error caused by the fact that somewhere , somehow I should tell the linker to take into account the new class. I looked at the project properties and at the run command it executes a script (cmake.sh) . Because the project wasn't created by me , and because I'm a novice in working under linux, I just don't know how to direct the linker to do what I expect him to do !

© Stack Overflow or respective owner

Related posts about c++

Related posts about linux