Reply 120 of 733, by Ant_222
wrote:The compiler shows error in render.cpp.
That sdlmain.cpp is not patched at all. For example, the patch has:
diff -upr /home/Ant/dosbox-code-3989/src/gui/sdlmain.cpp ./src/gui/sdlmain.cpp
--- /home/Ant/dosbox-code-3989/src/gui/sdlmain.cpp 2016-09-06 22:15:47 +0300
+++ ./src/gui/sdlmain.cpp 2016-09-06 22:26:53 +0300
@@ -49,6 +49,7 @@
#include "cpu.h"
#include "cross.h"
#include "control.h"
+#include "math.h"
whereas the version you uploaded has no math.h mentioned. The other two files are patched. patch must have reported some errors about sdlmain.cpp.