Comments (3)
Can you install libav, instead of ffmpeg? In fact, I don't know how libav is installed in Fedora (I'm using Arch/Ubuntu), but you should have the header files in /usr/include/libavcodec/
from avp.
to get libavcodec and other related stuff on Fedora you'd need to add the RPMfusion repository then sudo dnf install -y ffmpeg-devel
which would give:
/usr/include/ffmpeg/libavcodec/
/usr/include/ffmpeg/libavdevice/
/usr/include/ffmpeg/libavfilter/
/usr/include/ffmpeg/libavformat/
/usr/include/ffmpeg/libavresample/
/usr/include/ffmpeg/libavutil/
/usr/include/ffmpeg/libpostproc/
/usr/include/ffmpeg/libswresample/
/usr/include/ffmpeg/libswscale/
I tried tweaking the find_component macro in CMakeFFmpegLibavMacros.cmake to get it working but didn't get it to work.
from avp.
It is because the headers are inside /usr/include/ffmpeg
, you could patch the CMakeLists.txt
to include that path
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1ae2a49..83ff5b4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,6 +26,8 @@ ENDIF(AVP_BUILD_TYPE STREQUAL "WEB")
PROJECT(avp)
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I/usr/include/ffmpeg")
from avp.
Related Issues (8)
- Unable to configure keys HOT 4
- can't run HOT 4
- RE: Compiling the game HOT 5
- Failed to compile with GCC 10 HOT 2
- segfaults on start - probably umlauts related HOT 4
- MacOS support?
- alien movement code HOT 1
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 avp.