xcode7 - Link External Library in Xcode C++ Project -


i've found answers question, don't work me. i'm trying build c++ project in xcode uses external libraries ffmpeg , opencv, , can't figure out how link them. recommended, go "build phases" screen, , there's place "link binary libraries." 1 of libraries need link @ /usr/local/lib/libavutil.a. when try add library, list box pops showing 2 folders: "os x 10.11" , "developer frameworks". library need not in either of these folders. tried clicking on "add other" , file chooser dialog comes up, if type "/usr/local/lib/libavutil.a" in search box, dialog doesn't accept it.

i've found typing '-lswcale -lavcodec -lavdecice' etc. on "other linker flags" line in "build settings" works, it's not hoped for. hoping file chooser dialog, click on libraries want use.

is there way accomplish want?

if understand correctly asking, want "set" file chooser dialog @ right place, right?

if so, have press cmd + alt + g once in file chooser dialog, after clicking on "add other..." in "link binary libraries" menu. "go folder:" dialog comes up, , there can type fullpath file or folder looking for.

hope helped!


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -