Menu

#1 Unable to compile frameview

open
nobody
5
2006-08-21
2006-08-21
Gerpy
No

Hi,

Running an Linux Ubuntu Dapper, I downloaded version
0.2 of the CLS2 source code from sourceforge and
untargzed it. When following the howto, I'm asked to
compile frameview from $CLSQUARE_HOME/tools/frameview.
As a result, I get a

pierre@lourpy:~/Desktop/CLSquare$ cd
$CLSQUARE_HOME/tools/frameview
pierre@lourpy:~/Desktop/CLSquare/tools/frameview$ make
tcpsocket.d generated
udpsocket.d generated
str2val.d generated
valueparser.d generated
vector2d.d generated
angle.d generated
popup_x11.d generated
conv_area2d.d generated
tools.d generated
menu_x11.d generated
ascii_processor.d generated
builder_direct.d generated
joystick_dev.d generated
ascii_dev.d generated
smonitor_dev.d generated
rgb_db.d generated
visobject.d generated
structure.d generated
rgbcolor.d generated
frame2d.d generated
display_x11.d generated
conv.d generated
area2d.d generated
2dview.d generated
g++ -c -Wall -I/usr/X11R6/include 2dview.C
display_base.h:28: attention : «struct DisplayObject»
has virtual functions but non-virtual destructor
display_base.h:38: attention : «class DisplayBase» has
virtual functions but non-virtual destructor
menu_base.h:23: attention : «class MenuBase» has
virtual functions but non-virtual destructor
visobject.h:38: attention : «class VisualObject2d» has
virtual functions but non-virtual destructor
builder_base.h:34: attention : «class BuilderBase» has
virtual functions but non-virtual destructor
builder_direct.h:28: attention : «class BuilderDirect»
has virtual functions but non-virtual destructor
input_dev.h:70: attention : «class InputDevice» has
virtual functions but non-virtual destructor
smonitor_dev.h:221: erreur: «VisualField::FIELD_LENGTH»
cannot appear in a constant-expression
smonitor_dev.h:222: erreur: «VisualField::FIELD_WIDTH»
cannot appear in a constant-expression
smonitor_dev.h:224: erreur: «VisualField::hlen» cannot
appear in a constant-expression
smonitor_dev.h:224: erreur:
«VisualField::FIELD_PENALTY_AREA_LENGTH» cannot appear
in a constant-expression
smonitor_dev.h:225: erreur:
«VisualField::FIELD_PENALTY_AREA_WIDTH» cannot appear
in a constant-expression
smonitor_dev.h:226: erreur: «VisualField::hlen» cannot
appear in a constant-expression
smonitor_dev.h:226: erreur:
«VisualField::FIELD_GOAL_AREA_LENGTH» cannot appear in
a constant-expression
smonitor_dev.h:227: erreur:
«VisualField::FIELD_GOAL_AREA_WIDTH» cannot appear in a
constant-expression
ascii_dev.h:31: attention : «class AsciiDevice» has
virtual functions but non-virtual destructor
joystick_dev.h:27: attention : «class JoystickDevice»
has virtual functions but non-virtual destructor
2dview.C:98: erreur: explicit qualification in
declaration of `bool Options::set_defaults()'
2dview.C:99: erreur: explicit qualification in
declaration of `bool
Options::process_options(ValueParser&)'
make: *** [2dview.o] Erreur 1

What's wrong ?

And good luck for your project, which seems to me more
promising than the RLglue. Hopefully I'll bring you
some new agents. Indeed, I'm preparing a course and
intend to ask my students to code Sarsa, Tabular-DynaQ
and/or Tile-coding agents in addition to those you
bring. Thanks,

Pierre Gérard.

Discussion


Log in to post a comment.