When I compile my code for a linked list, I get a bunch of undefined reference errors. The code is below. I have been compiling with both of these statements:
I was getting this error because my cpp files was not added in the CMakeLists.txt file