zynaddsubfx / zyn-fusion-build

Build Scripts For Zyn-Fusion
Do What The F*ck You Want To Public License
122 stars 39 forks source link

Can't compile using MSYS2 or Cross Compile in Linux... #106

Closed Zilla428 closed 1 year ago

Zilla428 commented 1 year ago

I am kind of pissed because it's pretty stupid to ask for 45 dollars when you can't even properly compile your software. I can't build_zest and I get this as well:

make[2]: [Makefile:2394: src/libuv_la-fs-poll.lo] Error 1 make[2]: Leaving directory '/home/sam/zyn-fusion-build/src/mruby-zest-build/deps/libuv' make[1]: [Makefile:79: deps/libuv-win.a] Error 2 make[1]: Leaving directory '/home/sam/zyn-fusion-build/src/mruby-zest-build' make: *** [Makefile.windows.mk:132: build_zest] Error 2

I get this in the build file

From 3e90bc76b036124c2a94f9bf006af527755271cf Mon Sep 17 00:00:00 2001 From: erw7 erw7.github@gmail.com Date: Wed, 3 Nov 2021 00:28:42 +0900 Subject: [PATCH] build: fix build failures with MinGW new headers

A structure definition was added to mstcpip.h in mingw-w64-x86_64-headers-git 9.0.0.6327.f29c1101f, which causes a conflict and the build fails. Fix this by changing the name in the definition in mstcpip.h.

PR-URL: https://github.com/libuv/libuv/pull/3345

include/uv/win.h | 7 +++++++ 1 file changed, 7 insertions(+)

diff --git a/include/uv/win.h b/include/uv/win.h index f5f1d3a3..5fecf4bf 100644 --- a/include/uv/win.h +++ b/include/uv/win.h @@ -45,7 +45,14 @@ typedef struct pollfd {

endif

include

+// Disable the typedef in mstcpip.h of MinGW. +#define _TCP_INITIAL_RTO_PARAMETERS _TCP_INITIAL_RTO_PARAMETERSAVOID +#define TCP_INITIAL_RTO_PARAMETERS TCP_INITIAL_RTO_PARAMETERSAVOID +#define PTCP_INITIAL_RTO_PARAMETERS PTCP_INITIAL_RTO_PARAMETERS__AVOID

include

+#undef _TCP_INITIAL_RTO_PARAMETERS +#undef TCP_INITIAL_RTO_PARAMETERS +#undef PTCP_INITIAL_RTO_PARAMETERS

include

include

-- 2.33.0

fundamental commented 1 year ago

Yeah, that's not an acceptable way to start an issue. Do not start interacting with a project with an insult.