Git Product home page Git Product logo

Comments (2)

lanctot avatar lanctot commented on July 18, 2024

Hi @LucasCelestinoSE,

Ah yes, this is one of the dependencies.

There are two ways to use C++ with OpenSpiel.

Opiton 1: Build OpenSpiel from source and use CMake. Follow the instructions here to first build OpenSpiel from source. This will download the necessary dependencies and build OpenSpiel. Then add your own binaries or source in the CMakeLists.txt files (the same way the OpenSpiel source/binaries are added). If you anticipate changing any of the core OpenSpiel code, this is probably the option you want.

Option 2: Build OpenSpiel as a stand-alone C++ library. Follow the instructions here. Then when you compile, dynamically link against the OpenSpiel shared library (as shown in the example on that page). If you don't anticipate changing any of the core code, this is probably the easier option.

Note that for both options you need to build OpenSpiel from source.

Hope this helps!

from open_spiel.

LucasCelestinoSE avatar LucasCelestinoSE commented on July 18, 2024

Got it, if anyone has the same problem, read about environment variables in Ubuntu.
I put the path before the open_spiel folder in ${path_to_open} and it worked.

from open_spiel.

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.