[FFmpeg-devel] compile error caused by configure script's change

Dzung Hoang dthoang at yahoo.com
Thu Mar 23 06:54:26 EET 2017


I banged my head against this and finally figured out that opencv 3.2.0 does not support C language binding. You need to get opencv 2.4.13.


      From: Masaru Nomiya <nomiya at galaxy.dti.ne.jp>
 To: ffmpeg-devel at ffmpeg.org 
 Sent: Wednesday, March 22, 2017 9:38 PM
 Subject: [FFmpeg-devel] compile error caused by configure script's change
   
Hello,

I got the very latest git head, and tried to compile.
But, with ./configure's run, I got an error message as follows;

[...]
gcc -L/usr/local/cuda/lib64 -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.G0t8P470 /tmp/ffconf.3kiEFzc2.o -lopencv_core -lopencv_imgproc -lopencore-amrwb -lopencore-amrnb -lnut -lmp3lame -L/usr/local/lib64 -lmodplug -lilbc -lgsm -lfreetype -lfontconfig -lfreetype -lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal -lflite_cmu_us_kal16 -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish -lflite_cmulex -lflite -L/usr/local/lib64 -lfdk-aac -lcaca -lcelt0 -lcelt0 -lbs2b -L/usr/local/lib64 -lbluray -L/usr/local/lib64 -lass -lraw1394 -lavc1394 -lrom1394 -liec61883 -lgnutls -lgmp -lcrystalhd -lm -llzma -lbz2 -lz -pthread
/tmp/ffconf.3kiEFzc2.o: In function `cvPointFrom32f':
ffconf.ZvXFCPIK.c:(.text+0x5fe): undefined reference to `cvRound'
ffconf.ZvXFCPIK.c:(.text+0x618): undefined reference to `cvRound'
/tmp/ffconf.3kiEFzc2.o: In function `cvReadInt':
ffconf.ZvXFCPIK.c:(.text+0xf40): undefined reference to `cvRound'
collect2: error: ld returned 1 exit status
ERROR: opencv not found

I installed opencv 3.2.0 last December. So, I suspected the configure
script.
With the configure script of 21th Mar, the compilation ended without
any problem.

I checked the difference of 2 configure scripts, but I can't find the
change which cause the problem.

Thanks,

---
┏━━┓彡 Masaru Nomiya            mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Bill! You married with Computers.
          Not with Me!"
        "No..., with money."
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


   


More information about the ffmpeg-devel mailing list