Building target: NPuzzle Invoking: MacOS X C++ Linker g++ -arch i386 -o "NPuzzle" ./src/Puzzle.o ./src/Tree.o ./src/astar.o ./src/manhattan.o ./src/npuzzle.o Undefined symbols: "Tree<Puzzle>::addChild(Puzzle)", referenced from: _main in npuzzle.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [NPuzzle] Error 1 |
|
|
|
|
|
|
npuzzle.cpp" ../src/npuzzle.cpp: In function 'int main()': ../src/npuzzle.cpp:21: error: 'Tree' was not declared in this scope ../src/npuzzle.cpp:21: error: expected primary-expression before '>' token ../src/npuzzle.cpp:21: error: 'puzzle_tree' was not declared in this scope make: *** [src/npuzzle.o] Error 1 |