When I try to build a C project in code:blocks on ubuntu 14.04 that uses GLM I get this
fatal error: cmath: No such file or directory
Any ideas how to fix this?
When I try to build a C project in code:blocks on ubuntu 14.04 that uses GLM I get this
fatal error: cmath: No such file or directory
Any ideas how to fix this?
 
    
     
    
    The problem here is that you are building a C project in Code::Blocks. It gives you the error:
fatal error: cmath: No such file or directory
because you are supposed to be building a C++ project, but the header <cmath> is only available for C++, not C. Look here for more references