I'm trying to compile Dream 2.2 on Debian Bullseye and I get the following compilation error:
src/GUI-QT/EvaluationDlg.cpp: In member function ‘void systemevalDlg::UpdateGPS(CParameter&)’:
src/GUI-QT/EvaluationDlg.cpp:792:40: error: invalid cast from type ‘timespec_t’ {aka ‘timespec’} to type ‘time_t’ {aka ‘long int’}
792 | time_t tt = time_t(gps.fix.time);
| ^
make: *** [Makefile:2366: obj/EvaluationDlg.o] Error 1
Thanks.
Last edit: Vic 2020-03-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your answer. I uninstalled gpsd but I get a new error:
src/MDI/RSCITagItemDecoders.cpp: In member function ‘virtual void CTagItemDecoderRgps::DecodeTag(CVector<unsigned char="">&, int)’:
src/MDI/RSCITagItemDecoders.cpp:258:29: error: no match for ‘operator=’ (operand types are ‘timespec_t’ {aka ‘timespec’} and ‘time_t’ {aka ‘long int’})
258 | gps_data.fix.time = t;
| ^</unsigned>
Thanks.
Last edit: Vic 2020-03-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I'm trying to compile Dream 2.2 on Debian Bullseye and I get the following compilation error:
src/GUI-QT/EvaluationDlg.cpp: In member function ‘void systemevalDlg::UpdateGPS(CParameter&)’:
src/GUI-QT/EvaluationDlg.cpp:792:40: error: invalid cast from type ‘timespec_t’ {aka ‘timespec’} to type ‘time_t’ {aka ‘long int’}
792 | time_t tt = time_t(gps.fix.time);
| ^
make: *** [Makefile:2366: obj/EvaluationDlg.o] Error 1
Thanks.
Last edit: Vic 2020-03-09
STOP THIS CODE IS DESTROYED
Sorry but I don't understand ...
He means your code blows bro, fix it or quit frustrating everyone by leaving it up on here.
Es loco amigo. Pinche cabrones programmers lol
Es loco amigo. Pinche cabrones programmers lol
Please, don't spam the thread. If anyone can help me I'll very pleased.
Thanks.
uninstall gpsd
Thanks for your answer. I uninstalled gpsd but I get a new error:
src/MDI/RSCITagItemDecoders.cpp: In member function ‘virtual void CTagItemDecoderRgps::DecodeTag(CVector<unsigned char="">&, int)’:
src/MDI/RSCITagItemDecoders.cpp:258:29: error: no match for ‘operator=’ (operand types are ‘timespec_t’ {aka ‘timespec’} and ‘time_t’ {aka ‘long int’})
258 | gps_data.fix.time = t;
| ^</unsigned>
Thanks.
Last edit: Vic 2020-03-13