build fails: -DSSRF_CUSTOM_SERIAL / dc_serial_t
Lubomir I. Ivanov
neolit123 at gmail.com
Tue Jul 14 03:02:42 PDT 2015
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?
lubomir
--
More information about the subsurface
mailing list