Can't build pc-ble-driver on Windows 10

I following description of https://github.com/NordicSemiconductor/pc-ble-driver#Compiling-pc-ble-driver-from-source to build pc-ble-driver

pc-ble-driver\build> cmake -G Ninja ..
-- NRF_BLE_DRIVER_VERSION not specified, setting it to 0.0.0
CMake Warning at D:/vcpkg/scripts/buildsystems/vcpkg.cmake:116 (message):
  Unable to determine target architecture, continuing without vcpkg.
Call Stack (most recent call first):
  build/CMakeFiles/3.14.0/CMakeSystem.cmake:6 (include)
  CMakeLists.txt:25 (project)


-- The C compiler identification is Clang 13.0.0
CMake Error at D:/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/share/cmake-3.14/Modules/CMakeDetermineCompilerId.cmake:859 (message):
  The Clang compiler tool

    "C:/Library/Developer/Toolchains/unknown-Asserts-development.xctoolchain/usr/bin/clang.exe"

  targets the MSVC ABI but has a GNU-like command-line interface.  This is
  not supported.  Use 'clang-cl' instead, e.g.  by setting 'CC=clang-cl' in
  the environment.  Furthermore, use the MSVC command-line environment.
Call Stack (most recent call first):
  D:/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/share/cmake-3.14/Modules/CMakeDetermineCCompiler.cmake:114 (CMAKE_DIAGNOSE_UNSUPPORTED_CLANG)
  CMakeLists.txt:25 (project)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "D:/pc-ble-driver/build/CMakeFiles/CMakeOutput.log".

Parents
  • log

    The system is: Windows - 10.0.19044 - AMD64
    Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
    Compiler: C:/Library/Developer/Toolchains/unknown-Asserts-development.xctoolchain/usr/bin/clang.exe 
    Build flags: 
    Id flags:  
    
    The output was:
    0
    
    
    Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe"
    
    The C compiler identification is Clang, found in "D:/Andy/workspace_C_Win10/pc-ble-driver/build/CMakeFiles/3.14.0/CompilerIdC/a.exe"
    
    

Reply
  • log

    The system is: Windows - 10.0.19044 - AMD64
    Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
    Compiler: C:/Library/Developer/Toolchains/unknown-Asserts-development.xctoolchain/usr/bin/clang.exe 
    Build flags: 
    Id flags:  
    
    The output was:
    0
    
    
    Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe"
    
    The C compiler identification is Clang, found in "D:/Andy/workspace_C_Win10/pc-ble-driver/build/CMakeFiles/3.14.0/CompilerIdC/a.exe"
    
    

Children
No Data
Related