Undefined reference namespace and class
Hello,
i have a problem with my package and the reference
add_executable(node src/node.cpp src/namespace.cpp src/class.cpp )
I have one executable and my class. My class need the reference to my namespace how i can do this? I cant define it as executable? Should i define the class as library or what is the best war for this?
When I add it to the node i get undefined reference error
can anyone help me?
thank you
Asked by Hunk on 2013-07-31 20:49:06 UTC
Comments
You're going to have to give more info than that. How about the actual error message for starters?
Asked by thebyohazard on 2013-08-01 03:22:57 UTC
"undefined reference error" to one function of my namespace so i cant call the function
Asked by Hunk on 2013-08-01 03:38:24 UTC