openhome / ohPlayer

ohPlayer is a full featured OpenHome media renderer licenced under an MIT licence
Other
42 stars 11 forks source link

Compile Error #3

Closed maosuyun2009 closed 5 years ago

maosuyun2009 commented 8 years ago

I want to compile ohPlayer in my linux mint, But some error happend: Libav.cpp:39:35: fatal error: libavutil/mathematics.h: No such file or directory

I think this code: extern "C" {

include "libavutil/mathematics.h"

include "libavutil/opt.h"

include "libavutil/samplefmt.h"

include "libavformat/avformat.h"

include "libavresample/avresample.h"

} shold put into #ifdef USE_LIBAVCODEC

After I have compiled success, I run openhome-player, segment fault happened: Using Subnet 192.168.0.0 ZoneHandler. SenderZone is PiPlayer-dennis-Inspiron-7447 OHM SENDER DRIVER LATENCY 150 Segmentation fault

openhome-player must run in ubuntu? my system is linux min 17

pedropoulis commented 8 years ago

Thanks - we'll fix that in the next revision.

The linux-based ohPlayer has been developed/tested on Ubuntu 12.x/14.x. The code uses libav (optionally for native codec support), libnotify and gtk and should be largely compatible with other debian-based distros, but Ubuntu has been the development target in this first revision.

Do you have any more info on the segfault cause/location ?

Alzinho commented 8 years ago

The compile issue has now been resolved.