Fatal Error Libavcodec/avcodec.h No Such File Or Directory
Sign in Pricing Blog Support Search GitHub This repository Watch 50 Star 231 Fork 85 youtube/yt-watchme Code Issues 25 Pull requests 0 fatal error: ffmpeg/avformat.h: no such file or directory opencv Projects 0 Pulse Graphs New issue libavcodec/avcodec.h: No such file or directory libavcodec avcodec h no such file or directory compilation terminated #11 Closed maximeloridan opened this Issue Nov 12, 2014 · 3 comments Projects None yet Labels None install ffmpeg yet Milestone No milestone Assignees No one assigned 3 participants maximeloridan commented Nov 12, 2014 Hi, When I try to generate the apk, I have the error avconv "libavcodec/avcodec.h: No such file or directory". I have done what is discribed in http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9. So I did all this link said, and now, I have a folder /ffmpeg-2.4.3/android, which contains arm/lib and arm/include folders. I tried to put these 2 folders in src/main/jni folder (where Android.mk and ffmeg.jni are), but still got the error. Thank you very much (I know that I have already asked a similar question in the other threads, and I apologize for that, I do not want to bother all of you) garyjamessilva commented Nov 12, 2014 ffmpeg-jni.c is trying to include .h files from - #include "libavcodec/avcodec.h" #include "libavformat/avformat.h" #include "libavutil/opt.h" you need to copy the required include files to those folders within src/main folder maximeloridan commented Nov 13, 2014 Actually it worked when I put them under src/main/jni. (So at the end I have stg like that: src/main/jni/libavcodec/avcodec.h.) Thank you so much for your help maximeloridan closed this Nov 13, 2014 achinverma commented Apr 5, 2016 hi, i need help to solve this error #35 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in a
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 FFMpeg hello world failed up vote 3 down vote favorite 1 I'm new to the ffmpeg development. I've got my ffmpeg via ffmpeg.mplayerhq.hu/download.html using `git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg` https://github.com/youtube/yt-watchme/issues/11 My OS is Win7. I'm using Cygwin to help me work under a Unix-like environment. I'm using tutorial code from http://dranger.com/ffmpeg/ffmpeg.html. My current code is Tutorial01. So I've got my gcc, ffmpeg and code together. Working directory is /ffmpegDemo, code: /ffmpegDemo/tutorial01.c ffmpeg: /ffmpegDemo/ffmpeg And I use command gcc-I ffmpeg -o t01 tutorial01.c to compile my code. (cygwin doesn't support "copy", here're just some major message:) libavutil/avconfig.h: No such file or directory ... error: 'CODEC_TYPE_VIDEO' undeclared ... and others http://stackoverflow.com/questions/8442458/ffmpeg-hello-world-failed are just warnings. Indeed, there's no avconfig.h under ffmpeg/libavutil. I've looked for 'CODEC_TYPE_VIDEO', here's this reference: http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/avcodec_8h.html says that 'CODEC_TYPE_VIDEO' is defined in libavcodec/avcodec.h. I've checked avcodec.h and didn't find any. I was very confused about this error and confused about all the "configure" and "make" things that I saw while searching for answer. Am I doing it wrong? Did I miss some steps? Hope that I could find an answer here. Thanks. c ffmpeg share|improve this question edited May 13 '14 at 3:38 SwankSwashbucklers 1,1721724 asked Dec 9 '11 at 7:41 xorange 141110 1 Did you install the libraries? You seem to have just cloned the source & are trying to build the tutorials w/o actually building & installing the library from the source –another.anon.coward Dec 9 '11 at 8:05 no I didn't install the libraries. I don't have much exp using opensource libs. I know there's something wrong, but I don't know how and why building and installing libs. What should I do? Thanks. –xorange Dec 9 '11 at 8:16 1 Oh ... in that case you need to build the libraries using configure & make. You can refer to README & INSTALL documents for the instructions. Or as @ncite has suggested you can pick up win32 built library. I would suggest you give building the source a try... that is why we h
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin https://ubuntuforums.org/showthread.php?t=2176452 Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad http://forum.tinycorelinux.net/index.php?topic=14317.0 Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community no such Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs Compiling C code for FFmpeg on Ubuntu Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 5 of 5 Thread: Compiling C code no such file for FFmpeg on Ubuntu Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode September 24th, 2013 #1 Koustubh View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Sep 2013 Beans 4 Compiling C code for FFmpeg on Ubuntu Hi, I am new to using gcc. I have FFmpeg installed on Ubuntu 12.04 LTS. I am trying to write a C code for transcoding using the FFmpeg libraries. The details are as below: I have all the necessary libraries in the directory : /home/ffmpeg/ffmpeg_sources. Also, my program videoEncoding.c (which at the moment does nothing, just trying to compile) is in the same directory ffmpeg@ubuntu:~/ffmpeg_sources$ pwd /home/ffmpeg/ffmpeg_sources ffmpeg@ubuntu:~/ffmpeg_sources$ ls fdk-aac lame-3.99.5.tar.gz opus-1.0.3.tar.gz yasm-1.2.0 ffmpeg libvpx videoEncoding.c yasm-1.2.0.tar.gz lame-3.99.5 opus-1.0.3 x264 ffmpeg@ubuntu:~/ffmpeg_sources/ffmpeg$ pwd /home/ffmpeg/ffmpeg_sources/ffmpeg ffmpeg@ubuntu:~/ffmpeg_sources/ffmpeg$ ls 1 COPYING.LGPLv2.1 libavcodec Makefile a.out COPYING.LGPLv3 libavdevice presets arch.mak CREDITS libavfilter README Changelog doc libavformat RELEASE cmdutils.c ffmpeg.c libavresample test.c cmdu
Tiny Core? Or peruse Core Concepts. Home Help Login Register Tiny Core Linux » Tiny Core Extensions » 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 4341 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 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 >= 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'