[英]Compile error; running Hello World OpenMP C program in Eclipse
I'm using the Eclipse Parallel Tools Platform trying to run the default C OpenMP Hello World project. 我正在使用Eclipse Parallel Tools Platform尝试运行默认的C OpenMP Hello World项目。 This is the compile error I get:
这是我得到的编译错误:
Info: Internal Builder is used for build
gcc -fopenmp -O0 -g3 -Wall -c -fmessage-length=0 -fopenmp -o Q3.o "..\\Q3.c"
gcc -fopenmp -o AS2Q3.exe Q3.o
gcc: error: libgomp.spec: No such file or directory
I cannot figure out how to solve this, and have not been able to find helpful information on line. 我无法解决该问题,也无法在线找到有用的信息。
Thanks! 谢谢!
Download libgomp.spec and copy into /usr/lib or /usr/local/lib. 下载libgomp.spec并复制到/ usr / lib或/ usr / local / lib。 Hope it will work.
希望它能工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.