Home > Undefined Reference > Libavcodec Libx264 O Error 1

Libavcodec Libx264 O Error 1


Osman Eralp June 16, 2012 at 3:32 pm The opencv.conf file does not exist by default. Are you sure you did the "make" and "sudo make install" after running configure? The error reads as under :- [email protected]:~/ffmpeg$ make LD ffmpeg_g /home/nishith/ffmpeg/libavcodec/libavcodec.a(libx264.o): In function `X264_init': /home/nishith/x264/ffmpeg/libavcodec/libx264.c:308: undefined reference to `x264_encoder_open_114' collect2: ld returned 1 exit status make: *** [ffmpeg_g] Error 1 can I'll run through the installation procedure and try to duplicate the error. More about the author

There might be an incompatibility. Note that I'm not sure whether it was the 64-bit fix that resolved my issues with the OpenCV build completing, or the fact that I switched to v4l-utils-0.9.5. Didn't occur to me to compile ffmpeg and x264 from source… I got the whole thing running in 10 minutes thanks to your help!! 🙂 Eri January 7, 2013 at 1:06 What version of Ubuntu are you using?

Libavcodec/libavcodec.so: Undefined Reference To `x264_encoder_open_148'

although it is a 32bit VM, I used -enabled-shared and it worked. Mayank December 29, 2012 at 3:12 am Hi Osman, Referring to the above error, perhaps I should try reinstalling opencv. If 1 and 2 don't help, let me know and I'll do some testing with 2.4.3. I'm very very happy with your guide.

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed The first several attempts failed and got the error message as "make[2]: *** [bin/opencv_perf_imgproc] Error 1 make[1]: *** [modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/all] Error 2 make: *** [all] Error 2" but I went back and Any one has any idea how to install sdllib for ubunto using the same steps ? Ffmpeg Install Chris Nielsen August 27, 2012 at 10:49 pm Great article mate, I can't believe what an ordeal it is to get OpenCV up and running.

ama ffmpeg kuramadım bilgisayarıma. Undefined Reference To X264_encoder_open_142 Did you download and install libjpeg in step 5? That's better. http://ffmpeg.gusari.org/viewtopic.php?f=25&t=36 Joanna August 9, 2012 at 2:39 am Hi Osman, Thank you very much for the tutorial.

After running the one for 64 bit servion, I run "make " and got this error [email protected]:~/src/ffmpeg-0.11.1$ make LD libavutil/libavutil.so.51 /usr/bin/ld: libavutil/intfloat_readwrite.o: relocation R_X86_64_PC32 against undefined symbol `[email protected]@GLIBC_2.2.5′ can not be You signed in with another tab or window. Make sure you used two minus signs: the option is --enable-pic and not -enable-pic. make -C lib all make[1]: Entering directory `/root/src/v4l-utils-0.8.8/lib' make -C libv4lconvert all make[2]: Entering directory `/root/src/v4l-utils-0.8.8/lib/libv4lconvert' cc -Wp,-MMD,"libv4lconvert.d",-MQ,"libv4lconvert.o",-MP -c -I../include -fvisibility=hidden -fPIC -DLIBDIR=\"/usr/local/lib\" -DLIBSUBDIR=\"libv4l\" -I../../include -I../../lib/include -D_GNU_SOURCE -DV4L_UTILS_VERSION='"0.8.8″‘ -g -O1 -Wall

Undefined Reference To X264_encoder_open_142

However, I don't think you need to do this. https://lists.ffmpeg.org/pipermail/ffmpeg-user/2013-September/017597.html Thanks a lot for the support! Libavcodec/libavcodec.so: Undefined Reference To `x264_encoder_open_148' Thanks in advance, Gabe. Undefined Reference To `x264_encoder_open_146' If you try it, please let me know the results!

Another quick note: to enable the installation of the python module (e.g python ‘cv' package), make sure you also install python deps: apt-get install python-dev python-numpy Adam josaer July 7, 2012 my review here Ike December 9, 2012 at 10:03 am Yes I'm in the directory and Have seen the Makefile Ike December 9, 2012 at 10:19 am What do i do with the makefile. You may need to clean the source, and try rebuild again. Jacky Lu November 5, 2012 at 11:40 pm Additionally,I found these in cmake .. -- Looking for libavformat/avformat.h -- Looking for libavformat/avformat.h - found -- Looking for ffmpeg/avformat.h -- Looking for Ffmpeg X264

Thanks thanks so much. You need to create the file if it does not exist. Make sure you are running "./configure" and not "./config" as you just stated. click site Did you download ffmpeg 0.11 or 0.11.1?

Best Regards! Most of the recent webcams, such as Logitech's Pro 9000 and C910, are UVC compliant. Make sure your webcam is UVC compliant.

I went through every step with any problem until I got to the make of the OpenCV, where this error appeared.

If you complete steps 7 and 8 for 64 bit and you still have an error, try removing the OpenCV build directory and creating a new build directory. I was able to build ffmpeg by following steps 1 to 8. Thanks very much! If so, try removing the older version.

If you type ls, do you see the file Makefile? it could be great if you could modify step 8, in 64 bit section, adding to configure line "-enable-pic"… this resolve 25%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/bitstrm.cpp.o Linking CXX shared library ../../lib/libopencv_highgui.so I re-tried step 7 and this is what I get: Warning: PIX_FMT_RGB is missing from libavutil, update for swscale support Warning: libavformat is not supported without swscale support fatal: Not a navigate to this website Why does Mal change his mind?

Later, I have run "sudo make install" once again in the opencv build directory, and it worked! 🙂 Sriram December 28, 2012 at 6:51 am Thank you very much…. When decerasing -qp the quality get's better but the file will be inadequate larger. I have tried to much to install and compile with Opencv ( on Windows and Ubuntu too).