nareix / joy4

Golang audio/video library and streaming server
MIT License
2.66k stars 501 forks source link

Using CFLAGS to change library path #27

Closed idanya closed 7 years ago

idanya commented 7 years ago

I am trying to build joy4 with custom ffmpeg library files. I've added: #cgo CFLAGS: -I/path/to/include/ in ffmpeg.go file and I am getting a file not found error: ./ffmpeg.h:1:10: fatal error: 'libavutil/samplefmt.h' file not found

The files are all there - these are ffmpeg pre-build library for ARM processors. What am I missing?