-
Hello OpenSpiel team, I am trying to compile the AlphaZero and DQN codes in the examples folder. I am uisng the following link as reference: In global_variables.sh, I have changed some variables from OFF to ON. Below are some of the codes involved: I am using Visual Studio Code to build the project with CMake. After CMake, it seems those variables are still OFF. Below are part of the CMake output: As a result, AlphaZero and DQN examples codes are not compiled. According to the CMake files, those executable files will be generated if the variables in global_variables are set to be ON. Please kindly advise. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Oh sorry for the late reply! The Windows installation does not load in global_variables.sh as that is a bash script (intended for Linux and MacOS only). You would have to set those environment variables manually. (I assume there is a way to do this as part of your build in Visual Studio.) Before that, you would also need to run the equivalent of what Apologies -- we have very little support in Windows and only the basic setups have been tested (and barely). I don't think I even tried any optional build parameters in Windows, and I'm not sure if anybody has. If you do manage to get it working, I'd really appreciate if you let us know and maybe contribute some docs to make OpenSpiel easier for everyone to use in Windows. |
Beta Was this translation helpful? Give feedback.
Oh sorry for the late reply!
The Windows installation does not load in global_variables.sh as that is a bash script (intended for Linux and MacOS only).
You would have to set those environment variables manually. (I assume there is a way to do this as part of your build in Visual Studio.)
Before that, you would also need to run the equivalent of what
install.sh
does to install both libnop and LibTorch in the proper places. This should not be too bad; they are just git clones or downloading of the .zip file, but you'd have to look into the script.Apologies -- we have very little support in Windows and only the basic setups have been tested (and barely). I don't think I even tried any opti…