Gigoteur / UnicornConsole

Unicorn Console: create quick fantasy game in Rust/Python/Lua/Rhai/Wasm !
MIT License
908 stars 47 forks source link

error: could not compile `cpython` #74

Closed konsumer closed 2 years ago

konsumer commented 3 years ago

This might be related to #71. I get error: could not compile 'cpython', even though I have the python dev-libs installed. Here is a quick reproduction of issue, if you have docker:

docker run -it --rm rust bash

# inside container:
apt update && apt install libsdl2-dev libreadline-dev libpython3-dev git -y
cd /tmp && git clone --depth=1 https://github.com/Gigoteur/UnicornConsole.git && cd UnicornConsole/unicorn-devkit
cargo build --release 

# ... lots of errors about python

If there is a recommended docker container I should use instead (like maybe a version that has an earlier libpython3-dev) I'd happily take a recommendation.

hallucino commented 2 years ago

Seems ok now

konsumer commented 2 years ago

Yep, just ran above and all was well.