Error Ffmpeg/avcodec.h No Such File Or Directory
Contents |
Sign in Pricing Blog Support Search GitHub This
Fatal Error: Ffmpeg/avformat.h: No Such File Or Directory Opencv
repository Watch 9 Star 70 Fork 17 dirkvdb/ffmpegthumbnailer Code libavcodec/avcodec.h' file not found Issues 9 Pull requests 0 Projects 0 Pulse Graphs New issue ffmpeg include
Libavcodec Avcodec H No Such File Or Directory Compilation Terminated
path issues #18 Closed GoogleCodeExporter opened this Issue Mar 15, 2015 · 21 comments Projects None yet Labels auto-migrated Priority-Medium Type-Defect install ffmpeg Milestone No milestone Assignees No 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 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 minute: Sign up fatal error: https://github.com/dirkvdb/ffmpegthumbnailer/issues/18 libavcodec/avcodec.h no such file or directory compilation terminated up vote 2 down vote favorite 1 I'm trying to execute tutorial01.c using gcc and I have the gcc and tutorial01.c in the same folder along with libavcodec and libavformat and its associated files it gives me this error fatal error: libavcodec/avcodec.h no such file or directory compilation terminated when I run gcc -o tutorial01 tutorial01.c -lavformat http://stackoverflow.com/questions/12127397/fatal-error-libavcodec-avcodec-h-no-such-file-or-directory-compilation-terminat -lavcodec -lz through the terminal in ubuntu 12.04 the code is #include libavcodec/avcodec.h #include libavformat/avformat.h #include stdio.h void SaveFrame(AVFrame *pFrame, int width, int height, int iFrame) { FILE *pFile; char szFilename[32]; int y; // Open file sprintf(szFilename, "frame%d.ppm", iFrame); pFile=fopen(szFilename, "wb"); if(pFile==NULL) return; // Write header fprintf(pFile, "P6\n%d %d\n255\n", width, height); // Write pixel data for(y=0; y
directory Pages: 1 #1 2008-07-27 10:49:50 das.t Member Registered: 2007-10-20 Posts: 8 aur: idjc does not build - ffmpeg/avcodec.h: No such file or directory hi, i am looking https://bbs.archlinux.org/viewtopic.php?id=52296 after the idjc package in aur. yet i had a problem with my arch recently (and my pc broke too) and very little time, so i could not resolve my https://ffmpeg.org/pipermail/ffmpeg-user/2011-December/003633.html problems. yet now i am workingon idjc again. i did a complete new install of archlinux on my new machine.certainly i needed idjc, yet it does not compile. ./configure works no such ok, but make throughs an error (see below).arch:~/idjc-0.7.6$ make make all-recursive make[1]: Entering directory `/home/das-t/idjc-0.7.6' Making all in c make[2]: Entering directory `/home/das-t/idjc-0.7.6/c' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -std=gnu99 -O2 -g -O2 -MT idjcmixer-idjcmixer.o -MD -MP -MF ".deps/idjcmixer-idjcmixer.Tpo" -c -o idjcmixer-idjcmixer.o `test -f 'idjcmixer.c' || echo './'`idjcmixer.c; \ then mv -f ".deps/idjcmixer-idjcmixer.Tpo" ".deps/idjcmixer-idjcmixer.Po"; else rm -f ".deps/idjcmixer-idjcmixer.Tpo"; exit 1; no such file fi In file included from idjcmixer.c:46: avcodecdecode.h:25:28: error: ffmpeg/avcodec.h: No such file or directory avcodecdecode.h:26:29: error: ffmpeg/avformat.h: No such file or directory In file included from idjcmixer.c:46: avcodecdecode.h:31: error: expected specifier-qualifier-list before 'AVCodec' make[2]: *** [idjcmixer-idjcmixer.o] Error 1 make[2]: Leaving directory `/home/das-t/idjc-0.7.6/c' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/das-t/idjc-0.7.6' make: *** [all] Error 2ffmpeg is installed. the strange thing is: i get the same error even with older versions of idjc, the ones i have been actively working on archlinux.my loved one gets the same error. any idea? if so i would love to correct my pkg in case it is wrong.das.t Offline #2 2008-07-28 18:48:10 Snowman Developer/Forum Fellow From: Montreal, Canada Registered: 2004-08-20 Posts: 5,212 Re: aur: idjc does not build - ffmpeg/avcodec.h: No such file or directory The location of these header files have changes in the latest ffmpeg package. Try something like: sed -i 's|ffmpeg/avcodec.h|libavcodec/avcodec.h|' c/avcodecdecode.h sed -i 's|ffmpeg/avformat.h|libavformat/avformat.h|' c/avcodecdecode.hbefore running ./configure or make. Offline Pages: 1 Index »Creating & Modifying Packages »aur: idjc does not build - ffmpeg/avcodec.h: No such file or d
sorted by: [ date ] [ thread ] [ subject ] [ author ] On 12/09/11 12:55, charisma tubagus wrote: > Hi, > > I would like to use FFMpeg since I would like to study about video > encoding. > > This is my code (very simple one) since I want to test whether my setting > up is correct. I am using Visual C++ 2008 Express > > #include