Skip to content

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

An answer to this question on Stack Overflow.

Question

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?

Answer

You could try installing TDM-GCC, which looks as though it includes OpenMP.

There's also Sezero's personal build.