I tried to compile dream-mjf r1412 on my Raspberry Pi and it failed.
I have Hamlib 4.5.5 installed.
Is Hamlib 4.6 required for this version? If so, can it be made to also work on the current stable release?
I hope it's possible for Hamlib to stop messing around with silly interface changes involving 'const' that break things here as well as in other apps...
But my point was this was a compilation issue and should have been in the compilation section here, not general. You also would have found the answer quicker.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since I have Hamlib 4.5.5, I restored the 'const' where PrintHamlibModelList is defined.
Let's be more specific. Code is precise. People would need to know exact changes to specific lines in specific files. I have worked out the following required changes:
I tried to compile dream-mjf r1412 on my Raspberry Pi and it failed.
I have Hamlib 4.5.5 installed.
Is Hamlib 4.6 required for this version? If so, can it be made to also work on the current stable release?
These are probably the messages we need to see.
and at the end of the messages
Read my comments in the Compiling section.
I don't see 'const' in the line where where PrintHamlibModelList is defined.
I may not understand what you were saying.
In Hamlib.cpp I see
In Hamlib.h I see
Since I have Hamlib 4.5.5, I restored the 'const' where PrintHamlibModelList is defined.
It compiled and receives stations.
I hope it is possible to do something to make this work with both Hamlib 4.5 and Hamlib 4.6.
I hope it's possible for Hamlib to stop messing around with silly interface changes involving 'const' that break things here as well as in other apps...
But my point was this was a compilation issue and should have been in the compilation section here, not general. You also would have found the answer quicker.
Let's be more specific. Code is precise. People would need to know exact changes to specific lines in specific files. I have worked out the following required changes:
change src/util/Hamlib.cpp line 344
to
change src/util/Hamlib.h line 116
to
Last edit: jcoles 2024-06-18