Re: invalid use of undefined type ‘struct comedi_t_struct’

On Thursday 02 August 2007 16:36, george gomes wrote:
> daq1.c:110: error: invalid use of undefined type 'struct
> comedi_t_struct'
>
> daq1.c:110: error: dereferencing pointer to incomplete type
>
>
>  when the offending line is removed, the device opens just fine. In fact
> I have used the comedi_get_n_subdevices() function but I want to find
> out what I have on the board from the comedi_t struct. Any advice at all
> would be appreciated.

Because you're trying to access an internal struct that isn't part of 
comedilib's interface.  comedi_t is just for passing to comedilib 
functions.

-- 
Frank

Received on 2007-08-02Z21:34:27