Ok, here is a strange problem I have been having:
In the header file, the following function is declared:
In the main code the following is declared:
int setup1394(dc1394_cameracapture *camera, dc1394camera_t, uint_t exposure);
When I try to compile the code, this function gives me problems related to the variables capt:
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.
Moire.c:209: error: conversion from ‘dc1394_cameracapture*’ to non-scalar type ‘dc1394_cameracapture’ requested