gcc ffplay.c -shared -o ffplay.dll -Wl,-d,ffplay.def,--out-implib,ffplay.dll.
a -I. -I"/d/clinux/home/ffmpegDll" -I/usr/local/include -I./libdvdcss -I./libdv
dnav -I./libdvdread4 -L/d/clinux/home/ffmpegDll/libdvdread4 -L/d/clinux/home/f
fmpegDll/libdvdcss -L/d/clinux/home/ffmpegDll/libdvdnav -L/d/clinux/home/ffmpeg
Dll/libavcodec -L/d/clinux/home/ffmpegDll/libavdevice -L/d/clinux/home/ffmpegDl
l/libavfilter -L/d/clinux/home/ffmpegDll/libavformat -L/d/clinux/home/ffmpegDll
/libavutil -L/d/clinux/home/ffmpegDll/libpostproc -L/d/clinux/home/ffmpegDll/li
bswscale -L/usr/local/cross-tools/i386-mingw32msvc/lib -ldvdread4 -ldvdcss -ldv
dnav cmdutils.o -lavdevice -lavformat -lavcodec -lavutil -lswscale -lz -lm -lws
2_32 -lvfw32 -ldl -llibdvdread4 -lmingw32 -lSDLmain -lSDL -mwindows
解决在libdvdread造成不了dll问题
./configure --disable-static --enable-shared --prefix=/usr/local --libdir=/usr/local/lib --includedir=/usr/local/include --with-libdvdcss=/usr/local --host=i686-pc-mingw32 --enable-auto-import
gcc -L/usr/local/lib -shared -Wl,--output-def,.libs/libdvdread-3.dll-def -Wl,--out-implib,.libs/libdvdread4.dll.a -o .libs/libdvdread-3.dll dvd_input.lo dvd_reader.lo dvd_udf.lo bitreader.lo ifo_read.lo ifo_print.lo nav_read.lo nav_print.lo md5.lo -ldl -ldvdcss
阅读(1510) | 评论(1) | 转发(0) |