Code Monkey home page Code Monkey logo

Comments (3)

MaartenBaert avatar MaartenBaert commented on May 18, 2024

Try:

export CPPFLAGS="-I/usr/local/include"
export LDFLAGS="-L/usr/local/lib"
./configure

You will need more than just the configure script though, it's better to modify ./simple-build-and-install instead. CPPFLAGS is there already, so make sure you add -I/usr/local/include instead of overriding the existing options. You should get this:

export CPPFLAGS="-I/usr/local/include -DNDEBUG -DQT_NO_DEBUG -DSSR_USE_FFMPEG_VERSIONS=$SSR_USE_FFMPEG_VERSIONS -DSSR_USE_X86_ASM=$SSR_USE_X86_ASM"
export CFLAGS="-Wall -O2 -pipe"
export CXXFLAGS="-Wall -O2 -pipe"
export LDFLAGS="-L/usr/local/lib"

I haven't tried this though, and I'm fairly new to autoconf/automake.

There's also some references to /usr/include/libavcodec/avcodec.h in simple-build-and-install, so you will have to replace those too.

Even if you can get this to work, there may be other issues. ffmpeg/libav is the biggest problem for older distributions, but qt may also need updating (less likely though). I've tried supporting older versions of ffmpeg/libav but it is just too much work and too buggy. I'm supporting Ubuntu 12.04 and higher only at the moment for this reason.

It may be easier to just upgrade to 12.04 or 13.04 :).

from ssr.

tman144566 avatar tman144566 commented on May 18, 2024

Well, I tried everything you suggested with no success. Somehow the configure script is referencing the wrong library and/or header. I guess the best solution is to just upgrade to a newer version of Ubuntu.

Thanks for the help!

from ssr.

MaartenBaert avatar MaartenBaert commented on May 18, 2024

I'm pretty sure that even if you could include and link ffmpeg/libav, you would still not be able to compile it with the version of GCC in Ubuntu 10.04, because I'm using some C++11 features that weren't implemented back then (AFAIK).

from ssr.

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.