Record Detail

Compile Error

/tmp/main-f3ab1a.o: In function `Game::startgame()':
main.cpp:(.text._ZN4Game9startgameEv[_ZN4Game9startgameEv]+0x1d): undefined reference to `P2random::initialize(unsigned int, unsigned int, unsigned int, unsigned int)'
/tmp/main-f3ab1a.o: In function `Game::read_zombies()':
main.cpp:(.text._ZN4Game12read_zombiesEv[_ZN4Game12read_zombiesEv]+0xdf): undefined reference to `P2random::getNextZombieName[abi:cxx11]()'
main.cpp:(.text._ZN4Game12read_zombiesEv[_ZN4Game12read_zombiesEv]+0x196): undefined reference to `P2random::getNextZombieDistance()'
main.cpp:(.text._ZN4Game12read_zombiesEv[_ZN4Game12read_zombiesEv]+0x19f): undefined reference to `P2random::getNextZombieSpeed()'
main.cpp:(.text._ZN4Game12read_zombiesEv[_ZN4Game12read_zombiesEv]+0x1a8): undefined reference to `P2random::getNextZombieHealth()'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Information

Submit By
Type
Submission
Homework
Project Tests
Language
C++ (Clang++, with memory check)
Submit At
2023-10-02 08:53:26
Judged At
2023-10-02 08:53:26
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes