简体   繁体   English

严重错误:systemc.h:没有此类文件或目录

[英]fatal error: systemc.h: No such file or directory

i am trying to build a project in Eclipse, which looks something like this: 我正在尝试在Eclipse中构建一个项目,看起来像这样:

#include <iostream>
#include <systemc.h>
int sc_main() 
{
    ... 
}

and I gat this error message: 我得到这个错误消息:

make all 
Building file: ../src/main.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/main.d" -MT"src/main.d" -o "src/main.o" "../src/main.cpp"
../src/main.cpp:11:21: fatal error: systemc.h: No such file or directory
compilation terminated.
make: *** [src/main.o] Error 1

Note: I am new to Eclipse... 注意:我是Eclipse的新手...

You forgot to add the SystemC library to your include path. 您忘记将SystemC库添加到您的包含路径。

A detailed post on how to setup SystemC with Eclipse is available here: http://karibe.co/2014/02/setting-up-systemc-and-eclipse-for-c-hardware-simulation/ 有关如何使用Eclipse设置SystemC的详细信息,请参见: http : //karibe.co/2014/02/setting-up-systemc-and-eclipse-for-c-hardware-simulation/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 致命错误:stdio.h 没有那个文件或目录 - Fatal error: stdio.h No such file or directory 致命错误:webkit2 / webkit2.h:没有这样的文件或目录 - fatal error: webkit2/webkit2.h: No such file or directory Eclipse CDT:致命错误:NewLib / MathFuncsLib.h:没有这样的文件或目录 - Eclipse CDT: fatal error: NewLib/MathFuncsLib.h: No such file or directory 严重错误:fitz.h:muPDF库中没有这样的文件或目录 - fatal error: fitz.h: No such file or directory in muPDF library 严重错误:gst / gst.h:没有此类文件或目录 - fatal error: gst/gst.h: No such file or directory 致命错误:opencv2 / core / core_c.h:没有这样的文件或目录 - fatal error: opencv2/core/core_c.h: No such file or directory 类型致命错误:gtk / gtk.h:Eclipse(Oxygen)编译期间没有这样的文件或目录 - Type fatal error: gtk/gtk.h: No such file or directory during Eclipse (Oxygen) compilation Ubuntu Eclipse libxml2错误:致命错误:libxml / xmlversion.h:没有这样的文件或目录 - Ubuntu Eclipse libxml2 error : fatal error: libxml/xmlversion.h: No such file or directory 无法构建opengl es 2.0 c ++本机android项目。 (严重错误:android / sensor.h:没有此类文件或目录) - Cannot build an opengl es 2.0 c++ native android project. (fatal error: android/sensor.h: No such file or directory) 致命错误,没有这样的文件或目录(eclipse android) - Fatal error, no such file or directory ( eclipse android )
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM