Linker error: "undefined reference to class constructor" -
i'm trying build program. programme uses class , creates instances of it. while building programme linker error "undefined reference class constructor". component in constructor definition nowadays has been included static library dependency , nowadays in "/usr/lib/" folder. static library contains required symbols. i'm still not able resolve "undefined reference" error
i guess, you've cpp file implementation of <%classname%>. if so, think you've missed register cpp-file in build system. when linker tries resolve referencies on <%classname%>'s fellow member function(s) , constructor(s) may issue error if won't find related implementation( here mean compiled assembly-code routine ), because wasn't compiled.
linker
No comments:
Post a Comment