Undefined reference namespace and class [closed]
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
You're going to have to give more info than that. How about the actual error message for starters?
"undefined reference error" to one function of my namespace so i cant call the function