Undefined reference to functions in header class? [closed]
Hello, I'm currently attempting to convert a C++ driver demo program that came with a hardware system my boss purchased into a C++ ROS node that will do pretty much the same thing (except within ROS), which is to connect to a smart motor and laser scanner via USB and ethernet connections respectively, and then publish the scans continually while rotating the scanner back and forth (the original program saves the scans to a log file, and I will eventually change this to publishing ROS scan_msgs but have not gotten around to this yet). Right now I am running into some strange compiler errors that basically say "undefined reference to <every function="" from="" the="" classes="" in="" the="" imported="" header="" files="">". Here is the code/compiler errors:
CMakeLists: http://pastebin.com/Umi97hN5 (there are a couple other files in this project; I kept them in case their CMake stuff is screwing up this particular node. sweepLaserInterface is the one I'm talking about here) Node: http://pastebin.com/0AuteZeM (not yet modified from original except for the include statements because I moved the header and other cpp files into the include folder) Errors: http://pastebin.com/5zTxwGSm
Any ideas as to what could be going wrong? This program was working perfectly until I tried to repackage it as a ROS node.