Skip to content

dyld: Library not loaded: @rpath/libui.A.dylib #1

@ivanceras

Description

@ivanceras

I tried running the example on mac os, but I encounter this problem.
Just building the project don't have a problem though.

cargo run --example controlgallery
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading bitflags v0.7.0
 Downloading libc v0.2.11
 Downloading make-cmd v0.1.0
   Compiling make-cmd v0.1.0
   Compiling libc v0.2.11
   Compiling bitflags v0.7.0
   Compiling ui-sys v0.1.0 (<home>libui-rs/ui-sys)
   Compiling ui v0.1.0 (<home>/libui-rs/ui)
     Running `target/debug/examples/controlgallery`
dyld: Library not loaded: @rpath/libui.A.dylib
  Referenced from: <home>libui-rs/ui/target/debug/examples/controlgallery
  Reason: image not found
error: An unknown error occurred

Using OS X El Capitan version 10.11.4

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