Forum Topic - cmath gives error:
   
cmath gives error  
Hi!

I'm trying to compile the following program using QNX momentics

#include <cstdlib>
#include <iostream>
#include <cmath>

int main(int argc, char *argv[]) {
	int a=std::pow(2,4);
	return EXIT_SUCCESS;
}

However, I recieve the following error:

math.h: undefined reference to ` pow'

What am I doing wrong? 

Thankful for your help.

Best Regards
Hugo