The latest version are still not compiling so here is the patch! To build zsnes-1.51 do the following:
First open zsnes-1.51/parsegen.cpp
First add #include <cstring>
#include <fstream>
#include <string>
+#include <cstring>
#include <vector>
#include <algorithm>
then find and change one line ...
}
}
-int main(size_t argc, const char *const *const argv)
+int main(int argc, const char *const *const argv)
{
const char *cheader_file = 0;
___________________________________________________
Then Open file zsnes-1.51/tools/depbuild.cpp
First add #include <cstdlib> and #include <unistd.h>
#include <string>
#include <cstdio>
+#include <cstdlib>
+#include <unistd.h>
using namespace std;
#include "fileutil.h"
then find and change one line ...
}
-int main(size_t argc, const char *const *const argv)
+int main(int argc, const char *const *const argv)
{
if (argc < 5)
__________________________________________________
Then open zsnes-1.51/tools/strutil.h
First add #include <cstring>
#include <string>
+#include <cstring>
#include <vector>
__________________________________________________
Ok a patch would be better but this error has occurred in many other apps so it will help you to better understand and apply this to other software as well Open Source Free For Every one
http://cersi.tk worlds best
Free Operating System Mos 1.0