Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

game_TD not compilable #147

Open
LiuTed opened this issue May 17, 2021 · 0 comments
Open

game_TD not compilable #147

LiuTed opened this issue May 17, 2021 · 0 comments

Comments

@LiuTed
Copy link

LiuTed commented May 17, 2021

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:

  1. AIWithComm should not have template argument. (ai.h:19)
  2. AIWithComm, or elf::AIWithCommT, does not have constructor of 3 parameters. (ai.h:39)
  3. 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant