tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: multimedia/ffmpeg2 on Mac OSX v10.7.5



> I am trying to build the multimedia/ffmpeg2 package on a Mac OSX v10.7.5 box and am running into trouble with Quartz.  The specific error is:
> 
> LD	libavutil/libavutil.54.dylib
> ld: warning: directory not found for option '-L/Users/brook/NetBSD/pkgsrc/multimedia/ffmpeg2/work/.buildlink/lib/ffmpeg2'
> ld: framework not found CoreGraphics
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> gnumake: *** [libavutil/libavutil.54.dylib] Error 1
> *** Error code 2
> 
> The real problem here is not finding the CoreGraphics framework, which I assume is the quartz-provided one.  Is this something that is supposed to work?  Does it work for anyone?  Are there other packages that rely on quartz frameworks like this?
> 
> Thanks for your help.  Any help fixing this is welcome.

Looks like your build is not pointing to a correct SDK. Try adding

DBG+=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk

to your mk.conf.

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index