Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static Build on MacOS Failing #207

Open
ndeshpande2022 opened this issue Jun 25, 2024 · 1 comment
Open

Static Build on MacOS Failing #207

ndeshpande2022 opened this issue Jun 25, 2024 · 1 comment

Comments

@ndeshpande2022
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant