[Fixed] Error " 'isinf' was not declared in this scope" when building master

When compiling master branch I get an error " ‘isinf’ was not declared in this scope" multiple times in file svm_noise.h. Occurs during ‘make’.

If I replace ‘isinf’ with ‘std::isinf’ in that file, then the build completes with no errors, but I don’t know if that is the right thing to do or just a hack that allows the code to compile.

I also get the same problem (with the same solution) if I try to build the soc-2019-cycles-procedural branch.

I’m using Linux Mint 18.3
building using cmake (using the command from install_deps.sh) and make
gcc version 5.4.0

Has anyone else encountered this problem, or is it just me?

I had this too, same specs.
A fix is on its way.
edit: and there it is.

1 Like