darkice icon indicating copy to clipboard operation
darkice copied to clipboard

C++17 does not allow dynamic exception specifications

Open 1opeti opened this issue 2 years ago • 6 comments

compiling darkice-1.4 on Ubuntu 20.04 with aacplus & lame the installation fails on make because C++17 does not allow previously deprecated call to throw Is there a work around?

1opeti avatar Oct 20 '22 02:10 1opeti

work around : reinstall linux focal do NOT upgrade or use updates-alternatives: https://linuxconfig.org/how-to-switch-between-multiple-gcc-and-g-compiler-versions-on-ubuntu-22-04-lts-jammy-jellyfish

0d0a avatar Feb 12 '23 13:02 0d0a

Do not compile on Fedora 34+ and Rocky Linux too.

pat1 avatar Mar 17 '23 12:03 pat1

Does not compile on Devuan GNU/Linux Daedalus also. No answer 'till 2022 - is this sofrware dead? I see no new versions since 2020.

asbestomolesto avatar Dec 08 '23 08:12 asbestomolesto

Hi ! Did you try recently ? A PR has been submitted and already accepted. Checkout from the dev branch and let me know

titixbrest avatar Dec 08 '23 08:12 titixbrest

Darkice 1.5 succesfully compiled with lame and faac on a pi3bplus running bookworm aarch64! 🙏On 8 Dec 2023 09:55, Thierry @.***> wrote: Hi ! Did you try recently ? A PR has been submitted and already accepted. Checkout from the dev branch and let me know

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

0d0a avatar Dec 08 '23 10:12 0d0a

Hi @rafael2k this bug report is closed.

titixbrest avatar Dec 08 '23 12:12 titixbrest

Darkice 1.5 succesfully compiled with lame and faac on a pi3bplus running bookworm aarch64! 🙏On 8 Dec 2023 09:55, Thierry @.> wrote: Hi ! Did you try recently ? A PR has been submitted and already accepted. Checkout from the dev branch and let me know —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>

I tried again today and it still won't compile. It may be possible to find a version of c++ and GCC which works but so far no luck. My option is to install some older version of ubuntu and see if that works. AAC+ is really good as a delivery platform on dodgy circuits.

1opeti avatar Jun 18 '24 08:06 1opeti

I have now managed to successfully compile darkice on Ubuntu 24.04 with AAC+. I have a number of streaming servers running darkice/Icecast2 and delivering AAC+ audio as well as mp3. The HE-AAC gets through internet connections more reliably than MP3 and has a smaller footprint than MP2. I am using Barix at the receive end and they work really well with AAC+. My servers do logging and we mount remote studios on the Icecast2 server. The same server downloads news files and records audio from other stations for rebroadcast. It makes sense to upgrade to supported versions of the server code. It took a while but I found out how to remove the C compilers and replace them with older compilers that do not complain about unsupported exceptions. There are a couple of other edits required. I have it all in a bash script which I will figure out how to post somewhere. This is all to get access to AAC+ which for some reason is not included in the regular repository versions.

1opeti avatar Jun 23 '24 06:06 1opeti

I think I finally got rid of libaacplus. Please check master with fdk-aac.

rafael2k avatar Jun 24 '24 23:06 rafael2k