Code::Blocks Forums

User forums => Help => Topic started by: SilWb on December 19, 2016, 10:14:43 pm

Title: How to use openmp?
Post by: SilWb on December 19, 2016, 10:14:43 pm
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