Forums: ヘルプ (Thread #34704)

previous versions with latest worldmodel (2013-11-10 13:39 by SMSS #70755)

Hi
How can I make agent2d-2.1.0 ?
when the librcsc-4.1.0 installed as well and agent2d-3.1.1 make and run correctly, the previous version of the agent2d (e.g. agent2d-2.1.0) do NOT make ...
So, I extract the librcsc-3.2.1 to the inside of the agent2d-2.1.0 directory and configure & make it; but I do NOT make install it ( because the agent2d-3.1.1 faced with problem! ).
and try to make the agent2d-2.1.0 with configure it again with : ./configure --libdir=$DIR/librcsc-3.2.1
which '$DIR' is the prefix of directory
but the agent2d-2.1.0 in make command faced me with that error which is : rcsc::worldmodel doesn't have some thing ( error is at the following line )
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Wall -g -O2 -MT bhv_basic_move.o -MD -MP -MF .deps/bhv_basic_move.Tpo -c -o bhv_basic_move.o bhv_basic_move.cpp
bhv_basic_move.cpp: In member function ‘double Bhv_BasicMove::getDashPower(const rcsc::PlayerAgent*, const rcsc::Vector2D&)’:
bhv_basic_move.cpp:158:13: error: ‘const class rcsc::WorldModel’ has no member named ‘defenseLineX’
bhv_basic_move.cpp:159:36: error: ‘const class rcsc::WorldModel’ has no member named ‘defenseLineX’
make[2]: *** [bhv_basic_move.o] Error 1

Reply to #70755×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: previous versions with latest worldmodel (2013-11-18 17:33 by akky #70861)

If you wants to use librcsc-3.2.1, I recommend you install it somewhere using the '--prefix' option of librcsc's configure script.
Then, you can specify the install path by '--with-librcsc' option of agent2d's configure script.
Please note that you also have to set LD_LIBRARY_PATH environment variable when you run the team.

Regards,
Reply to #70755

Reply to #70861×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login