sephirot@rock64:~/EmulationStation$ make
[ 1%] Built target nanosvg
[ 3%] Built target pugixml
[ 5%] Built target sqlite3
[ 6%] Building CXX object es-core/CMakeFiles/es-core.dir/src/Renderer_draw_gl.c pp.o
In file included from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:9:0:
/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/EmulationStation/es-core/src/ Util.h:23:22: error: 'float round(float)' conflicts with a previous declaration
float round(float num);
^
In file included from /usr/include/c++/6/complex:44:0,
from /usr/include/eigen3/Eigen/Core:80,
from /usr/include/eigen3/Eigen/Dense:1,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer.h:7,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:2:
/usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std ::round(float)'
round(float __x)
^~~~~
/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/EmulationStation/es-core/src/ Renderer_draw_gl.cpp: In function 'void Renderer::drawRect(float, float, float, float, unsigned int, GLenum, GLenum)':
/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/EmulationStation/es-core/src/ Renderer_draw_gl.cpp:90:24: error: call of overloaded 'round(float&)' is ambiguo us
drawRect((int)round(x), (int)round(y), (int)round(w), (int)round(h), color, b lend_sfactor, blend_dfactor);
^
In file included from /usr/include/features.h:364:0,
from /usr/include/arm-linux-gnueabihf/c++/6/bits/os_defines.h:3 9,
from /usr/include/arm-linux-gnueabihf/c++/6/bits/c++config.h:50 7,
from /usr/include/c++/6/string:38,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/platform.h:18,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:1:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:326:1: note: candidate: double round(double)
__MATHCALLX (round,, (_Mdouble_ __x), (__const__));
^
In file included from /usr/include/c++/6/complex:44:0,
from /usr/include/eigen3/Eigen/Core:80,
from /usr/include/eigen3/Eigen/Dense:1,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer.h:7,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:2:
/usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::rou nd(long double)
round(long double __x)
^~~~~
/usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(flo at)
round(float __x)
^~~~~
In file included from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:9:0:
/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/EmulationStation/es-core/src/ Util.h:23:7: note: candidate: float round(float)
float round(float num);
^~~~~
/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/EmulationStation/es-core/src/ Renderer_draw_gl.cpp:90:39: error: call of overloaded 'round(float&)' is ambiguo us
drawRect((int)round(x), (int)round(y), (int)round(w), (int)round(h), color, b lend_sfactor, blend_dfactor);
^
In file included from /usr/include/features.h:364:0,
from /usr/include/arm-linux-gnueabihf/c++/6/bits/os_defines.h:3 9,
from /usr/include/arm-linux-gnueabihf/c++/6/bits/c++config.h:50 7,
from /usr/include/c++/6/string:38,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/platform.h:18,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:1:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:326:1: note: candidate: double round(double)
__MATHCALLX (round,, (_Mdouble_ __x), (__const__));
^
In file included from /usr/include/c++/6/complex:44:0,
from /usr/include/eigen3/Eigen/Core:80,
from /usr/include/eigen3/Eigen/Dense:1,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer.h:7,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:2:
/usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::rou nd(long double)
round(long double __x)
^~~~~
/usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(flo at)
round(float __x)
^~~~~
In file included from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:9:0:
/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/EmulationStation/es-core/src/ Util.h:23:7: note: candidate: float round(float)
float round(float num);
^~~~~
/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/EmulationStation/es-core/src/ Renderer_draw_gl.cpp:90:54: error: call of overloaded 'round(float&)' is ambiguo us
drawRect((int)round(x), (int)round(y), (int)round(w), (int)round(h), color, b lend_sfactor, blend_dfactor);
^
In file included from /usr/include/features.h:364:0,
from /usr/include/arm-linux-gnueabihf/c++/6/bits/os_defines.h:3 9,
from /usr/include/arm-linux-gnueabihf/c++/6/bits/c++config.h:50 7,
from /usr/include/c++/6/string:38,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/platform.h:18,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:1:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:326:1: note: candidate: double round(double)
__MATHCALLX (round,, (_Mdouble_ __x), (__const__));
^
In file included from /usr/include/c++/6/complex:44:0,
from /usr/include/eigen3/Eigen/Core:80,
from /usr/include/eigen3/Eigen/Dense:1,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer.h:7,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:2:
/usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::rou nd(long double)
round(long double __x)
^~~~~
/usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(flo at)
round(float __x)
^~~~~
In file included from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:9:0:
/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/EmulationStation/es-core/src/ Util.h:23:7: note: candidate: float round(float)
float round(float num);
^~~~~
/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/EmulationStation/es-core/src/ Renderer_draw_gl.cpp:90:69: error: call of overloaded 'round(float&)' is ambiguo us
drawRect((int)round(x), (int)round(y), (int)round(w), (int)round(h), color, b lend_sfactor, blend_dfactor);
^
In file included from /usr/include/features.h:364:0,
from /usr/include/arm-linux-gnueabihf/c++/6/bits/os_defines.h:3 9,
from /usr/include/arm-linux-gnueabihf/c++/6/bits/c++config.h:50 7,
from /usr/include/c++/6/string:38,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/platform.h:18,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:1:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:326:1: note: candidate: double round(double)
__MATHCALLX (round,, (_Mdouble_ __x), (__const__));
^
In file included from /usr/include/c++/6/complex:44:0,
from /usr/include/eigen3/Eigen/Core:80,
from /usr/include/eigen3/Eigen/Dense:1,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer.h:7,
from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:2:
/usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::rou nd(long double)
round(long double __x)
^~~~~
/usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(flo at)
round(float __x)
^~~~~
In file included from /srv/dev-disk-by-label-Malinka-Media/Home/sephirot/Emulati onStation/es-core/src/Renderer_draw_gl.cpp:9:0:
/srv/dev-disk-by-label-Malinka-Media/Home/sephirot/EmulationStation/es-core/src/ Util.h:23:7: note: candidate: float round(float)
float round(float num);
^~~~~
es-core/CMakeFiles/es-core.dir/build.make:278: recipe for target 'es-core/CMakeF iles/es-core.dir/src/Renderer_draw_gl.cpp.o' failed
make[2]: *** [es-core/CMakeFiles/es-core.dir/src/Renderer_draw_gl.cpp.o] Error 1
CMakeFiles/Makefile2:276: recipe for target 'es-core/CMakeFiles/es-core.dir/all' failed
make[1]: *** [es-core/CMakeFiles/es-core.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
sephirot@rock64:~/EmulationStation$