Skip to content

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

Description

@glycerine

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions