Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
openMP not working
#2
The compiler is not finding the library containing the definitions of these methods to link against. You need to use "-fopenmp" as a linker option for the functions you mentioned to work. On code::blocks, go settings->compiler settings->linker settings tab->append "-fopenmp" to what's in the "other linker options" box.

If that doesn't work, it would help if you'd show the command you attempted to compile your program with.
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:


Messages In This Thread
openMP not working - by empirefantasy - 03-08-2016, 03:38 PM
RE: openMP not working - by A-Man - 03-08-2016, 04:51 PM
RE: openMP not working - by Som1Lse - 03-08-2016, 05:46 PM
RE: openMP not working - by A-Man - 03-08-2016, 06:27 PM
RE: openMP not working - by empirefantasy - 03-08-2016, 10:09 PM
RE: openMP not working - by Som1Lse - 03-09-2016, 09:11 AM
RE: openMP not working - by A-Man - 03-09-2016, 05:27 AM
RE: openMP not working - by empirefantasy - 03-09-2016, 09:30 PM



Users browsing this thread: 1 Guest(s)