Fatal Error Ffmpeg/avcodec.h No Such File Or Directory
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 9 Star fatal error: ffmpeg/avformat.h: no such file or directory opencv 70 Fork 17 dirkvdb/ffmpegthumbnailer Code Issues 8 Pull requests libavcodec avcodec h no such file or directory compilation terminated 0 Projects 0 Pulse Graphs New issue ffmpeg include path issues #18 Closed GoogleCodeExporter opened fatal error: sys/videoio.h: no such file or directory this Issue Mar 15, 2015 · 21 comments Projects None yet Labels auto-migrated Priority-Medium Type-Defect Milestone No milestone Assignees No
Libavformat
one assigned 1 participant GoogleCodeExporter commented Mar 15, 2015 What steps will reproduce the problem? 1. Tried different pc's i386 and x64 2. What is the expected output? What do you see instead? Won't compile In file included from moviedecoder.cpp:17: moviedecoder.h:33:28: error: ffmpeg/avcodec.h: No such file or directory install ffmpeg moviedecoder.h:38:29: error: ffmpeg/avformat.h: No such file or directory moviedecoder.cpp:28:28: error: ffmpeg/swscale.h: No such file or directory Symlinking those files then gives another error. In file included from moviedecoder.h:38, from moviedecoder.cpp:17: /usr/include/ffmpeg/avformat.h:47:18: error: avio.h: No such file or directory Symlink that file as well and it compiles fine. What version of the product are you using? On what operating system? Fedora 10 Please provide any additional information below. moviedecoder.h #if HAVE_LIBAVCODEC_AVCODEC_H #include
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a https://github.com/dirkvdb/ffmpegthumbnailer/issues/18 minute: Sign up using ffmpeg headers with a c program up vote 1 down vote favorite i'm trying to learn ffmpeg from drangers guide (for school), i have a mac so the first thing i did was to use Macports and get ffmpeg and sdl... now when i'm tried to compile drangers code, the compiler didnt recognize the headers... so i used http://stackoverflow.com/questions/23062138/using-ffmpeg-headers-with-a-c-program -I on gnu when compiling, and also gave the "whole/path/name..." to the headers, but i always get an error on some header missing... below i will put the code with my corrections. i also tried including all the headers that i get an error about but there is always another header the compiler can't find i tried both gnu (on console) and on xcode. // tutorial01.c // Code based on a tutorial by Martin Bohme (boehme@inb.uni-luebeckREMOVETHIS.de) // Tested on Gentoo, CVS version 5/01/07 compiled with GCC 4.1.1 // A small sample program that shows how to use libavformat and libavcodec to // read video from a file. // // Use // // gcc -o tutorial01 tutorial01.c -lavformat -lavcodec -lz // // to build (assuming libavformat and libavcodec are correctly installed // your system). // // Run using // // tutorial01 myvideofile.mpg // // to write the first five frames from "myvideofile.mpg" to disk in PPM // format. #include "/opt/local/include/libavcodec/avcodec.h" #include "/opt/local/include/libavformat/avformat.h" #include
piCore-8.0 is available! Home Help Login Register Tiny Core Linux » Tiny Core Extensions » http://forum.tinycorelinux.net/index.php?topic=14317.0 TCE Q&A Forum » [SOLVED] compile error not finding /usr/local/include for libavcodec-dev « previous next » Print Pages: [1] Go Down Author Topic: [SOLVED] compile error not finding /usr/local/include for libavcodec-dev (Read 4342 times) aus9 Guest [SOLVED] compile error not finding /usr/local/include for libavcodec-dev « on: October 30, 2012, 04:34:39 PM » I am not an no such expert.Using the create extensions wiki gave me some errors.Code: [Select]ls /usr/local/tce.installed/libavcodec-dev
/usr/local/tce.installed/libavcodec-dev
cat /tmp/guvcview-src-1.6.1/config.log | grep error
######(qversion and ac_nonexistent.h already known and dismissed)
configure:6336: $PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.0.0 glib-2.0 >= 2.10.0 sdl >= 1.2.10 portaudio-2.0 libpng libavcodec libavutil libv4l2 libudev"
configure:6353: $PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.0.0 glib-2.0 >= 2.10.0 sdl >= no such file 1.2.10 portaudio-2.0 libpng libavcodec libavutil libv4l2 libudev"
configure:6488: $PKG_CONFIG --exists --print-errors "libpulse >= 0.9.15"
configure:6505: $PKG_CONFIG --exists --print-errors "libpulse >= 0.9.15"
conftest.c:61:21: fatal error: avcodec.h: No such file or directory
conftest.c:28:21: fatal error: avcodec.h: No such file or directory
conftest.c:61:28: fatal error: ffmpeg/avcodec.h: No such file or directory
conftest.c:28:28: fatal error: ffmpeg/avcodec.h: No such file or directory
conftest.c:30:9: error: unknown type name 'not'
conftest.c:30:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
conftest.c:30:15: error: unknown type name 'universal'
conftest.c:36:4: error: unknown type name 'not'
conftest.c:36:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
ac_cv_search_strerror='none required'
I attempted to use this command, on that the grounds that the new libavcodec-dev has file = /usr/local/include/libavcodec/avcodec.hCode: [Select]./configure --prefix=/usr/local --includedir=/usr/local/include
Perversely, I can build the tcz and I can get it to run. But I don't want to submit it until I have ironed out all essential errors.thanks for reading......and config log attached(2) I am not concerned about missing libpulse....I could try a sym link to libpulsea