Ask Your Question
0

compile opencv_ffmpeg.dll

asked 2014-07-12 05:53:37 -0600

ben.seep gravatar image

updated 2014-07-12 06:05:08 -0600

Need to compile opencv_ffmpeg.dll. Running make.bat produces the error below. Any pointer will be highly appreciated...

ffmpeg>
gcc -v -Wall -shared -
o opencv_ffmpeg.dll -O2 -x c++ -I../include -I../include/ffmpeg_ -I../../modules
/highgui/src ffopencv.c -L../lib -lavformat -lavcodec -lavdevice -lswscale -lavu
til -lws2_32
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 --build=m
ingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --enable-lto
--enable-libssp --disable-multilib --enable-languages=c,c++,fortran,objc,obj-c++
,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry --enable-l
ibstdcxx-debug --enable-version-specific-runtime-libs --with-gmp=/usr/src/pkg/gm
p-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld --
with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes --enable-
libgomp --enable-threads --with-libiconv-prefix=/mingw32 --with-libintl-prefix=/
mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Thread model: win32
gcc version 4.8.1 (GCC)
COLLECT_GCC_OPTIONS='-v' '-Wall' '-shared' '-o' 'opencv_ffmpeg.dll' '-O2' '-I' '
../include' '-I' '../include/ffmpeg_' '-I' '../../modules/highgui/src' '-L../lib
' '-mtune=generic' '-march=pentiumpro'
 cc1plus -quiet -v -I ../include -I ../include/ffmpeg_ -I ../../modules/highgui/
src -iprefix c:\mingw\bin\../lib/gcc/mingw32/4.8.1/ ffopencv.c -quiet -dumpbase
ffopencv.c -mtune=generic -march=pentiumpro -auxbase ffopencv -O2 -Wall -version
 -o C:\Users\user\AppData\Local\Temp\ccMiz280.s
gcc: error: CreateProcess: No such file or directory
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-07-14 14:17:40 -0600

ben.seep gravatar image

Had to add gnu-c++ compiler And -liconv to make.bat. ffmpeg-2.2.4

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-07-12 05:53:37 -0600

Seen: 900 times

Last updated: Jul 14 '14