Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

instruction to compile pawn on windows in msys2+mingw? #54

Open
retsyo opened this issue Oct 1, 2020 · 0 comments
Open

instruction to compile pawn on windows in msys2+mingw? #54

retsyo opened this issue Oct 1, 2020 · 0 comments

Comments

@retsyo
Copy link

retsyo commented Oct 1, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant