pawn
pawn copied to clipboard
instruction to compile pawn on windows in msys2+mingw?
Is there any such instruction to do so? I have give it a try
first, alloca.h is reported to be missed in amx.h, so I leave #include <malloc.h> in amx.h.
then,
$ make
[ 3%] Built target pawndisasm
[ 32%] Built target pawncc
[ 37%] Built target stategraph
[ 38%] Linking C shared library ../amxString.dll
gcc.exe: error: /export:amx_StringInit: No such file or directory
gcc.exe: error: /export:amx_StringCleanup: No such file or directory
make[2]: *** [amx/CMakeFiles/amxString.dir/build.make:115: amxString.dll] Error 1
make[1]: *** [CMakeFiles/Makefile2:218: amx/CMakeFiles/amxString.dir/all] Error 2
make: *** [Makefile:84: all] Error 2