sandbox.cabal
pkgconfig-depends: libavcodec
Main.hs
foreign import capi "libavcodec/avcodec.h avcodec_version"
c_avcodecVersion :: CInt
Just wanted to know how I would be able to add C libraries especially using the pkgconfig-depends
in cabal. Currently lost on where to add pkgs.ffmpeg.lib
and pkgs.ffmpeg.dev
.
Last updated: Dec 05 2024 at 04:21 UTC