I'm getting the following error when compiling my program:
(Visual Studio Error):
1>tictac.obj : error LNK2019: unresolved external symbol "protected: void __thiscall BasList::remove_node(class ListNode *,int,int)" (?remove_node@BasList@@IAEXPAVListNode@@HH@Z) referenced in function "public: void __thiscall BasList::remove_head(int,int)" (?remove_head@BasList@@QAEXHH@Z)
(And here it is in GCC, in case that helps too):
/tmp/ccYrl06E.o: In function `BasList::remove_head(int, int)':
tictac.cpp.text._ZN7BasList11remove_headEii[BasList::remove_head(int, int)]+0x25): undefined reference to `BasList::remove_node(ListNode*, int, int)'
Bahhh, why doesn't it give a line number. I don't know what it's referring to since I don't see those functions linked in my main anywhere.
How do I find out where the error is?? Can't double click it =\
----------
If you want to check out the source code, all I'm trying to do is compile this tic tac toe game: http://www.cs.ucsb.edu/~cs165a/Softw...imaxGuide.html
(All code is downloadable via the "AI Library" zip file http://www.cs.ucsb.edu/~cs165a/software.html )
In the zip file, the only files I'm using are tictac.h, tictac.cpp, minimax.h, xlist.h, and blist.h. Try to compile and you'll get a bunch of linker errors
Anyone have any ideas?