Let me complement my previous email.
With the current CVS version of libdc1394, we cannot compile the
following code with a C++ compiler, though it can be compiled with a C
compiler with warning.
int test1(const char *devname)
camera.dma_device_file = devname;
Applying the following patch fixed the problem.
> The dma_device_file element in dc1394_control.h does not accept a
> read-only string. How about applying the following patch?
> --- dc1394_control.h~ Sun Feb 17 18:43:11 2002
> +++ dc1394_control.h Mon Feb 18 08:33:31 2002
> @@ -239,7 +239,7 @@
> int dma_frame_size;
> int num_dma_buffers;
> int dma_last_buffer;
> - char * dma_device_file;
> + const char * dma_device_file;
> } dc1394_cameracapture ;
> typedef struct __dc1394_misc_info
> By the way, I tried the current version of libdc1394 and
> dc1394_dma_single_capture(). I was surprised at its transfer speed. It
> captures video at 28.5 fps while dc1394_single_capture() does at 16
> But the OrangeMicro iBot camera does not send video at all, while Irez
> Stealthfire works fine with dc1394_dma_single_capture().
> Best regards,