Record Detail

Compile Error

TestFunctions.o: In function `buildBalancedTree(int)':
/in/compile/TestFunctions.cpp:39: undefined reference to `BinaryTree::~BinaryTree()'
/in/compile/TestFunctions.cpp:38: undefined reference to `BinaryTree::~BinaryTree()'
/in/compile/TestFunctions.cpp:39: undefined reference to `BinaryTree::~BinaryTree()'
/in/compile/TestFunctions.cpp:38: undefined reference to `BinaryTree::~BinaryTree()'
TestFunctions.o: In function `buildRandomTree(int, int)::{lambda(int)#1}::operator()(int) const':
/in/compile/TestFunctions.cpp:64: undefined reference to `BinaryTree::~BinaryTree()'
TestFunctions.o:/in/compile/TestFunctions.cpp:63: more undefined references to `BinaryTree::~BinaryTree()' follow
collect2: error: ld returned 1 exit status
/in/compile/Makefile:56: recipe for target 'test' failed
make: *** [test] Error 1

Information

Submit By
Type
Submission
Homework
Exercise 6
Language
C++
Submit At
2024-12-13 05:14:30
Judged At
2024-12-13 05:14:30
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes