Hey everyone :)! I am using Mac Eclipse with GCC to learn c++.
I have improved in my c++ immensely recently but eclipse is throwing a bizarre error at me lately which stops it from compiling anything even when it has no actual code errors.
It says - symbol(s) not found! and make: *** [base constructors and stuff] error 1. But it doesn't point to anywhere in the code source that could possibly be wrong. I am guessing it has something to do with the makefile. But I don't know how makefiles work yet so here it is.
Is there anything that strikes you as bad? If not I'll post my source code to see if there's any small thing I'm doing wrong that might cause mac to throw this error.
A) Why multi word target names? IMO only makes the whole thing harder to read, without any gain.
B) Is that the exact error message? Might be a linker error... OR something might be wrong with your makefile (e.g. you using a symbol that was not declared previously) but that's hard to tell as we can't see its full contents.
OK I noticed I hadn't added the destructor for each object. So I put them in and it worked. Whoops haha. I'll remember to look for that next time.
Thanks for your help though guys.
Hanst - I didn't know multiword names made it any difference in readability. I just read the makefile and I see what you mean. I'll make sure to make it a single word from here on :)