-
Notifications
You must be signed in to change notification settings - Fork 257
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
Updating Hamlib to v4+ #867
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
vsonnier
force-pushed
the
vso_update_to_hamlib_v40
branch
from
March 3, 2021 06:22
150d4fd
to
d2dedbb
Compare
Updated for v4.1, changed title and such. |
vsonnier
force-pushed
the
vso_update_to_hamlib_v40
branch
from
March 3, 2021 06:25
d2dedbb
to
50d7a36
Compare
Closed
vsonnier
force-pushed
the
vso_update_to_hamlib_v40
branch
from
May 17, 2021 18:56
50d7a36
to
619a16f
Compare
Hamlib v4.2 has just been released: it runs under Win32 / Win64 without crashing this time. |
vsonnier
commented
May 23, 2021
@@ -114,7 +114,7 @@ void RigThread::run() { | |||
std::cout << "Rig thread starting." << std::endl; | |||
|
|||
rig = rig_init(rigModel); | |||
strncpy(rig->state.rigport.pathname, rigFile.c_str(), FILPATHLEN - 1); | |||
strncpy(rig->state.rigport.pathname, rigFile.c_str(), HAMLIB_FILPATHLEN - 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only change I made on CubicSDR source is here:
vsonnier
force-pushed
the
vso_update_to_hamlib_v40
branch
from
August 2, 2021 12:28
619a16f
to
b2b178e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hamlib 4+ has been relreased : https://github.com/Hamlib/Hamlib/releases/tag/4.1
This is the update of Hamlib to v4+, in particular Windows binaries.
So far I modified
CMakeLists.txt
to accomodate the lib name change (-4
instead of-2
) and added the Windows binaries, and one constant in a Cubic .cppSo far it compiles (with warnings) both for Win32 and Win64 using VS2019 v16.5
Edit :
2021-03-03:18:22:20.712339: rig_mW2power called
then segfault. :(I'm using in both cases the Win Dlls from the Hamlib releases .
Vincent