Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
glycerine opened this issue Sep 6, 2013 · 1 comment

Comments

@glycerine
Copy link

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
Copy link
Contributor

Supposedly fixed by #95.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants