Welcome! Log In Create A New Profile

Advanced

v1.5r1 code:blocks error plbTimer.cpp

Posted by DeyikongDeyikong  
v1.5r1 code:blocks error plbTimer.cpp
March 13, 2017 10:28PM
I have a list of error for every running:


||=== Build: Debug in Palabos (compiler: GNU GCC Compiler) ===|
C:\Users\KK\Desktop\palabos-v1.5r1\src\core\plbTimer.cpp||In member function 'void plb::global::PlbTimer::start()':|
C:\Users\KK\Desktop\palabos-v1.5r1\src\core\plbTimer.cpp|49|error: 'timespec' was not declared in this scope|
C:\Users\KK\Desktop\palabos-v1.5r1\src\core\plbTimer.cpp|49|error: expected ';' before 'ts'|
C:\Users\KK\Desktop\palabos-v1.5r1\src\core\plbTimer.cpp|50|error: 'CLOCK_REALTIME' was not declared in this scope|
C:\Users\KK\Desktop\palabos-v1.5r1\src\core\plbTimer.cpp|50|error: 'ts' was not declared in this scope|
C:\Users\KK\Desktop\palabos-v1.5r1\src\core\plbTimer.cpp|50|error: 'clock_gettime' was not declared in this scope|
C:\Users\KK\Desktop\palabos-v1.5r1\src\core\plbTimer.cpp||In member function 'double plb::global::PlbTimer::getTime() const':|
C:\Users\KK\Desktop\palabos-v1.5r1\src\core\plbTimer.cpp|80|error: 'timespec' was not declared in this scope|
C:\Users\KK\Desktop\palabos-v1.5r1\src\core\plbTimer.cpp|80|error: expected ';' before 'ts'|
C:\Users\KK\Desktop\palabos-v1.5r1\src\core\plbTimer.cpp|81|error: 'CLOCK_REALTIME' was not declared in this scope|
C:\Users\KK\Desktop\palabos-v1.5r1\src\core\plbTimer.cpp|81|error: 'ts' was not declared in this scope|
C:\Users\KK\Desktop\palabos-v1.5r1\src\core\plbTimer.cpp|81|error: 'clock_gettime' was not declared in this scope|
||=== Build failed: 10 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

is there any solution for these?
Re: v1.5r1 code:blocks error plbTimer.cpp
March 14, 2017 09:13AM
I try to install code:blocks again, it becomes:

||=== Build: Release in Palabos (compiler: GNU GCC Compiler) ===|


C:\Users\...\palabos-v1.5r1\palabos-v1.5r1\src\core\plbTimer.cpp|50|error: 'CLOCK_REALTIME' was not declared in this scope|
C:\Users...\palabos-v1.5r1\palabos-v1.5r1\src\core\plbTimer.cpp|50|error: 'clock_gettime' was not declared in this scope|
C:\Users\...\palabos-v1.5r1\palabos-v1.5r1\src\core\plbTimer.cpp||In member function 'double plb::global::PlbTimer::getTime() const':|
C:\Users...\palabos-v1.5r1\palabos-v1.5r1\src\core\plbTimer.cpp|81|error: 'CLOCK_REALTIME' was not declared in this scope|
C:\Users\...\palabos-v1.5r1\palabos-v1.5r1\src\core\plbTimer.cpp|81|error: 'clock_gettime' was not declared in this scope|
||=== Build failed: 4 error(s), 29 warning(s) (0 minute(s), 44 second(s)) ===|
Re: v1.5r1 code:blocks error plbTimer.cpp
March 14, 2017 02:37PM
Dear Deyikong,

I do not think this is a problem with your code blocks installation but a bug in Palabos. This

[www.palabos.org]

and the threads linked therein should get you to the solution.


Regards,

kk
Re: v1.5r1 code:blocks error plbTimer.cpp
March 19, 2017 07:00AM
Hi Deyikong,
I meet the same issues with you. Have you solved it?

Regards,
Geoman



Edited 1 time(s). Last edit at 03/19/2017 07:00AM by Geoman.
Re: v1.5r1 code:blocks error plbTimer.cpp
March 25, 2017 11:58AM
Sorry, I have a new error, following [www.palabos.org]

I try to replace all the setting

the build messages change to:

||=== Build: Release in Palabos (compiler: GNU GCC Compiler) ===|
=||No such file or directory|
false||No such file or directory|
=||No such file or directory|
false||No such file or directory|
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

the build log shows:

mingw32-g++.exe: error: false: No such file or directory
mingw32-g++.exe: error: =: No such file or directory
mingw32-g++.exe: error: false: No such file or directory
Process terminated with status 1 (0 minute(s), 0 second(s))
4 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Sorry, you do not have permission to post/reply in this forum.