跳转至内容
  • 版块
  • 最新
  • 标签
  • 热门
折叠
品牌标识

YunTu Forum

YTMicro.com
  1. 主页
  2. Discussion & Question
  3. 开发环境搭建
  4. cmake命令行编译问题

cmake命令行编译问题

已定时 已固定 已锁定 已移动 已解决 开发环境搭建
4 帖子 2 发布者 115 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • Maple12138M 离线
    Maple12138M 离线
    Maple12138 YunTu
    写于 最后由 编辑
    #1

    我这边cmake编译报错
    8688c3ae-ac67-438b-9e33-2c4c14be21cb-image.png

    客户端cmake爆这个错误
    6c36cf42-4e73-43f5-9818-76025a6b3488-157e39702b17e188ceca60f526cdca6.jpg

    1 条回复 最后回复
    0
    • FrankieF 离线
      FrankieF 离线
      Frankie YunTu
      写于 最后由 编辑
      #2
      mkdir build
      cd build
      PS C:\Users\Frankie\Downloads\test_project\Adc_All_Channel_Demo> cd .\build\
      PS C:\Users\Frankie\Downloads\test_project\Adc_All_Channel_Demo\build> cmake .. -DARM_CPU="cortex-m33" -DDEVICE_NAME="YTM32B1MD1" -DTOOLCHAIN="GCC" -DCMAKE_TOOLCHAIN_FILE="./../cmake/gcc.cmake" -G Ninja
      -- The C compiler identification is GNU 10.3.1
      -- The CXX compiler identification is GNU 10.3.1
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: C:/Users/Frankie/AppData/Roaming/yt_config_tool/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: C:/Users/Frankie/AppData/Roaming/yt_config_tool/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-g++.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- The ASM compiler identification is GNU
      -- Found assembler: C:/Users/Frankie/AppData/Roaming/yt_config_tool/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe
      -- Configuring done (1.8s)
      -- Generating done (0.0s)
      CMake Warning:
        Manually-specified variables were not used by the project:
      
          DEVICE_NAME
          TOOLCHAIN
      
      
      -- Build files have been written to: C:/Users/Frankie/Downloads/test_project/Adc_All_Channel_Demo/build
      PS C:\Users\Frankie\Downloads\test_project\Adc_All_Channel_Demo\build> ninja
      [31/31] Linking C executable Adc_All_Channel_Demo.elf
         text    data     bss     dec     hex filename
         9948     329    2160   12437    3095 Adc_All_Channel_Demo.elf
      PS C:\Users\Frankie\Downloads\test_project\Adc_All_Channel_Demo\build>
      
      Maple12138M 1 条回复 最后回复
      0
      • Maple12138M 离线
        Maple12138M 离线
        Maple12138 YunTu
        在 回复了 Frankie 最后由 编辑
        #3

        Frankie
        20a8a4fa-cdec-4335-befd-c62aa1fc065d-image.png

        1 条回复 最后回复
        0
        • FrankieF 离线
          FrankieF 离线
          Frankie YunTu
          写于 最后由 编辑
          #4

          删除build重新执行

          1 条回复 最后回复
          0
          • Maple12138M Maple12138 将这个主题标记为已解决,在
          • J JMHL 在 中 引用了 这个主题

        • 云途论坛规则/Yuntu Forum Rules

          发帖前请查看

        • YCT离线License申请流程

          帮助没办法联网的电脑使用YCT

        • YT CONFIG TOOL调查问卷

          帮助改进和优化YT CONFIG TOOL,有机会抽取YTM32B1ME0 EVB哦...

        • demo
          12
          can
          9
          lin stack
          6
          yt-link
          5
          vscode
          3
          adc模块
          2
          i2c
          2
          uuid
          2
          Online Users
          • 登录

          • 登录或注册以进行搜索。
          • 第一个帖子
            最后一个帖子
          0
          • 版块
          • 最新
          • 标签
          • 热门