brson / rust-sdl

SDL bindings for Rust
MIT License
179 stars 52 forks source link

doesn't link on ubuntu 12, cc: error: Foundation: No such file or directory #94

Open glycerine opened 11 years ago

glycerine commented 11 years ago

rust-sdl$ make rustc --cfg image --cfg mixer src/sdl.rc -o libsdl.dummy src/mixer.rs:3:4: 3:13 warning: unused import [-W unused-imports (default)] src/mixer.rs:3 use std::uint; ^~~~~ warning: ignoring specified output filename for library. error: linking with cc failed with code 1 note: cc arguments: -L/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib -m64 -o libsdl-95460b1b072257-0.3.0.so libsdl.o -L/usr/local/lib/rustc/x86_64-unknown\ -linux-gnu/lib -lstd-6c65cf4b443341b1-0.8-pre -lSDL_image -lSDL_mixer -lSDL -lSDLmain -framework Foundation -framework AppKit -lrustrt -lrt -lpthread -L/usr/\ cn/rust/rust-sdl/.rust -L/usr/cn/rust/rust-sdl -shared -lrt -ldl -lm -lmorestack -lrustrt -Wl,-rpath,$ORIGIN/../../../local/lib/rustc/x86_64-unknown-linux-gn\ u/lib -Wl,-rpath,/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib note: cc: error: Foundation: No such file or directory cc: error: AppKit: No such file or directory

error: aborting due to previous error make: *\ [libsdl.dummy] Error 101

$/rust/rust-sdl$ git branch -v

pnkfelix commented 10 years ago

Supposedly fixed by #95.