audiowaveform icon indicating copy to clipboard operation
audiowaveform copied to clipboard

Static Build on MacOS Failing

Open ndeshpande2022 opened this issue 1 year ago • 1 comments

When creating a static build for Mac I'm running into a few issues. The first set of issues involved building a few dependencies myself (not a problem).

I was able to run: cmake -D BUILD_STATIC=1 .. No problems.

When I go to run the make command after this step, I hit this error:

1 warning generated. [ 34%] Building CXX object CMakeFiles/audiowaveform.dir/src/WavFileWriter.cpp.o [ 35%] Building C object CMakeFiles/audiowaveform.dir/src/madlld-1.1p1/bstdfile.c.o [ 36%] Building C object CMakeFiles/audiowaveform.dir/src/pdjson/pdjson.c.o [ 37%] Linking CXX executable audiowaveform clang: warning: argument unused during compilation: '-no-pie' [-Wunused-command-line-argument] ld: library not found for -licudata clang: error: linker command failed with exit code 1 (use -v to see invocation)

I can't locate licudata anywhere, any ideas?

ndeshpande2022 avatar Jun 25 '24 19:06 ndeshpande2022

I've been trying to work through these issues and I've hit a new issue...

Undefined symbols for architecture x86_64: "boost::filesystem::path::extension() const", referenced from: getFileExtension(boost::filesystem::path const&) in Options.cpp.o OptionHandler::generateWaveformData(boost::filesystem::path const&, FileFormat::FileFormat, boost::filesystem::path const&, FileFormat::FileFormat, Options const&) in OptionHandler.cpp.o OptionHandler::convertWaveformData(boost::filesystem::path const&, FileFormat::FileFormat, boost::filesystem::path const&, FileFormat::FileFormat, Options const&) in OptionHandler.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm wondering if there was any more guidance on building a static version for MacOS

ndeshpande2022 avatar Jun 26 '24 02:06 ndeshpande2022