Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

error: ‘class ALEInterface’ has no member named ‘set’ #7

Copy link
Copy link
@SeekPoint

Description

@SeekPoint
Issue body actions

envy@ub1404:/os_pri/github/ale_python_interface$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1
14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

envy@ub1404:/os_pri/github/ale_python_interface$ python setup.py build
running build
running build_py
running build_ext
building 'ale_python_interface.ale_c_wrapper' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c ale_python_interface/ale_c_wrapper.cpp -o build/temp.linux-x86_64-2.7/ale_python_interface/ale_c_wrapper.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from ale_python_interface/ale_c_wrapper.cpp:2:0:
ale_python_interface/ale_c_wrapper.h: In function ‘void setString(ALEInterface_, const char_, const char_)’:
ale_python_interface/ale_c_wrapper.h:19:78: error: ‘class ALEInterface’ has no member named ‘set’
void setString(ALEInterface *ale,const char *key,const char *value){ale->set(key,value);}
^
ale_python_interface/ale_c_wrapper.h: In function ‘void setInt(ALEInterface_, const char_, int)’:
ale_python_interface/ale_c_wrapper.h:20:67: error: ‘class ALEInterface’ has no member named ‘set’
void setInt(ALEInterface *ale,const char *key,int value){ale->set(key,value);}
^
ale_python_interface/ale_c_wrapper.h: In function ‘void setBool(ALEInterface_, const char_, bool)’:
ale_python_interface/ale_c_wrapper.h:21:69: error: ‘class ALEInterface’ has no member named ‘set’
void setBool(ALEInterface *ale,const char *key,bool value){ale->set(key,value);}
^
ale_python_interface/ale_c_wrapper.h: In function ‘void setFloat(ALEInterface_, const char_, float)’:
ale_python_interface/ale_c_wrapper.h:22:71: error: ‘class ALEInterface’ has no member named ‘set’
void setFloat(ALEInterface *ale,const char *key,float value){ale->set(key,value);}
^
ale_python_interface/ale_c_wrapper.h: In function ‘void getLegalActionSet(ALEInterface_, int_)’:
ale_python_interface/ale_c_wrapper.h:30:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i < ale->getLegalActionSet().size();i++){
^
ale_python_interface/ale_c_wrapper.h:29:19: warning: unused variable ‘sz’ [-Wunused-variable]
const int sz = (int)ale->getLegalActionSet().size();
^
ale_python_interface/ale_c_wrapper.h: In function ‘void getMinimalActionSet(ALEInterface_, int_)’:
ale_python_interface/ale_c_wrapper.h:40:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i < ale->getMinimalActionSet().size();i++){
^
ale_python_interface/ale_c_wrapper.h:39:19: warning: unused variable ‘sz’ [-Wunused-variable]
const int sz = (int)ale->getMinimalActionSet().size();
^
ale_python_interface/ale_c_wrapper.h: In function ‘int getScreen(ALEInterface_, unsigned char_)’:
ale_python_interface/ale_c_wrapper.h:56:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
ale_python_interface/ale_c_wrapper.h: In function ‘int getScreenRGB(ALEInterface_, int_)’:
ale_python_interface/ale_c_wrapper.h:65:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
ale_python_interface/ale_c_wrapper.h: In function ‘void set(ALEInterface_, const char_, const char_)’:
ale_python_interface/ale_c_wrapper.h:79:71: error: ‘class ALEInterface’ has no member named ‘set’
void set(ALEInterface _ale,const char *key,const char_value){ale->set(key,value);}
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
envy@ub1404:
/os_pri/github/ale_python_interface$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.