User forums > Help

How to use openmp?

(1/1)

SilWb:
Hello everyone.
I'm new to codeblocks and I'm trying to use a simple C hello world program with openmp.
I'm using the -fopenmp option, but I'm still getting 'undefined reference' problems.
Should I change the linker options? What do I use?
(I'm using the Windows version with MinGW)

Excuse me if this may be obvious but I've been trying for a while and
I could use some help. Thanks.


***EDIT: Never mind, solved

Navigation

[0] Message Index

Go to full version