Skip to content

CMake Error at src/CMakeLists.txt:116 (target_compile_features): target_compile_features no known features for CXX compiler #3078

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

Open
Pegasus143 opened this issue Apr 25, 2025 · 0 comments

Comments

@Pegasus143
Copy link

Detected Xcode version: 16.2
Checking for required tools...
Building for iOS simulator...
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped
-- Found Git: /usr/bin/git (found version "2.39.5 (Apple Git-154)")
-- Setting GGML_NATIVE_DEFAULT to OFF
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
CMake Error at ggml/src/CMakeLists.txt:47 (ggml_get_flags):
ggml_get_flags Function invoked with incorrect arguments for function
named: ggml_get_flags

-- Warning: ccache not found - consider installing it for faster compilation or disable this warning with GGML_CCACHE=OFF
-- CMAKE_SYSTEM_PROCESSOR:
-- Including CPU backend
CMake Error at ggml/src/ggml-cpu/CMakeLists.txt:38 (target_compile_features):
target_compile_features no known features for C compiler

""

version .
Call Stack (most recent call first):
ggml/src/CMakeLists.txt:302 (ggml_add_cpu_backend_variant_impl)

-- Looking for dgemm_
-- Looking for dgemm_ - found
-- Found BLAS: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/Accelerate.framework
-- BLAS found, Libraries: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/Accelerate.framework
-- BLAS found, Includes:
-- Including BLAS backend
-- Metal framework found
-- The ASM compiler identification is AppleClang
-- Found assembler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-- Including METAL backend
CMake Error at ggml/src/CMakeLists.txt:319 (target_compile_features):
target_compile_features no known features for C compiler

""

version .

CMake Error at ggml/src/CMakeLists.txt:319 (target_compile_features):
target_compile_features no known features for C compiler

""

version .

-- CoreML framework found
CMake Error at cmake/DefaultTargetOptions.cmake:7 (target_compile_features):
target_compile_features no known features for CXX compiler

""

version .
Call Stack (most recent call first):
src/CMakeLists.txt:67 (include)

CMake Error at src/CMakeLists.txt:116 (target_compile_features):
target_compile_features no known features for CXX compiler

""

version .

-- Configuring incomplete, errors occurred!

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