User forums > Using Code::Blocks

How to enable omp.h in code blocks?

(1/1)

triwater:
I need some help on how to set code blocks to enable omp.h. I have followed the instruction I can find online, but I still got the warning ignoring #pragma omp parallel.

I have tried to put -fopenmp in Compiler settings->Compiler settings -> Other options and also add the exact address of libgomp-1.dll in linker library.

stahta01:
Step0: Read this site rules and FAQs
http://forums.codeblocks.org/index.php/topic,9996.0.html
http://wiki.codeblocks.org/index.php?title=FAQ
Step1: Learn the name and version of your Compiler
Step2: Learn how to do what you want with your Compiler
Step3: Ask where to enter the options found in step 2 on this site

Tim S.

marcelinux:
There are some videos in youtube, like https://www.youtube.com/watch?v=p0woqF2XCeg
or https://www.youtube.com/watch?v=oiARwi0fJOU

Navigation

[0] Message Index

Go to full version