2

I created a new project and i'm using a dynamic library that I downloaded. I set the header search path to the Include directory where all of the .h files are, and the Library Search Path to where the .dylib files are but i'm still getting the error:

dyld: Library not loaded:Reason: image not found

Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
Gambit2007
  • 3,260
  • 13
  • 46
  • 86
  • I think you are missing the red bit in the following answer... http://stackoverflow.com/a/34341219/2836621 – Mark Setchell Jun 08 '16 at 20:44
  • I did put the path of the .h files and .dyld files in the locations mentioned, like i said. About the linker - how would i know which libraries to put? (i didn't download it using homebrew) If i'm using only one, should i just put it? and is there a need to put 'l' before its name? either way it still doesn't work.. :/ – Gambit2007 Jun 08 '16 at 21:03
  • What is the library you downloaded, and what `.dyld` files are in there? That's what you need to add, I think. – Mark Setchell Jun 08 '16 at 21:06
  • It's The Foundry's Nuke NDK (Nuke Development Kit) and it has about 30 libraries.. – Gambit2007 Jun 08 '16 at 21:08
  • Maybe this helps... http://tomjbward.co.uk/nuke-example-xcode-project/ – Mark Setchell Jun 08 '16 at 21:17
  • yeah thanks i've seen that but it didn't help either.. – Gambit2007 Jun 08 '16 at 21:19

0 Answers0