I am trying to compile/build a code in C++ on Mac, using OpenCV and libvlc.
I was trying to accomplish that using XCode, but I got the same error as this guy and couldn't solve.
So I tried to compile on Terminal, using gcc -lvlc main.cpp
but now I got this error:
ld: library not found for -lvlc clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any ideas on how to link the library correctly? How to see the clang error? If so please try to be really clear, because I am a newbie - I couldn't reproduce the answer from the linked topic using otool.
Thanks!