Hey !
I'm trying to compile WIT and WSZST from source (with cygwin x86_64 on windows 10). The point is to get DLLs versions of the tools because I would like to use them as ctypes python function (calling them by a subprocess is really slow), but I think I missed something as I keep getting error:
with a
by replacing $(SYSTEM) by cygwin in Makefile, the compilation return an error, saying that w32api/windows.h is missing :
By adding w32api to the libs, it's still raising an error about io.h being missing :
And by adding io.h from sys/io.h, an error still occur :
Alles anzeigen
I also tried with MinGW, but as excepted it doesn't work because of inet.h
I've been trying for 2 days to just compile them to .exe files, but I just can't make it work. Do you have an idea about what I missed or if there's already a Dlls version of wszst, wbmgt, wit, ... ?
Thanks for your answer
I am using source from Wiimms github (github.com/Wiimm/wiimms-iso-tools and github.com/Wiimm/wiimms-szs-tools)
I'm trying to compile WIT and WSZST from source (with cygwin x86_64 on windows 10). The point is to get DLLs versions of the tools because I would like to use them as ctypes python function (calling them by a subprocess is really slow), but I think I missed something as I keep getting error:
with a
make
, the program compile successfully, but as a linux executable : Makefile think $(SYSTEM) is 86_64x instead of cygwin.by replacing $(SYSTEM) by cygwin in Makefile, the compilation return an error, saying that w32api/windows.h is missing :
C-Quellcode
- src/winapi.c:137: error: expected ‘{’ at end of input
- 137 |
- |
- In file included from w32api/minwindef.h:163,
- from w32api/windef.h:9,
- from ./w32api/windows.h:69,
- from src/winapi.c:39:
- w32api/winnt.h:154:25: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4
- 154 | #define DECLSPEC_IMPORT __declspec (dllimport)
- | ^~~~~~~~~~
- w32api/winnt.h:276:18: note: in expansion of macro ‘DECLSPEC_IMPORT’
- 276 | #define NTSYSAPI DECLSPEC_IMPORT
- | ^~~~~~~~~~~~~~~
- w32api/winnt.h:7716:5: note: in expansion of macro ‘NTSYSAPI’
- 7716 | NTSYSAPI WORD NTAPI RtlCaptureStackBackTrace (DWORD FramesToSkip, DWORD FramesToCapture, PVOID *BackTrace, PDWORD BackTraceHash);
- | ^~~~~~~~
- src/winapi.c:137: warning: control reaches end of non-void function [-Wreturn-type]
- 137 |
- |
I've been trying for 2 days to just compile them to .exe files, but I just can't make it work. Do you have an idea about what I missed or if there's already a Dlls version of wszst, wbmgt, wit, ... ?
Thanks for your answer
I am using source from Wiimms github (github.com/Wiimm/wiimms-iso-tools and github.com/Wiimm/wiimms-szs-tools)
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von Faraphel () aus folgendem Grund: added source's source (?)