|
From: Charles 'B. K. <kr...@ac...> - 2001-04-09 14:36:47
|
I took a swing at it over the weekend, and got a basic version of playdv
to work on Windows 2000: no audio, and only a slow C version.
I used cygwin, and the win32 port of glib/gtk, and I also built and
installed libtool.
The main changes I had to make were:
1) hardcode glib/gtk include and link paths into the build since
the win32 port doesn't have g*.m4 or g*-config
2) copy timersub macro from /usr/include/sys/time.h on linux, since
it doesn't exist on cygwin
3) change code in playdv.c to not use mmap for file reading, mmap
doesn't work in cygwin. (I just replaced mmap with malloc/read, and
munmap with free)
4) Remove oss.c from the build, and disable all dv_oss_* calls in
playdv.
5) configure with --disable-asm. Some of the libdv asm seems to
use ELF specific directives which break on windows.
-- Buck
|