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

g++ Compiler option for Mac? #199

Open
kwunh opened this issue Dec 23, 2024 · 0 comments
Open

g++ Compiler option for Mac? #199

kwunh opened this issue Dec 23, 2024 · 0 comments

Comments

@kwunh
Copy link

kwunh commented Dec 23, 2024

Hello, I am trying to build the library nibrary which has geogram as a dependency.
However, I am installing on to a MacBook Pro (M4 Pro, macOS Sequoia 15.1) and I am getting this error:

make[5]: *** [src/lib/geogram/third_party/CMakeFiles/geogram_third_party.dir/xatlas/xatlas.cpp.o] Error 1
g++: error: unrecognized command-line option '-Qunused-arguments'

So I understand this is an error related to clang but the library I am trying to build does not support clang and instead, I am using homebrew version of g++-14 and gcc-14.

They suggest using a local install of geogram but I am still getting this error. So I suspect I may have to manually switch to g++ for geogram. Is this possible? or is it possible to skip the '-Qunused-arguments' when building my desired library?

Thank you for any help!

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