I want to train an agent for tower defense games, but I met some trouble compiling the environment of game_TD.
In rts/game_TD/ai.h, the symbol AIWithComm is not defined. According to game_MC, which is compilable, I included rts/engine/game_action.h in ai.h, made AIWithComm an alias name of elf::AIWithCommT, but it still does not work due to the following errors:
AIWithComm should not have template argument. (ai.h:19)
AIWithComm, or elf::AIWithCommT, does not have constructor of 3 parameters. (ai.h:39)
AIBase contains lots of methods marked override, which, however, do not override.
The error messages are attached below. My gcc/g++ version is 9.3.0, OS is Ubuntu 20.04.
error.txt
I want to train an agent for tower defense games, but I met some trouble compiling the environment of game_TD. In rts/game_TD/ai.h, the symbol
AIWithComm
is not defined. According to game_MC, which is compilable, I included rts/engine/game_action.h in ai.h, madeAIWithComm
an alias name ofelf::AIWithCommT
, but it still does not work due to the following errors:AIWithComm
should not have template argument. (ai.h:19)AIWithComm
, orelf::AIWithCommT
, does not have constructor of 3 parameters. (ai.h:39)AIBase
contains lots of methods marked override, which, however, do not override.The error messages are attached below. My gcc/g++ version is 9.3.0, OS is Ubuntu 20.04. error.txt