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

Build Error on mac M series #12

Open
pedrozarin2024 opened this issue Dec 30, 2023 · 1 comment
Open

Build Error on mac M series #12

pedrozarin2024 opened this issue Dec 30, 2023 · 1 comment

Comments

@pedrozarin2024
Copy link

after i build opencv and ncnn i got this error:

-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/alireza/Work/CPP/LET-NET-main/build
[ 33%] Linking CXX executable demo
clang: error: unsupported option '-fopenmp'
make[2]: *** [demo] Error 1
make[1]: *** [CMakeFiles/demo.dir/all] Error 2
make: *** [all] Error 2

can any one help me

@linyicheng1
Copy link
Owner

Try to install openMP

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

2 participants