Comments (2)
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.
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)
- Bug with nox HOT 3
- PPO and selfplay HOT 1
- Regarding the legality of commercially licensed board games HOT 2
- Block dominoes implementation HOT 2
- Adding a new python game HOT 7
- Problem with Julia API on Ubuntu 24.04 HOT 7
- Problem with Python AlphaZero using Keras 3 HOT 6
- Problem with RCFR using Keras 3 HOT 3
- Problem with TF2 version of Deep CFR using Keras 3 HOT 1
- Spades Implementation HOT 15
- Returned Policies and Exploitability HOT 2
- dqn_torch_test build failure HOT 6
- AlphaZero pseudo code available? HOT 2
- developing agents for team dominoes HOT 13
- [Puzzle] N-Queens HOT 7
- Spielviz gives AttributeError: module 'pyspiel' has no attribute 'GameParameter' HOT 28
- Failure in alpha_zero.py HOT 1
- chat_game_base.py prints lots of stuff during testing
- Issue with Downloading OpenSpiel Package via pip HOT 7
- Congestion games via C++ API HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open_spiel.