Re: Dive planner CNS calculations

2018-11-09 Thread Willem Ferguson
Hi Robert, I have been doing some testing, as you have seen from emails on the mail list and have looked at the existing Subsurface code in divelist.c. With respect to the calculation of CNS%, your and my calculations are identical EXCEPT that, for a specific PO2, you only use the next-lower

Building Subsurface-Linux errors

2018-11-09 Thread Willem Ferguson
I get problems with: src/subsurface/core/qtserialbluetooth.cpp:428:2: error: too many initializers for ‘const dc_custom_cbs_t’ Do I need to update a qt dependency? $ qmake --version QMake version 3.1 Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu This is the default with Ubuntu 18.04. H

Re: Building Subsurface-Linux errors

2018-11-09 Thread Dirk Hohndel
Rebuild libdivecomputer build.sh would do that for you. If you don't use that, then you need to pay attention if the submodule changes and build/install it /D On November 9, 2018 4:39:03 AM PST, Willem Ferguson wrote: >I get problems with: > >src/subsurface/core/qtserialbluetooth.cpp:428:2: er

Re: Dive planner CNS calculations

2018-11-09 Thread Willem Ferguson
Hi Robert, Anton, Robert, apologies for ascribing the CNS calculations to you. Anton, any comments on the text below would be extremely valuable. As you might have deduced, the CNS and OTU calculations can rapidly become pretty complex for dives with long-ish segments. To be absolutely accur

Re: Building Subsurface-Linux errors

2018-11-09 Thread Willem Ferguson
Thanks, Dirk On Fri, 09 Nov 2018, 14:39 Willem Ferguson I get problems with: > > src/subsurface/core/qtserialbluetooth.cpp:428:2: error: too many > initializers for ‘const dc_custom_cbs_t’ > > Do I need to update a qt dependency? > > $ qmake --version > QMake version 3.1 > Using Qt version 5.9.5