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

Can't seem to build on Apple Silicon #1

Open
aikinai opened this issue Jul 7, 2022 · 0 comments
Open

Can't seem to build on Apple Silicon #1

aikinai opened this issue Jul 7, 2022 · 0 comments

Comments

@aikinai
Copy link

aikinai commented Jul 7, 2022

So excited to find this library, but I ran into a number of errors trying to build on Apple Silicon. I think I cleared out a few, but I'm still stuck at linking.

  1. I did have to disable SUP and run get-protos.sh and dump-mappings.sh. I guess that means Keynote has changed too much?
  2. Next I got an error about ifstream f(name.c_str()); which seems to have been fixed by the compilers suggestion to change it to std::ifstream.
  3. That still threw an error, but a quick Google suggested #include <fstream> which seems to have fixed it.
  4. Now I'm stuck at the linking with the following:
[ 61%] Linking CXX executable keynote
ld: warning: ignoring file /opt/homebrew/lib/libboost_atomic-mt.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
ld: warning: ignoring file /opt/homebrew/lib/libprotobuf.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
ld: warning: ignoring file /opt/homebrew/lib/libboost_filesystem-mt.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbols for architecture x86_64:

Which is followed by tons of stuff. Any suggestions on how to get it working?

Thank you!

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

No branches or pull requests

1 participant