Originally posted by Magnus W:
I have been working on a small OpenGL project lately and just started using Codewarrior. I have had some problems getting Codewarrior to link the program properly when using .h/.cpp files in combination.
Everything works if I put a
#include "file.cpp" at the end of my "file.h" header file, (or if I put all of the code in a .cpp file and include that one in the main program) but otherwise it doesn't seem to find the .cpp file at all.
Everything compiles nicely, but the linker gives me the following error:
Link Error : undefined 'M_Filter3f::~M_Filter3f()' (descriptor)
Referenced from '__sinit_TerraTester3_cpp' in TerraTester3.cpp
Does anybody know what could be wrong?