Home > Undefined Reference > Libx264.o Error 1

Libx264.o Error 1

Contents

I installed it and went through a couple of examples and works good. But it didnot work and still gives the same error. I have tried changing the path $x264 to point out to home/mehmet/x264 folder, but I get the same error. I have tried to much to install and compile with Opencv ( on Windows and Ubuntu too). click site

Any ideas? Did you follow the guide word-for-word or did you modify anything? Using your favorite editor, add a single line containing the text /usr/local/lib to the end of a file named /etc/ld.so.conf.d/opencv.conf. sudo apt-get install libgtk2.0-0 libgtk2.0-dev Download and install libjpeg. http://www.linuxquestions.org/questions/linux-newbie-8/problem-with-enable-libx264-option-in-ffmpeg-822156/

Undefined Reference To X264_encoder_open_142

I am presently getting the following error after I followed the steps suggested in the above post :- CC libavformat/rtspdec.o libavformat/rtspdec.c: In function ‘rtsp_read_play': libavformat/rtspdec.c:62: error: expected expression before ‘<<' token So far, it seems to be going well. ๐Ÿ™‚ Hien Nguyen October 15, 2012 at 4:40 am Hi Osman I am uing 64bit servion. Osman Eralp August 20, 2012 at 5:58 am To run the OpenCV program, enter the name of the program.

Is it correct to write "teoremo X statas, ke" in the sense of "theorem X states that"? I had 22 errors. boson May 26, 2013 at 10:36 pm Just chiming in to say that this also worked for me. Ffmpeg Install They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] ffmpeg installation problem Having Libavcodec/libavcodec.so: Undefined Reference To `x264_encoder_open_148' But, I'm in a trouble: giang @ ubuntu: ~ / src $ cd OpenCV-2.4.2 / giang @ ubuntu: ~ / build $ cd src/OpenCV-2.4.2 giang @ ubuntu: ~ / src/OpenCV-2.4.2/build $ I looked everywhere I could, but I didn't find an answer to my problem. http://ffmpeg.gusari.org/viewtopic.php?f=25&t=36 I am confident that will fix your problem.

Support LQ: Use code LQ3 and save $3 on Domain Registration Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Both ffmpeg and libx264 are built from source. Since I have libx264.a and libffmpeg.so with me, only thing that remains is to link them and obtain a ffmpeg library that would allow me to proceed with my application. They work perfectly fine with OpenCV and MacOS… any other ideas?

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

after 29% this is the message I get: Linking CXX shared library ../../lib/libopencv_highgui.so /usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): relocation R_X86_64_32S against `av_destruct_packet' can not be used when making a shared object; recompile with -fPIC I opted to install ffmpeg using the medibuntu repo. Undefined Reference To X264_encoder_open_142 Last edited by sumeet inani; 07-27-2010 at 12:05 AM. Undefined Reference To `x264_encoder_open_146' Can ใ€ŒๆŒใก่พผใ‚“ใ ้ฃŸๅ“ใ‚’้ฃฒ้ฃŸใ™ใ‚‹ใฎใฏ็ฆๆญขใงใ‚ใ‚‹ใ€‚ใ€be simplified for a notification board?

Now installing x264-snapshot-20100725-2245 went well. Otherwise, I get the following erros. ./buildnew.sh: line 35: --extra-cflags=-I/usr/local/include: No such file or directory ./buildnew.sh: line 38: --extra-ldflags=-L/usr/local/lib: No such file or directory ./buildnew.sh: line 40: --disable-everything: command not found It builds fine, gives me the static library and the headers. Do you know any solution? Ffmpeg X264

This header is in /usr/local/include/eigen3/, and it generates an error saying that Eigen/Array no longer exists in eigen3 and the functionality has been moved to Eigen/Core. Also, make sure you type --cflags, not -cflags. Guy jihed December 25, 2012 at 3:13 am it's solved Men I removed /build under Opencv and repeated step 10 Osman Eralp December 26, 2012 at 10:10 am I have found http://softacoustik.com/undefined-reference/libavcodec-libx264-o-error-1.php Might want to add that to your guide.

Have you encountered this problem? but i still have same error. I for one would be very grateful, I've been struggling with this for well over three hours now and still no luck..

hackolite December 18, 2012 at 7:28 am THIS INSTALL IS A NIGHTMARE :d Osman Eralp December 18, 2012 at 7:41 am The install procedure might look complicated, but you should be

maybe I should give up…) Thanks for your support so far, Guy Osman Eralp December 28, 2012 at 8:48 pm Don't give up! If 1 and 2 don't help, let me know and I'll do some testing with 2.4.3. But before that, I do I uninstall it? 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

I've just tried compiling the current x264 and it now installs libx264.so.104, like you have. Did you complete all of the steps? I almost made OpenCV install to complete successfully…. my review here An application downloaded with git, svn, cvs, bzr, hg can be made into a tarball too : tar -cf ffmpeg.tar ffmpeg/ gzip ffmpeg.tar ( or bzip2 ffmpeg.tar ) ..

Eddie Lorie November 5, 2012 at 1:36 am Thank you very much, I found this tutorial very useful for installing OpenCV on a BeagleBoard Xm running Ubuntu. You need to create the file if it does not exist. However, it might be enough to get you started. Amey August 6, 2012 at 3:24 pm Hi Hull, I am getting the same problem but on ubuntu 12.04 (32 bit).

You could try "sudo apt-get autoremove" and then try to install the packages again. The question is then: how can I force ffmpeg to link against the libx264 that I want? Sorry for my English. The first step of the guide should have removed this package.

What can i do? I have seen situation where a failed build interferes with subsequent builds. ffmpeg x264 share|improve this question asked Aug 22 '12 at 18:46 PaulJ 66121329 You'll want to pass some extra compiler and linker flags so that /usr/local/ is searched before But I tried some older code and I got the following error: /usr/bin/ld: cannot find -lcv /usr/bin/ld: cannot find -lcxcore /usr/bin/ld: cannot find -lml /usr/bin/ld: cannot find -lhighgui /usr/bin/ld: cannot find

This doesn't actually do anything, but it needs to be here.
size
);
If mjpeg is not acceptable, what format are you trying to save the video in? I would double check that you ran make install for the software that you compiled yourself. Did I understand correctly? –kerim yucel Sep 1 '12 at 18:06 | show 4 more comments up vote 1 down vote Well, thanks to Robert's git, I have checked it and However, just for knowledge purpose, can you please tell how to use cmake to compile programs instead of this method ?

I added the path and the lib in the file.pro. EDIT Below is my x264 build script. The undefined references are part of ffmpeg, so the build script might be finding ffmpeg. I have followed your installation guide and with 17% of the installation complete, I got the following error - /usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): relocation R_X86_64_32S against `av_destruct_packet' can not be used when making