On 14 July 2015 at 13:02, Lubomir I. Ivanov <[email protected]> wrote: > hello, > > i'm building libdc from the latest: > git://subsurface-divelog.org/libdc > > i've noticed that -DSSRF_CUSTOM_SERIAL is need so that: > rc = hw_ostc_parser_create (&parser, data->context, data->deviceid, 0); > works in libdc_buffer_parser() (libdivecomputer.c) with the extra argument. > > i understand that this adds some sort of custom serial support, but > why don't we have this in the cmake options? > > adding the definition manually solves the above issue, but now i get a: > libdivecomputer.h:58:38: error: 'dc_serial_t' was not declared in this scope > > there is no such thing, when greping the libdc /include folder. > > any ideas how to solve the issue? >
alright, if i don't use -DSSRF_CUSTOM_SERIAL and revert back before 14d95a03ec2d37 (the libdc commit that adds the extra 'frog' argument to hw_ostc_parser_create()) i can build. but i doubt this is the correct solution! lubomir -- _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
