g ++:error:libgomp.spec:没有这样的文件或目录 [英] g++: error: libgomp.spec: No such file or directory

查看:2871
本文介绍了g ++:error:libgomp.spec:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用g ++(GCC)4.7.2。在Windows 7,64位版本上。



http ://nuwen.net/mingw.html



我尝试使用-fopenmp标志并得到错误:



g ++:error:libgomp.spec:没有这样的文件或目录

我无法在系统中的任何位置找到该文件。我需要重新安装一些东西吗?我可以在某处放置一个文件吗?

解决方案

我有类似的问题。我在下面的讨论中安装了其中一个版本。
我应该使用哪个版本的MinGW



我现在无法访问我的Windows机器,因此我不知道我使用了哪个版本,但如果到那时您还没有正常工作,我可以在星期一检查。
它可能是这一个。
http://sourceforge.net/projects/mingwbuilds/files / host-windows / releases /


I use g++ (GCC) 4.7.2. on Windows 7, 64-bit version.

downloaded from http://nuwen.net/mingw.html

I tried to use the "-fopenmp" flag and got the error:

g++: error: libgomp.spec: No such file or directory

I can't find the file anywhere on my system. Do I need to re-install something? Can I just throw a file somewhere?

解决方案

I had a similar problem. I got it working installing one of the version at the following discussion. Which version of MinGW should I use

I don't have access to my windows machine now so I don't know which version I used but I can check on Monday if you don't have it working by then. It might have been this one. http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/

这篇关于g ++:error:libgomp.spec:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆