Comments (3)
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.
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.
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)
- Congratulations!
- Sources are swapped (mislabeled)
- Building package fails HOT 1
- Audio recording on Fedora Linux 37 via BT headset?
- [Plasma][Wayland] SSR is broken HOT 1
- Allow recording of n out of m screens HOT 1
- This file contains no playable streams
- More then one I-Frame per 5sec
- SSR fails to record QtWebEngine application on ubuntu 22.04 HOT 6
- Will not install on Fedora 38 HOT 2
- Encoding problems on Ubuntu
- When I add a timestamp to my name screen capture I have a wrong extension.
- White play screen
- Multi windows / desktop : how to record a specific screen?
- sound on ubuntu 20.04 and later HOT 2
- No any audio input devices found HOT 1
- Capture HOT 2
- low framerate with webm container, despite increasing priority n framerate configuration.
- Keep a border when doing a Record a fixed rectangle HOT 1
- thank you for making simple screen recorder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ssr.