Missing headers when building bats (2008 code)

Asked by davidc

Hi,

I've successfully installed libbats 2.0 and got the HelloWorldAgent running, however I'd like to run the agent in the repository under /bats to see a full game in action. When trying to build it I came across several dependency errors, most of which I fixed by changing the configure.in to require the same libraries that libbats 2.0 does, however I am stuck on one error:

In file included from humanoidbat.cc:9:
../bats/FitnessFunction/FitnessWalk/fitnesswalk.hh:50:22: error: vector4.hh: No such file or directory
../bats/FitnessFunction/FitnessWalk/fitnesswalk.hh:51:22: error: vector3.hh: No such file or directory

I cannot figure out where vector3.hh and vector4.hh are supposed to come from, they are not part of Eigen and they do not appear anywhere in the bzr tree. Can you help?

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
littlegreenbats Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sander van Dijk (sgvandijk) said :
#1

The 2008 BATS source code does not require libbats, at that time all code was maintained in the agent source code, there was no separate library yet. Also, it should not be configured and compiled with the autotools stuff included with it, or the configure script. it should be possible to compile it using make and the supplied Makefile.

However, this is probably a useless exercise in any case, since that code is very outdated and only supplied as a reference. If you finally do manage to compile it, the resulting binary will most likely not work with the latest versions of SimSpark/RCSSServer3D.

I do believe team Little Green BATS (of which I am not myself a member any more, so I have no say in this) is planning to release their latest source code, which should work with libbats 2.0. However, if you want to set up your own team, it is probably better to just take libbats 2.0 and build up from there, using the manual and example agent supplied with it.

Good luck

Can you help with this problem?

Provide an answer of your own, or ask davidc for more information if necessary.

To post a message you must log in.