bbc / audiowaveform

C++ program to generate waveform data and render waveform images from audio files
https://waveform.prototyping.bbc.co.uk
GNU General Public License v3.0
1.93k stars 242 forks source link

Static Builds for Windows, Mac, and Linux #206

Open ndeshpande2022 opened 5 months ago

ndeshpande2022 commented 5 months ago

Hi there,

I was wondering if there are static builds available for windows, mac, and Linux? Or is the solution to build them from source? I believe hosted static builds would really help new users.

Thanks so much -

chrisn commented 5 months ago

Just to note that statically linked Windows binaries are available on the Releases page here.

ndeshpande2022 commented 5 months ago

Hi Chris -

I apologize, you are correct. We have binaries for Windows, and Linux. I'm having issues building a static version for Mac at the moment.

When running the Make command it fails when linking CXX executable audiowaveform -

ld: library not found for -licudata.

I'm not sure this is an audiowaveform issue, but probably something to do with Boost.

Any ideas on what I may be missing?

chrisn commented 5 months ago

Unfortunately, I don't have access to MacOS to test this myself. It is related to Boost, and specifically the Regex library. There's a related issue https://github.com/bbc/audiowaveform/issues/132 that might help. There's some info in https://github.com/bbc/audiowaveform/issues/201 on how to build Boost without the ICU dependency.