Ok, here is a strange problem I have been having:

In the header file, the following function is declared:

Code:
int setup1394(dc1394_cameracapture *camera, dc1394camera_t, uint_t exposure);
In the main code the following is declared:

Code:
dc1394_cameracapture capt;
...
if (dc1394_dma_capture(&capt,1,DC1394_VIDEO1394_WAIT)!=DC1394_SUCCESS)
When I try to compile the code, this function gives me problems related to the variables capt:

Moire.c:209: error: conversion from ‘dc1394_cameracapture*’ to non-scalar type ‘dc1394_cameracapture’ requested
For some reason, it is trying to convert the variable capt to a different type of variable, even though they should be the same. Almost looks like a problem with pointers, but I am not familiar enough with the nuisances of pointer to understand what is going on here. Can anyone clear this problem up for me.

Thanks.