Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

error compiling 2.4.5 on ubuntu

hello ,

trying to compile 2.4.5 from GIT, on Ubuntu

gives this

[code] /usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): relocation R_ARM_MOVW_ABS_NC against `av_destruct_packet' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libavcodec.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make[2]: * [lib/libopencv_highgui.so.2.4.5] Error 1 make[1]: [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 make: ** [all] Error 2 [/code]

so i downloaded x264 package and compiled with -pic and -shared option but still get the same issue

please help me out

thanks