Computer Science Homework Help
Computer Science Homework Help. [C++] Need help debugging program (undefined reference)
I need help debugging this program so it will run. I’m sure it’s simple, as it is directly from the book and should work as-is, but something is off.
Debugger Log:
====================[ Build | ch12 | Debug ]====================================
“C:Program FilesJetBrainsCLion 2019.2bincmakewinbincmake.exe” –build C:UserspersonCLionProjectsch12cmake-build-debug –target ch12 — -j 2
[ 20%] Linking CXX executable ch12.exe
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: CMakeFilesch12.dir/objects.a(main.cpp.obj): in function `main’:
C:/Users/person/CLionProjects/ch12/main.cpp:10: undefined reference to `orderedArrayListType::orderedArrayListType(int)’
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:/Users/person/CLionProjects/ch12/main.cpp:10: undefined reference to `orderedArrayListType::~orderedArrayListType()’
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:/Users/person/CLionProjects/ch12/main.cpp:10: undefined reference to `orderedArrayListType::~orderedArrayListType()’
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[3]: *** [ch12.exe] Error 1
CMakeFilesch12.dirbuild.make:129: recipe for target ‘ch12.exe’ failed
mingw32-make.exe[2]: *** [CMakeFiles/ch12.dir/all] Error 2
CMakeFilesMakefile2:71: recipe for target ‘CMakeFiles/ch12.dir/all’ failed
CMakeFilesMakefile2:83: recipe for target ‘CMakeFiles/ch12.dir/rule’ failed
mingw32-make.exe[1]: *** [CMakeFiles/ch12.dir/rule] Error 2
mingw32-make.exe: *** [ch12] Error 2
Makefile:117: recipe for target ‘ch12’ failed
Computer Science Homework Help
"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!"
![](https://courseworkgeeks.com/wp-content/uploads/2018/08/order_now-1.png)