|
You forgot to include the C string libs in most of the files. Just add the correct includes as follows:
#include <cstring> to assemble.cpp, commands.cpp, discimage.cpp, expression.cpp
If that causes problems, try replacing cstring with string.h
main.cpp line 175: Add brackets around: pDiscInputFile != NULL && pDiscOutputFile == NULL
Or remove -Werror from the Makefile.
Finally, modify the makefile so that if the platform is windows, make the output beebasm.exe, else make it beebasm (Linux users don't take kindly to executables with exe extensions :p)
After that, the windows version should work fine on Windows, Linux and Mac.
Thanks!
|