Menu

Error compiling Dream 2.2

Vic
2020-03-09
2020-03-13
  • Vic

    Vic - 2020-03-09

    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
  • Luis Ramirez Castro

    STOP THIS CODE IS DESTROYED

     
    • Vic

      Vic - 2020-03-12

      Sorry but I don't understand ...

       
      • David C Jackson

        David C Jackson - 2020-03-13

        He means your code blows bro, fix it or quit frustrating everyone by leaving it up on here.

         
    • David C Jackson

      David C Jackson - 2020-03-13

      Es loco amigo. Pinche cabrones programmers lol

       
    • David C Jackson

      David C Jackson - 2020-03-13

      Es loco amigo. Pinche cabrones programmers lol

       
  • Vic

    Vic - 2020-03-13

    Please, don't spam the thread. If anyone can help me I'll very pleased.

    Thanks.

     
  • tarasian666

    tarasian666 - 2020-03-13

    uninstall gpsd

     
    • Vic

      Vic - 2020-03-13

      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

Log in to post a comment.