Quantcast
Channel: Undefined reference to `round' c language - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Aif for Undefined reference to `round' c language

In command line, you must specify -lm option to gcc to link the math lib. You have to find how to do so in eclipse.

View Article



Undefined reference to `round' c language

I'm using those imports #include <stdio.h> #include <math.h> and I'm getting undefined reference to `round' at this line: double res = round(atof(nextVal)); nextVal is a double value read...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images