Ask Your Question
0

Error while building opencv master branch

asked 2015-01-04 04:09:16 -0600

Aly Osama gravatar image

updated 2015-01-05 23:45:43 -0600

i try to build the master branch and i found this error what shall i do ?

Linking CXX shared library ../../lib/libopencv_imgproc.so
/usr/bin/ld: ../../../3rdparty/ippicv/unpack/ippicv_lnx/lib/ia32/libippicv.a(jmp_ippiResizeGetBufferSize_16s_as.s.o): relocation R_386_GOTOFF against undefined symbol `ippicvJumpIndexForMergedLibs' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libopencv_imgproc.so.3.0.0] Error 1
make[1]: *** [modules/imgproc/CMakeFiles/opencv_imgproc.dir/all] Error 2
make: *** [all] Error 2

also it didn't recognize #include "opencl_kernels_imgproc.hpp" in imgwrap.cpp

edit retag flag offensive close merge delete

Comments

Try building without OpenCL support. It seems your system is not supporting it!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-01-06 06:18:40 -0600 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2015-01-06 14:30:56 -0600

Aly Osama gravatar image

i know the problem i have ATI graphics card and i installed ‘libopencv-dev‘ so i need to replace it with ‘ocl-icd-libopencl1‘ , you can check this link

installing ‘libopencv-dev‘ on non nvidia graphics card messes up the drivers. As a workaround for non nvidia cards like AMD/ATI, Radeon, replace libopencv-dev below with ‘ocl-icd-libopencl1‘ which is a generic driver. Please note that I have not tried this out yet as I have no ATI/Radeon cards to test with .

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-01-04 04:09:16 -0600

Seen: 1,157 times

Last updated: Jan 06 '15