Closed bartek closed 4 years ago
Running macOS Mojave.
The contents of the project are the boilerplate Hello World! that comes with a new cargo build,
Hello World!
fn main() { println!("Hello World!"); }
The project builds fine initially, until I add tcod as a dependency.
tcod
[dependencies] tcod = "0.15.0"
I've installed pkg-config and sdl2 as per instructions via Homebrew. Here's the info on 'em:
pkg-config
sdl2
18:28 $ brew info pkg-config pkg-config: stable 0.29.2 (bottled) Manage compile and link flags for libraries https://freedesktop.org/wiki/Software/pkg-config/ /usr/local/Cellar/pkg-config/0.29.2 (11 files, 626.9KB) * Poured from bottle on 2020-01-12 at 18:26:17 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/pkg-config.rb ==> Analytics install: 102,461 (30 days), 356,920 (90 days), 1,357,191 (365 days) install-on-request: 24,385 (30 days), 88,772 (90 days), 342,465 (365 days) build-error: 0 (30 days)
and
18:28 $ brew info sdl2 sdl2: stable 2.0.10 (bottled), HEAD Low-level access to audio, keyboard, mouse, joystick, and graphics https://www.libsdl.org/ /usr/local/Cellar/sdl2/2.0.10 (87 files, 4.6MB) * Poured from bottle on 2020-01-12 at 18:26:23 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/sdl2.rb ==> Options --HEAD Install HEAD version ==> Analytics install: 51,142 (30 days), 170,420 (90 days), 733,690 (365 days) install-on-request: 6,236 (30 days), 19,584 (90 days), 83,094 (365 days) build-error: 0 (30 days)
When I run cargo build, I get this output:
cargo build
18:30 $ cargo build Updating crates.io index Bus error: 10
As mentioned earlier, this project (which is a blank one) builds fine without the tcod dependency.
Any ideas? Thank you! Looking forward to making a roguelike :)
Ah, hmm. This seems to be regardless of dependency. I'm going to close and investigate further.
Running macOS Mojave.
The contents of the project are the boilerplate
Hello World!
that comes with a new cargo build,The project builds fine initially, until I add
tcod
as a dependency.I've installed
pkg-config
andsdl2
as per instructions via Homebrew. Here's the info on 'em:and
When I run
cargo build
, I get this output:As mentioned earlier, this project (which is a blank one) builds fine without the
tcod
dependency.Any ideas? Thank you! Looking forward to making a roguelike :)