How to set up OpenMP?
问题 I am using Codeblocks and have to run an OpenMP C program. So, I added the flag -fopenmp in Codeblocks (compiler settings) and am now getting the error of ' mingw32-g++.exe: error: libgomp.spec: No such file or directory ' So after a bit of searching on the internet about the error, I downloaded TDM-GCC ( installed in C:\TDM-GCC-64). But still the same error is being shown on Codeblocks. What am I doing wrong? Here is the build log: mingw32-gcc.exe -c "D:\Language Files\MatrixMultiplication.c