Welcome! Log In Create A New Profile

Advanced

Error Message in building first example

Posted by etsietsi  
Error Message in building first example
January 16, 2017 10:49PM
Hello,

I downloaded the most recent version of Palabos and am trying to run the first example cavity2d.cpp and received the error messages
'CLOCK_REALTIME' was not declared in this scope and 'clock_gettime' was not declared in this scope.

I am using Code::Blocks 16.01

Please help me and thank you for your time!

Best,
Evan Tsiklidis
Re: Error Message in building first example
January 18, 2017 12:09PM
Hi,

Follow the link below:
http://www.palabos.org/forum/read.php?11,7488

you need to set usePOSIX = false in compiler setting and change plbTimer.h and plbTimer.cpp .
Sorry, you do not have permission to post/reply in this forum.