jacob-carlborg / dstep

A tool for converting C and Objective-C headers to D modules
205 stars 37 forks source link

osx libclang.dylib missing #126

Open extrawurst opened 7 years ago

extrawurst commented 7 years ago

i have xcode and command line tools installed what else do i need to do to get dstep on osx running?

it always says:

dyld: Library not loaded: @rpath/libclang.dylib
  Referenced from: /Users/stephan/Downloads/./dstep
  Reason: image not found
jacob-carlborg commented 7 years ago

It should work if libclang.dylib is next to the dstep binary or in any of the default library search paths like /usr/local/lib.

jacob-carlborg commented 7 years ago

Hmm, seems it doesn't work if the library is next to the dstep executable. But it works if libclang.dylib is in the same directory as you're executing the binary. The default library search paths work as well.

extrawurst commented 7 years ago

ah that does the trick. we may need to add this to the readme :)

Robert-M-Muench commented 6 years ago

You most likely need libLLVM.dylib too.