The problem I am having is that, when I call a constructor for a class I have created I get the following error.
main.cpp:20: undefined reference to
I had the same issue but mine was because I'm using Eclipse CDT with and Autotools project. So I had to manually add the new .h and .cpp files to the corresponding Makefile.am, and then do a project > reconfigure project, rebuild, an that was it.
.h
.cpp
Makefile.am