Kyle1993 / gym-starcraft-modified

5 stars 1 forks source link

err msg: torchcraft.so: undefined symbol: ZSTD_CStreamOutSize #1

Open kekmodel opened 6 years ago

kekmodel commented 6 years ago

python random_agent.py --ip 192.168.0.4 -port 11111

File "random_agent.py", line 1, in from gym_starcraft.envs.simple_battle_env import SimpleBattleEnv File "/home/jay/.wine/drive_c/StarCraft/gym-starcraft-modified/gym_starcraft/envs/simple_battle_env.py", line 5, in import torchcraft.Constants as tcc ImportError: /home/jay/.wine/drive_c/StarCraft/TorchCraft/py/torchcraft.so: undefined symbol: ZSTD_CStreamOutSize

whats wrong?

Kyle1993 commented 6 years ago

@kekmodel Do you install torchcraft and torchcraft/py correctly? it should be install and running in Linux with a starcraft1 game running on windows. you can check if torchcraft is installed correctly by this way

$ cd torchcraft
$ cd examples/
$ th simple_{exe|dll}.lua -t $server_ip # depending on if you launched the exe or dll