Coder Social home page Coder Social logo

Comments (4)

nadavbh12 avatar nadavbh12 commented on July 2, 2024

Please try the following:

  1. clone the repository.
  2. Put all the alsa includes in RetroAgent.cpp in an ifdef block:
#ifndef __USE_SDL
#include <alsa/asoundlib.h>
#include <alsa/asoundlib.h>
#include <alsa/control.h>
#endif

These aren't required unless you want SDL and sound. In that case you'd need to install alsa.
Let me know if it worked.

from retro-learning-environment.

boche avatar boche commented on July 2, 2024

I managed to install the pip package by installing libsdl, libsdl_image, libsdl_gfx and alsa. Thanks. By the way, how to record videos for evaluation?

from retro-learning-environment.

boche avatar boche commented on July 2, 2024

a script to set up environment on centos 7.0

mkdir ~/opt
cd ~/opt
wget ftp://195.220.108.108/linux/opensuse/distribution/13.2/repo/oss/suse/x86_64/libSDL_gfx-devel-2.0.25-2.1.3.x86_64.rpm
wget http://mirror.centos.org/centos/7/os/x86_64/Packages/alsa-lib-devel-1.1.1-1.el7.x86_64.rpm
wget http://mirror.centos.org/centos/7/os/x86_64/Packages/SDL-devel-1.2.15-14.el7.x86_64.rpm
wget https://www.libsdl.org/projects/SDL_image/release/SDL_image-devel-1.2.12-1.x86_64.rpm
rpm2cpio *rpm | cpio -idv

export CMAKE_INCLUDE_PATH="$HOME/opt/usr/include":$CMAKE_INCLUDE_PATH
export CMAKE_LIBRARY_PATH="$HOME/opt/usr/lib64":$CMAKE_LIBRARY_PATH
export CPATH="$HOME/opt/usr/include":$CPATH

pip install rle-python-interface

from retro-learning-environment.

nadavbh12 avatar nadavbh12 commented on July 2, 2024

Thanks for sharing this.
Recording videos isn't supported in RLE directly, however, you can easily use existing Python packages to do so. If you use gym-rle, you can use gym's video recording.

from retro-learning-environment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.