Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

OpenMP in Qtcreator under Ubuntu 16.04

$
0
0

@Gallo wrote:

Hello,

I would like to try to optimize an ofxBox2D app so i thought i would give OpenMP a try.

I tested under OSX El Capitan with XCode but it is a mess using omp under mac.
So i switch this app to Linux (Ubuntu 16.04)

I am using Qtcreator 3.6.1
The problem is : i don't know how to include omp flags to the compiler under qtcreator. Every doc i saw is dealing with .pro files but i only see .qbs files now in qtcreator.

I tried to add a line in qbs file but it complains it doesn't find the variable.

 of.cxxFlags: [-fopenmp]

Any clue ?

thanks a lot

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles