OpenASIC
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • \[\[global:header.users\]\]
    • \[\[global:header.groups\]\]
    • \[\[global:header.search\]\]
    • Register
    • Login

    执行makefile时,运行到csim_design时,提示缺少stdio.h

    Scheduled Pinned Locked Moved xkISP
    2 Posts 2 Posters 5.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 大 Offline
      大聪明任驰骋
      last edited by 大聪明任驰骋

      您好,我按照git上的提示步骤,进行至modle level ification步骤,在tcl文件夹下运行make时,程序运行到csim_design时,因无法找到stdio.h文件,导致vitis_hls程序运行中止。

      1. 请问这种情况应该如何解决呢?
      2. 请问xkISP开源项目使用的vitis hls具体是哪个版本?

      错误代码如下:

      INFO: [SIM 211-4] CSIM will launch GCC as the compiler.
      make[1]: Entering directory '/home/a/work/xkISP-main/tcl/lsc/lsc/csim/build'
      Compiling ../../../../../tb/tb_lsc.cpp in debug mode
      make[1]: Leaving directory '/home/a/work/xkISP-main/tcl/lsc/lsc/csim/build'
      In file included from ../../../../../tb/../src/lsc.h:4:0,
      from ../../../../../tb/tb_lsc.cpp:1:
      ../../../../../tb/../src/top.h:4:19: fatal error: stdio.h: No such file or directory
      #include <stdio.h>
      ^
      compilation terminated.

      1 Reply Last reply Reply Quote 0
      • K Offline
        Kennico
        last edited by

        你好
        1.stdio.h找不到的问题,可能是你的操作系统上一些c的标准库没有安装,导致gcc无法编译,这部分网上资料比较多,你可以去搜一搜如何安装
        2.我们现在用的vitis版本是2021.2版本

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Copyright © 2016 OpenASIC.XinKai
        VIP Lab @Fudan University | XK Silicon