qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

the compiler can't find the dylib in OSX while it is linking after I added the gstreamer into the project

Open kevinuav opened this issue 2 years ago • 3 comments

Current Behavior

I use OSX(11.6) Qt(5.15.2) and Xcode(13.2.1) to compile my QGC-daily. It can't find the dylib while it is linking after that I added the gstreamer into the path just as the instruction said. And there is no a file named libgsttag-1.0.0.dylib even after that I have installed the 2 pkgs :[gstreamer-1.0-devel-1.18.6-x86_64.pkg gstreamer-1.0-1.18.6-x86_64.pkg) 截屏2022-10-25 下午11 24 42

this is the error:

linking QGroundControl.app/Contents/MacOS/QGroundControl
ld: file not found: @rpath/lib/libgsttag-1.0.0.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [QGroundControl.app/Contents/MacOS/QGroundControl] Error 1

kevinuav avatar Oct 25 '22 13:10 kevinuav

Hi, could you solve this problem? I'm having the same problem.

palahmd avatar Jun 21 '23 13:06 palahmd

I'm currently having the same problem.

atesahmet0 avatar Feb 04 '24 02:02 atesahmet0

I'm currently having the same problem.

Fixed the problem by downgrading Xcode version by using xcodes. Used to have v15.2 now using v12. (I'm using Stable_V4.3 of QGC)

atesahmet0 avatar Feb 12 '24 22:02 atesahmet0