Closed EralpCelebi closed 5 years ago
Also also cannot link in Manjaro, so I suspect it's happening in Arch distros. My error is virtually identical.
'0.12.1' works with tcod-sys '4.1.0'
When trying to compile '0.13.0' or '0.14.0' with tcod-sys '5.0.0' it uses crate cc '1.0.37', but '0.12.1' with tcod-sys '4.1.0' uses crates libc '0.2.58' and gcc '0.3.55'. Seems like a start.
I am having the same issue on Linx Mint 19.1. I get the exact same error messages when working through the tutorial at:
http://tomassedovic.github.io/roguelike-tutorial/part-1-graphics.html
If needed, I can post my results as well but the error messages look to be identical.
I think there is a problem with the library paths being different on different distros. I'll take a look when I have the time as well.
Builds are failing on Travis as well due to what appears to be the same issue.
build fails for me on Arch linux as well. however it seems only the static build is broken, so you should be able to workaround by adding
[dependencies.tcod-sys]
version = "*"
features = ["dynlib"]
to your Cargo.toml
Adding this to your Cargo.toml
should fix this now:
tcod = { git = "https://github.com/tomassedovic/tcod-rs" }
I'll publish it to crates.io shortly
Will try whenever I can
This goes on. It cannot link some object files even tho I have them installed ( even SDL Libraries) Considering the output there might be an issue with the installation of the library but I am not sure.