bitmovin / libdash

MPEG-DASH Access Library - Official ISO/IEC MPEG-DASH Reference Implementation
https://bitmovin.com/
589 stars 169 forks source link

Problem installing qtsampleplayer on Ubuntu 16.04 #9

Closed kgupta15 closed 8 years ago

kgupta15 commented 8 years ago

On running the command ./cmake-2.8.11.2-Linux-i386/bin/cmake ../ , I get this error:

Could NOT find LibAV (missing: LIBAV_ROOT_DIR) (found version "ffmpeg
  version 2.8.6-1ubuntu2 Copyright (c) 2000-2016 the FFmpeg developers

  built with gcc 5.3.1 (Ubuntu 5.3.1-11ubuntu1) 20160311

I have ffmpeg installed and have tried installing all other lib too. Libdash has successfully compiled but I cant get qtsampleplayer to work. How do I remove this error?

ysaidcan commented 7 years ago

How did you solve this issue?

kgupta15 commented 7 years ago

I reinstalled ffmpeg, installed libav* codecs and other files that looked relevant that I got through apt-cache search libav and found that the cmake was searching for some files in wrong folder. Install everything and then check if cmake is searching in right folders in the system. That should work

ysaidcan commented 7 years ago

Thanks. I changed the file CMakeCache.txt . I added the root directory for the libav. I worked.

AggelosM commented 7 years ago

I changed on /libdash/libdash/qtsampleplayer/build/CMakeCache.txt the line LIBAV_ROOT_DIR:PATH=LIBAV_ROOT_DIR-NOTFOUND to LIBAV_ROOT_DIR:PATH=[libdash directory]/libdash/libav

rajeshmahalingam commented 7 years ago

This issue is resolved by exporting an environment variable "LIBAVROOT" before do cmake. $ export LIBAVROOT=/libdash/libav/