-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hamlib 4 compatibility #12
Comments
Hi @xylo04, I think we could cover these changes by introducing conditional checks in goHamlib for the known API changes between Hamlib3 and Hamlib4. Probably making hamlib 4 the default and covering hamlib 3 compatibility with conditional checks. Hamlib actually provides the library's semantic version in the Maybe it's also time to deprecate the support for version 1.x and focus on supporting version 3 and version 4. So, I guess we have to
hw? Tobias |
What about using again c-for-go like you did some years go? |
I can certainly see the advantages of using an automated tool for generating API bindings automatically. Don't get me wrong, I'm not against them. But so far, non could really convince me. I poked around with SWIG and c-for-go. The quick win is certainly there, but once we dig into edge cases, it's where the problems start. |
Hi @dh1tw, circling back on this (was this really a year ago?), I think introducing a new major module version would be appropriate. We could even call it v4 to align with the Hamlib version. That blog post recommends using a subdirectory per major version, but I've actually seen it more often done as branches. For example, that's what I've done with my wsjtx-go repo; the default branch is now With this strategy, any development needed for hamlib v3 (and v1) can continue on the What do you think? |
Oh yeah, and I forgot that #14 was still hanging out there. |
When dh1tw#12 gets resolved, this fork will be obsolete.
When dh1tw#12 gets resolved, this fork will be obsolete.
goHamlib is working well with the computers on which I have hamlib 3.3, but when attempting to compile against hamlib 4.1 (on Mac via homebrew) I get errors:
The text was updated successfully, but these errors were encountered: