Installing freedv 2.0 linux mint 21.3

334 views
Skip to first unread message

Ryan Wesolowski

unread,
Jun 1, 2025, 1:37:45 AM6/1/25
to digitalvoice
Went to use my freedv 2.0 and during launch it said my version was outdated.  I did not use a script for install the first time.  Decided to use the script this time but cannot install as it cannot locate package libwxgtk3.2-dev.  I believe I have 3.0 installed and 3.2 is not available in my repo.  Anyway around this?  I was using the previous 2.0

Ryan
KK6DZB 

Mooneer Salem

unread,
Jun 1, 2025, 11:51:55 AM6/1/25
to digita...@googlegroups.com
Hi Ryan,

Barry G4MKT might be able to do something to allow either 3.0 or 3.2 packages, but in the meantime I think you can modify line 88 of https://github.com/barjac/freedv-rade-build/blob/main/freedv-rade-build to use the correct wxWidgets package for your machine. Hope this helps!

Thanks,

-Mooneer K6AQ

--
You received this message because you are subscribed to the Google Groups "digitalvoice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digitalvoice...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/digitalvoice/08c5d2b2-d2f5-4760-b101-e9afa058a42bn%40googlegroups.com.

Ryan Wesolowski

unread,
Jun 2, 2025, 12:31:25 AM6/2/25
to digitalvoice
Mooneer,

Thank you for the response.  I modded the script for 3.0 and also had to change python3.12-venv to python3-venv.  But I get this error

error: ‘class wxString’ has no member named ‘utf8_string’; did you mean ‘utf8_str’?

If I use the script or just compile from source from git its the same error.  This one I don't know what to try.



Ryan
KK6DZB

Mooneer Salem

unread,
Jun 2, 2025, 2:44:55 PM6/2/25
to digita...@googlegroups.com
Hi Ryan,

I think you can open src/gui/dialogs/freedv_reporter.cpp and find-replace all instances of "utf8_string" with "utf8_str" to get around this. If that works, I can see about integrating the changes on my end.

Thanks,

-Mooneer K6AQ

Mooneer Salem

unread,
Jun 2, 2025, 4:04:35 PM6/2/25
to digita...@googlegroups.com
Actually, can you try using Barry's build script again? I just checked in that utf8_str change so hopefully that helps.

-Mooneer K6AQ

Ryan Wesolowski

unread,
Jun 11, 2025, 12:10:39 AM6/11/25
to digitalvoice
Mooneer,

I tried with the script this time and got a new error. 


[100%] Linking C executable write_rade_weights
cd /home/ryan/freedv-rade/freedv-gui/build_linux/rade_build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/write_rade_weights.dir/link.txt --verbose=1
/usr/bin/cc -O2 -fstack-protector-strong -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -DHAVE_CONFIG_H CMakeFiles/write_rade_weights.dir/write_rade_weights.c.o -o write_rade_weights  -Wl,-rpath,/home/ryan/freedv-rade/freedv-gui/build_linux/rade_build/src librade.so.0.1 ../build_opus-prefix/src/build_opus/.libs/libopus.a -lm /usr/lib/x86_64-linux-gnu/libpython3.10.so
make[5]: Leaving directory '/home/ryan/freedv-rade/freedv-gui/build_linux/rade_build'
[100%] Built target write_rade_weights
make[4]: Leaving directory '/home/ryan/freedv-rade/freedv-gui/build_linux/rade_build'
/usr/bin/cmake -E cmake_progress_start /home/ryan/freedv-rade/freedv-gui/build_linux/rade_build/CMakeFiles 0
make[3]: Leaving directory '/home/ryan/freedv-rade/freedv-gui/build_linux/rade_build'
cd /home/ryan/freedv-rade/freedv-gui/build_linux/rade_build && /usr/bin/cmake -E touch /home/ryan/freedv-rade/freedv-gui/build_linux/build_rade-prefix/src/build_rade-stamp/build_rade-build
[ 54%] No install step for 'build_rade'
cd /home/ryan/freedv-rade/freedv-gui/build_linux/rade_build && /usr/bin/cmake -E echo_append
cd /home/ryan/freedv-rade/freedv-gui/build_linux/rade_build && /usr/bin/cmake -E touch /home/ryan/freedv-rade/freedv-gui/build_linux/build_rade-prefix/src/build_rade-stamp/build_rade-install
[ 55%] Completed 'build_rade'
/usr/bin/cmake -E make_directory /home/ryan/freedv-rade/freedv-gui/build_linux/CMakeFiles
/usr/bin/cmake -E touch /home/ryan/freedv-rade/freedv-gui/build_linux/CMakeFiles/build_rade-complete
/usr/bin/cmake -E touch /home/ryan/freedv-rade/freedv-gui/build_linux/build_rade-prefix/src/build_rade-stamp/build_rade-done
make[2]: Leaving directory '/home/ryan/freedv-rade/freedv-gui/build_linux'
[ 55%] Built target build_rade
make[1]: Leaving directory '/home/ryan/freedv-rade/freedv-gui/build_linux'
make: *** [Makefile:156: all] Error 2
ERROR: Build failed for some reason, check for errors above and run again later.

This is just near the bottom of the print.  I could not find this time why its failing to build.  

Also had to mod the script to use this below.
libwxgtk3.0-gtk3-dev

Ryan
KK6DZB

Mooneer Salem

unread,
Jun 11, 2025, 12:25:50 PM6/11/25
to digita...@googlegroups.com
Hi Ryan,

I recommend updating Barry's build script to the latest on GitHub as it contains the changes to allow FreeDV to build with wxWidgets 3.0:

freedv-rade-build$ git update
freedv-rade-build$ ./freedv-rade-update

Thanks,

-Mooneer K6AQ

Pino Zollo

unread,
Jun 11, 2025, 9:07:24 PM6/11/25
to digita...@googlegroups.com


On 6/11/25 13:25, Mooneer Salem wrote:
reedv-rade-build$ git update


Do you mean; git update-ref ?

73

Pino

Mooneer Salem

unread,
Jun 11, 2025, 10:27:56 PM6/11/25
to digita...@googlegroups.com
Yikes, I meant git pull. Sorry about that!

-Mooneer K6AQ

--
You received this message because you are subscribed to the Google Groups "digitalvoice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digitalvoice...@googlegroups.com.

Barry Jackson

unread,
Jun 13, 2025, 5:34:44 AM6/13/25
to digita...@googlegroups.com
On 12/06/2025 03:27, Mooneer Salem wrote:
> Yikes, I meant git pull. Sorry about that!
>
> -Mooneer K6AQ
>

It's still only in a branch not main so:

cd freedv-rade-build
git pull
git switch mint-versions
./freedv-rade-build

I will merge that as soon as I see that it's working OK, the issue was
hijacked and I didn't get any more feedback on the original mint problem.

Cheers,
Barry

Ryan Wesolowski

unread,
Jun 13, 2025, 7:50:43 PM6/13/25
to digitalvoice
Barry,

Thank you.  I will try the mint version later this evening.  I will post feed back here if it works. 

Ryan
KK6DZB

Ryan Wesolowski

unread,
Jun 13, 2025, 8:02:00 PM6/13/25
to digitalvoice
git switch mint-versions
Branch 'mint-versions' set up to track remote branch 'mint-versions' from 'origin'.


Hello ryan, you seem to be using Linux Mint 21.3

Installation will be made into /home/ryan/freedv-rade

Enter the root password to install some initially needed dependencies
./freedv-rade-build: line 65: [[: 21.3: syntax error: invalid arithmetic operator (error token is ".3")
[sudo] password for ryan:          
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'python3-numpy' instead of 'python3-numpy-dev'
E: Unable to locate package libwxgtk3.2-dev
E: Couldn't find any package by glob 'libwxgtk3.2-dev'
E: Unable to locate package python3.12-venv
E: Couldn't find any package by glob 'python3.12-venv'
Deps install failed - try again later

I am unable to install these packages.

Ryan
KK6DZB

Barry Jackson

unread,
Jun 18, 2025, 7:23:32 PM6/18/25
to digita...@googlegroups.com
> --
> You received this message because you are subscribed to the Google
> Groups "digitalvoice" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to digitalvoice...@googlegroups.com
> <mailto:digitalvoice...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> digitalvoice/af6761f9-f920-4d92-a3b0-b7219fd929bdn%40googlegroups.com
> <https://groups.google.com/d/msgid/digitalvoice/af6761f9-f920-4d92-a3b0-
> b7219fd929bdn%40googlegroups.com?utm_medium=email&utm_source=footer>.

Hi Ryan,
I just made some changes based on your error messages,
please try:

cd ~/freedv-rade-build
git switch main
git pull
./freedv-rade-build

Please post any errors back here. I don't have a mint system to test :\
Also could you please reply with the output of:

cat /etc/os-release

73
Barry

Ryan Wesolowski

unread,
Jun 23, 2025, 12:06:30 AM6/23/25
to digitalvoice
/usr/bin/cmake -P CMakeFiles/git_version.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/git_version.dir/link.txt --verbose=1
/usr/bin/ar qc libgit_version.a CMakeFiles/git_version.dir/generated/git_version.cpp.o
/usr/bin/ranlib libgit_version.a

make[2]: Leaving directory '/home/ryan/freedv-rade/freedv-gui/build_linux'
-- The CXX compiler identification is GNU 11.4.0
[ 44%] Built target git_version
-- Detecting C compiler ABI info
In file included from /home/ryan/freedv-rade/freedv-gui/src/gui/controls/plot_scatter.h:28,
                 from /home/ryan/freedv-rade/freedv-gui/src/gui/controls/plot_scatter.cpp:26:
/home/ryan/freedv-rade/freedv-gui/src/gui/controls/../../defines.h:26:10: fatal error: freedv_api.h: No such file or directory
   26 | #include "freedv_api.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/gui/controls/CMakeFiles/fdv_gui_controls.dir/build.make:104: src/gui/controls/CMakeFiles/fdv_gui_controls.dir/plot_scatter.cpp.o] Error 1
In file included from /home/ryan/freedv-rade/freedv-gui/src/gui/controls/plot_waterfall.h:27,
                 from /home/ryan/freedv-rade/freedv-gui/src/gui/controls/plot_waterfall.cpp:27:
/home/ryan/freedv-rade/freedv-gui/src/gui/controls/../../defines.h:26:10: fatal error: freedv_api.h: No such file or directory
   26 | #include "freedv_api.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.


And at the end of the build

make[1]: Leaving directory '/home/ryan/freedv-rade/freedv-gui/build_linux'
make: *** [Makefile:156: all] Error 2
ERROR: Build failed for some reason, check for errors above and run again later.

Output of cat /etc/os-release

NAME="Linux Mint"
VERSION="21.3 (Virginia)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21.3"
VERSION_ID="21.3"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=virginia
UBUNTU_CODENAME=jammy


Ryan

KK6DZB

Mooneer Salem

unread,
Jun 23, 2025, 12:01:01 PM6/23/25
to digita...@googlegroups.com
freedv_api.h should definitely be in there (in fact, it's now in the FreeDV source tree itself). Might need to remove the build_linux folder and try running freedv-rade-build again.

-Mooneer K6AQ

To unsubscribe from this group and stop receiving emails from it, send an email to digitalvoice...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/digitalvoice/93f99650-0775-417b-bd47-ed2aaffb0f4bn%40googlegroups.com.

Ryan Wesolowski

unread,
Jun 25, 2025, 12:45:20 AM6/25/25
to digitalvoice
Mooneer,

Completely removed the script and purged anything I could to do with freedv.  Same errors below

                 from /home/ryan/freedv-rade/freedv-gui/src/gui/controls/plot_scalar.cpp:26:

/home/ryan/freedv-rade/freedv-gui/src/gui/controls/../../defines.h:26:10: fatal error: freedv_api.h: No such file or directory
   26 | #include "freedv_api.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/gui/controls/CMakeFiles/fdv_gui_controls.dir/build.make:90: src/gui/controls/CMakeFiles/fdv_gui_controls.dir/plot_scalar.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
In file included from /home/ryan/freedv-rade/freedv-gui/src/gui/controls/plot_spectrum.h:27,
                 from /home/ryan/freedv-rade/freedv-gui/src/gui/controls/plot_spectrum.cpp:24:

/home/ryan/freedv-rade/freedv-gui/src/gui/controls/../../defines.h:26:10: fatal error: freedv_api.h: No such file or directory
   26 | #include "freedv_api.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
In file included from /home/ryan/freedv-rade/freedv-gui/src/gui/controls/plot_scatter.h:28,
                 from /home/ryan/freedv-rade/freedv-gui/src/gui/controls/plot_scatter.cpp:26:
/home/ryan/freedv-rade/freedv-gui/src/gui/controls/../../defines.h:26:10: fatal error: freedv_api.h: No such file or directory
   26 | #include "freedv_api.h"
      |          ^~~~~~~~~~~~~~


Ryan KK6DZB

Barry Jackson

unread,
Jun 25, 2025, 5:14:10 AM6/25/25
to digita...@googlegroups.com
@Mooneer, the freedv-rade-build script totally removes the freedv-rade
folder when run so nothing is left of previous runs.

This is rather strange.

Barry Jackson

unread,
Jun 25, 2025, 8:51:57 AM6/25/25
to digita...@googlegroups.com
I just installed Linux Mint 21.3 in a VBox VM, ran my script and it
installed and runs without any issue!

It is only configured to work in Mint 22 or Mint 21.3 at present but I
will update it soon to work with all 21.x and 22.x versions.

Barry
G4MKT

Mooneer Salem

unread,
Jun 25, 2025, 4:00:33 PM6/25/25
to digita...@googlegroups.com
Ryan, I think full logs from the compile run might be beneficial in case there was a failure earlier in the process. You can attach here or email me off-list.

-Mooneer K6AQ

--
You received this message because you are subscribed to the Google Groups "digitalvoice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digitalvoice...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages