Topic: error: ‘xx’ was not declared in this scope

hi folks.

I have some problems with the installation oofem-2.4.

I found 22 files with 5 types of errors as shown below.

"error:'fabs' was not declared in this scope"
"error:'insfinite' was not declared in this scope"
"error:'sqrt' was not declared in this scope"
"error:'pow' was not declared in this scope"
"error:'log' was not declared in this scope".

However, these errors did not appear when installing oofem2.5. If I want to use oofem2.4 how to solve it.

Thank you very much my friends

2

Re: error: ‘xx’ was not declared in this scope

HI, You may try to include "mathfem.h" in these files. Let me know if it works for you. If not, can you attach the compiler log?
With regards,
Borek