However, it might be enough to get you started. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Post Reply Print view 5 posts • Page 1 of 1 Return It looks like you might be missing the math libraries. I've followed this guide and these steps to use EPD 7.3: http://t3hmikez0r.com/2011/05/18/installing-opencv-with-epd-on-ubuntu-11-04 (I've already installed opencv 2.2 before, using these steps and it worked fine) At the end of this tutorial http://cdbug.org/undefined-reference/libx264-o-error.php
Using your favorite editor, add the following two lines to the end of /etc/bash.bashrc: PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH After completing the previous steps, your system should be ready to compile code Quote Postby ant.t » Mon Nov 19, 2012 8:15 am I'm having some issues with building the dependencies from the install_deps.sh script. I double checked all the steps. bathory View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by bathory 07-26-2010, 09:23 AM #7 sumeet inani Member Registered: Oct 2008 Posts:
I donot have the libx264-dev installed presently. What to do when you've put your co-worker on spot by being impatient? Osman Eralp November 5, 2012 at 9:52 pm Just before the error you show, did you get something like this: /usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): relocation R_X86_64_32S against `av_destruct_packet’ can not be used when Thanks a lot for the support!
BTW my ubuntu software centre informs me that I have ffmpeg installed as part of gstreamer plugins and also libx264-98. Stop. Could you please, help me? . Ffmpeg Install sumeet inani View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sumeet inani View Blog 07-27-2010, 12:43 AM #11 sumeet inani Member
Now, I try again with your guide. Libavcodec/libavcodec.so: Undefined Reference To `x264_encoder_open_148' 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. Revision History: [2012-09-12] Updated guide to work with OpenCV 2.4.2. http://ffmpeg.gusari.org/viewtopic.php?f=25&t=36 The time now is 12:41 AM.
Do I have to delete Linux and re-install all over again to be able to install openCV ? Best Regards! After editing the opencv.conf file, enter the following command: sudo ldconfig /etc/ld.so.conf . Also I am using ubuntu 10.10.
You need to redo steps 7 and 8 using the commands shown in the sections labeled IMPORTANT. Are you sure you installed ffmpeg with the "sudo make install" command? 2. Undefined Reference To X264_encoder_open_142 I kept on trying this script with different configurations, removed all ffmpeg x264 folders and reinstalled them, but to no avail. Undefined Reference To `x264_encoder_open_146' Help please.
Mike Duffy December 21, 2012 at 2:39 pm It appears you need to do a ./configure to generate the Makefile for 0.9.3 For x86_64, I did ./configure --enable-shared --enable-pic ceren December Try setting LD_LIBRARY_PATH to the directory where libx264 is supposed to be. –av501 Aug 7 '12 at 6:21 Did you follow the guide word-for-word? Thanks ../../lib/libopencv_highgui.so.2.4.2: undefined reference to `av_fifo_generic_read' ../../lib/libopencv_highgui.so.2.4.2: undefined reference to `avpriv_vorbis_parse_extradata' ../../lib/libopencv_highgui.so.2.4.2: undefined reference to `av_des_init' ../../lib/libopencv_highgui.so.2.4.2: undefined reference to `av_rc4_crypt' ../../lib/libopencv_highgui.so.2.4.2: undefined reference to `av_aes_crypt' ../../lib/libopencv_highgui.so.2.4.2: undefined reference to `av_des_mac' 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 Ffmpeg X264
Last edited by Andrew Benton; 07-26-2010 at 06:45 PM. I have made some progress but encountered new errors, thanks to Murphy's Laws. Find first non-repetitive char in a string What are the legal consequences for a tourist who runs out of gas on the Autobahn? http://cdbug.org/undefined-reference/libavcodec-libx264-o-error.php I have seen that error before, but I don't remember the cause.
In the end I decided to do the easy thing and tempirarily remove the other x264 package before compiling... :-) –PaulJ Aug 23 '12 at 12:58 add a comment| 2 Answers Step 7 is the important step to solve the error. Osman Eralp June 16, 2012 at 3:32 pm The opencv.conf file does not exist by default.
If you'd like to contribute content, let us know. Quote: /usr/local/lib/libavcodec.a(libx264.o): In function `X264_init': /home/lxuser/tarball/ffmpeg-export-2010-06-05/libavcodec/libx264.c:300: undefined reference to `x264_encoder_open_98' collect2: ld returned 1 exit status make: *** [x264] Error 1 How did this came out Can you move /home/lxuser/tarball/ffmpeg-export-2010-06-05 and Juan June 16, 2012 at 11:06 am Hey Osman! Also, make sure you type --cflags, not -cflags.
Top mikevan Posts: 26 Joined: Thu Oct 21, 2010 9:40 pm Quote Postby mikevan » Mon Nov 19, 2012 7:44 pm The initial setting of false is changed to true later They work perfectly fine with OpenCV and MacOS… any other ideas? If you still have an error, try removing the OpenCV build directory and creating a new build directory. check my blog I had the same problem.
Click Here to receive this Complete Guide absolutely free. But it didnot work and still gives the same error. I would be very grateful if you could help me resolve this issue. Yeipis June 16, 2012 at 6:36 am Thanks Ivan, that worked for me too… regards Yeipis Evgheny June 17, 2012 at 5:21 am Thanks, Ivan.
This may fix it: Code: cd ~/ffmpeg make distclean git pull Now, once again, continue with the ./configure command. Make sure you you used the --enable-shared --enable-pic options when you configured ffmpeg. 2. 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 Amey August 6, 2012 at 3:24 pm Hi Hull, I am getting the same problem but on ubuntu 12.04 (32 bit).
tar xvf x264-snapshot-20120528-2245-stable.tar.bz2
cd x264-snapshot-20120528-2245-stable Configure and build the x264 libraries. ./configure --enable-static
sudo make install IMPORTANT: If you are running a 64-bit version FYI I'm running 64 bit linux and I had this error on step 10b when I tried to compile OpenCV: [ 25%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/bitstrm.cpp.o Linking CXX shared library ../../lib/libopencv_highgui.so Join them; it only takes a minute: Sign up Compiling ffmpeg: how to force it to link to a specific libx264? What is the difference (if any) between "not true" and "false"?
What can i do? Brandao June 25, 2012 at 1:02 pm You need install mac port Brandao June 25, 2012 at 3:30 pm http://guide.macports.org/chunked/installing.macports.html nayan June 22, 2012 at 1:49 am i am a learner. Why don't we construct a spin 1/4 spinor? Muhsin March 14, 2013 at 10:13 am Hi All, I have followed all steps succesfully for instiling opencv, after I typed the last statement: g++ `pkg-config opencv -cflags` my_code.cpp -o my_code
Is it properly installed on the system?