I'm trying both VDR on Mac approaches, Tero Siironens approach ends on
g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DLIRC_DEVICE=
\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=
\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -I/sw/include dvbdevice.c
/sw/include/linux/dvb/video.h:118: error: '__s32' does not name a type
/sw/include/linux/dvb/video.h:161: error: expected ';' before '*' token
/sw/include/linux/dvb/video.h:194: error: expected ';' before '*' token
dvbdevice.c: In member function 'virtual void cDvbDevice::StillPicture
(const uchar*, int)':
dvbdevice.c:1154: error: too many initializers for 'video_still_picture'
dvbdevice.c:1154: error: invalid conversion from 'char*' to 'int32_t'
dvbdevice.c:1160: error: too many initializers for 'video_still_picture'
dvbdevice.c:1160: error: invalid conversion from 'char*' to 'int32_t'
make: *** [dvbdevice.o] Error 1
- when making in the VDR directory. I had to make a symlink from
videodev_mac.h to videodev_darwin.h, since I don't have the latter
(was the dvb-includes-patch.diff patch supposed to create it?), and
also create an empty /sw/include/linux/compiler.h file.
Using Martin Waches approach ends on
Vigor10:~/java/src/vdr-1.4.6/PLUGINS/src/softdevice torgeir$ ./
configure --with-ffmpeg-path ~/java/src/ffmpeg/ --disable-subplugins
ffmpeg path set to: /Users/torgeir/java/src/ffmpeg/
Testing system and cpu type... found Darwin on i386 cpu.
Checking for pkg-config... Found.
Checking for ffmpeg... Not found.
No usable ffmpeg library found in /Users/torgeir/java/src/ffmpeg/.
Specify the path to your ffmpeg installation using --with-ffmpeg-path
or use a more recent (svn) version of ffmpeg and use/install pkg-config.
For details check config.log.
I even tried to override the ffmpeg check, fixing a few deps (include/
dvb/dmx.h etc), but the compilation ends on
/Users/torgeir/java/src/ffmpeg//libavformat/avformat.h: In function
'void av_init_packet(AVPacket*)':
/Users/torgeir/java/src/ffmpeg//libavformat/avformat.h:66: error:
'INT64_C' was not declared in this scope
/Users/torgeir/java/src/ffmpeg//libavformat/avformat.h: At global scope:
/Users/torgeir/java/src/ffmpeg//libavformat/avformat.h:284: warning:
'AVFrac' is deprecated (declared at /Users/torgeir/java/src/ffmpeg//
libavformat/avformat.h:118)
/System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/MachineExceptions.h:245: error:
declaration does not declare anything
Are there updated patches around, or am I missing something
important? I'm trying this on a macbook pro with the relevant X11 and
fink environment.
--
Torgeir Veimo
[EMAIL PROTECTED]
_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr