Hello, everyone.
I’m relative new with palabos. Now i have an problem and cannot get the solution… I run Palabos under windows XP, and compiled it with Code::Blocks.
I tryed to compile the first example cavity2d.h, but when building, a error ocoured in plbRandom.h as followed:
plbRandom.h||In member function ‘virtual void plb::global::DefaultRandom::iterate()’
plbRandom.h|69|error: there are no arguments to ‘random’ that depend on a template parameter, so a declaration of ‘random’ must be available|
plbRandom.h|69|note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)|
plbRandom.h||In member function ‘virtual T plb::global::DefaultRandom::get(plb::pluint)’
plbRandom.h|75|error: there are no arguments to ‘random’ that depend on a template parameter, so a declaration of ‘random’ must be available|
plbRandom.h|77|error: there are no arguments to ‘random’ that depend on a template parameter, so a declaration of ‘random’ must be available|
||=== Build finished: 3 errors, 0 warnings ===|
I hope someone can help.
Songgui