Sometimes, when I try running the code on the robot, it refuses to transfer over during debug mode because of "unresolved references". It then displays a popup containing the semi-garbled names of various functions or classes that I placed in my header files but forgot to actually write in the corresponding .cpp file.
It's relatively easy to catch them at this stage, but is there some way to catch these errors at compile time? It's frustrating to have to wait until I'm next to a cRIO so I can catch these sorts of mistakes, instead of being able to detect them at home while coding.
I did find a
Stack Overflow thread which listed a few compiler flags which should be able to do what I want, but I couldn't figure out how to apply them to my WindRiver project.
Help?