title: CodeBlocks 12.11, MinGW
body: <p>I have CodeBlocks 12.11, mingw32-base (installed version 2013072200) (C language)</p>
  
  <p>In compiler settings I have linked: ...\CodeBlocks\MinGW\bin\libgomp-1.dll.
  And I added to other options "-fopenmp".</p>
  
  <p>Program looks like this:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main(){
      #pragma omp parallel
      {
          printf("Hello World!\n");
      }
  
      return 0;
  
  }
  </code></pre>
  
  <p>I try it all on Windows 7 x64, but i just can't seem to succeed in using this OpenMP, no idea what I'm doing wrong and google doesn't help.</p>
  
  <p>The error, when trying to build is:</p>
  
  <pre><code>-------------- Clean: Debug in Test (compiler: GNU GCC Compiler)---------------
  
  Cleaned "Test - Debug"
  
  -------------- Build: Debug in Test (compiler: GNU GCC Compiler)---------------
  
  mingw32-gcc.exe -Wall  -g  -fopenmp    -c C:\Users\MStranko\Desktop\PROJEKT444\Test\main.c -o obj\Debug\main.o
  mingw32-g++.exe  -o bin\Debug\Test.exe obj\Debug\main.o    D:\Programy\CodeBlocks\MinGW\bin\libgomp-1.dll 
  Execution of 'mingw32-g++.exe  -o bin\Debug\Test.exe obj\Debug\main.o    D:\Programy\CodeBlocks\MinGW\bin\libgomp-1.dll' in 'C:\Users\MStranko\Desktop\PROJEKT444\Test' failed.
  Nothing to be done (all items are up-to-date).
  </code></pre>
  
  <p>I am new to using C and even newer to using OpenMP (sadly I'm still forced to). If I could receive any help, I'll be thankfull.</p>