FTBFS
Anton Lundin
glance at acc.umu.se
Mon Jan 26 10:56:14 PST 2015
On 26 January, 2015 - Dirk Hohndel wrote:
> On January 26, 2015 10:44:03 AM Salvo Tomaselli <tiposchi at tiscali.it> wrote:
>
> >
> >>
> >> yep, Qt4 doesn't compile anymore as Qt5 is recommended nowadays. If
> >> you want to build with Qt4, try applying patch
> >> packaging/ubuntu/0001-Make-build-with-Qt4.patch
> >
> >Thanks. I switched to compiling with qt5 doing the following
> >
> >make clean
> >qmake -qt5
> >
> >and I'm now getting this
> >
> >compiling configuredivecomputerthreads.cpp
> >configuredivecomputerthreads.cpp: In function ‘dc_status_t
> >read_ostc3_settings(dc_device_t*, DeviceDetails*)’:
> >configuredivecomputerthreads.cpp:392:79: error:
> >‘hw_ostc3_device_config_read’ was not declared in this scope
> > rc = hw_ostc3_device_config_read(device, OSTC3_GAS1, gasData,
> >sizeof(gasData));
> >^
> >configuredivecomputerthreads.cpp: In function ‘dc_status_t
> >write_ostc3_settings(dc_device_t*, DeviceDetails*)’:
> >configuredivecomputerthreads.cpp:635:82: error:
> >‘hw_ostc3_device_config_write’ was not declared in this scope
> > rc = hw_ostc3_device_config_write(device, OSTC3_GAS1, gas1Data,
> >sizeof(gas1Data));
> >^
> >Makefile:2195: set di istruzioni per l'obiettivo
> >".obj/configuredivecomputerthreads.o" non riuscito
> >make: *** [.obj/configuredivecomputerthreads.o] Errore 1
>
> You need to update libdivecomputer
>
I messed up and forgot some #if DC_VERSION_CHECK(0, 5, 0) when lifting
code out to separate functions.
We should still obey the macro version where we can.
Patch coming...
//Anton
--
Anton Lundin +46702-161604
More information about the subsurface
mailing list