GithubHelp home page GithubHelp logo

error when compiling about hlsdl HOT 7 CLOSED

selsta avatar selsta commented on May 28, 2024
error when compiling

from hlsdl.

Comments (7)

selsta avatar selsta commented on May 28, 2024

What’s your OS? You have to install the libav* librarys. They come with ffmpeg.

On CentOS, you can install them with yum install ffmpeg-devel, I’m sure there is a similar package available for your OS.

from hlsdl.

davidlucid avatar davidlucid commented on May 28, 2024

I'm using Ubuntu, and I ran sudo apt-get install ffmpeg and sudo apt-get install libavformat53 libavformat-dev libavcodec53. Doing so solved the other errors telling me I needed those libraries, but now this one popped up.

from hlsdl.

davidlucid avatar davidlucid commented on May 28, 2024

~$ sudo apt-get install libavformat53 libavformat-dev libavcodec53 libavcodec-dev ffmpeg

Reading package lists... Done
Building dependency tree
Reading state information... Done
ffmpeg is already the newest version.
libavcodec-dev is already the newest version.
libavcodec53 is already the newest version.
libavformat-dev is already the newest version.
libavformat53 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 674 not upgraded.

from hlsdl.

selsta avatar selsta commented on May 28, 2024

So what happens when you are trying to compile now?

from hlsdl.

davidlucid avatar davidlucid commented on May 28, 2024

Oh, it's still the same errors. I was just saying what I did prior to those errors. I'll start from the beginning. It started off telling me I needed to install libavformat and all that, so I did. As you can see by my previous comment, all of those libraries are installed. But now I get errors telling me about these undeclared identifiers.

from hlsdl.

selsta avatar selsta commented on May 28, 2024

Hmm, weird. I just tried it on an Ubuntu VM and compiling works fine.
sudo apt-get install libavformat-dev libcurl4-gnutls-dev is what I had to install.

from hlsdl.

davidlucid avatar davidlucid commented on May 28, 2024

Finally got it to work on a new install of Ubuntu 14.04. Not sure what was happening previously, but it's all good now. Thanks for the help.

from hlsdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.