Skip to content

Build Error on mac M series #12

@pedrozarin2024

Description

@pedrozarin2024

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions