Menu

#233 Fix building with the hamlib-4

2.2
accepted
None
2022-02-19
2020-04-14
Yarda
No

Attached patch fixed building with the hamlib-4 for us in Fedora. I think the patch should be compatible with the hamlib-3 as well (I didn't try). The problem with hamlib-4 is that they changed:

typedef int rig_model_t;

to

typedef uint32_t rig_model_t;

Just dropping the typedef from the Dream code and explicit casting to int in the CSettings API worked for us. Maybe the CSettings API could be extended to support uint32_t type instead.

1 Attachments

Discussion

  • Oliver Haffenden

    • status: open --> accepted
    • assigned_to: Oliver Haffenden
     
  • Oliver Haffenden

    I came to the same conclusion - there's no need for the typedef in DialogUtil.h. This and the gps changes are in the dream-ollie branch and we would hope to include them in a release before too long.

     
  • Yarda

    Yarda - 2022-02-19

    The dream-ollie branch builds fine for me on fedora-37 (rawhide).

     

Log in to post a comment.