zynaddsubfx / zyn-fusion-build

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

Mingw64 build fails #86

Open ampetrosillo opened 3 years ago

ampetrosillo commented 3 years ago

I'm following the build instructions, yet compile stops here.

address.c: In function 'lo_inaddr_find_iface':
address.c:641:18: error: implicit declaration of function 'inet_pton'; did you mean 'inet_ntoa'? [-Werror=implicit-function-declaration]
  641 |         int rc = inet_pton(fam, ip, &a);
      |                  ^~~~~~~~~
      |                  inet_ntoa
cc1.exe: all warnings being treated as errors
make[4]: *** [Makefile:783: liblo_la-address.lo] Error 1
make[4]: Leaving directory '/home/ampet/zyn-fusion-build/deps/liblo/src'
make[3]: *** [Makefile:949: all-recursive] Error 1
make[3]: Leaving directory '/home/ampet/zyn-fusion-build/deps/liblo/src'
make[2]: *** [Makefile:457: all-recursive] Error 1
make[2]: Leaving directory '/home/ampet/zyn-fusion-build/deps/liblo'
make[1]: *** [Makefile:365: all] Error 2
make[1]: Leaving directory '/home/ampet/zyn-fusion-build/deps/liblo'
make: *** [Makefile.mingw64.mk:33: build_libio] Error 2
fundamental commented 3 years ago

Thanks for the interest. At this time I only test the Makefile.linux.mk and the Makefile.windows.mk. The Makefile.mingw64.mk is user contributed and we accept fixes, however it's not officially tested.

AnClark commented 3 years ago

Maybe you can try my new-generation build system: https://github.com/anclark/zyn-fusion-build

I am the author of Makefile.<platform>.mk files. Those Makefiles are not stable enough, so I rewrote the build scripts with CMake.

vihdzp commented 2 years ago

There seems to be a new issue. I encountered the following error while trying to install:

C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C /c/users/vihdz/zyn-fusion-build/deps//fftw
make[1]: *** /c/users/vihdz/zyn-fusion-build/deps//fftw: No such file or directory.  Stop.
make: *** [Makefile.mingw64.mk:26: build_fftw] Error 2

I should mention that the folder does exist.

AnClark commented 2 years ago

There seems to be a new issue. I encountered the following error while trying to install:

C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C /c/users/vihdz/zyn-fusion-build/deps//fftw
make[1]: *** /c/users/vihdz/zyn-fusion-build/deps//fftw: No such file or directory.  Stop.
make: *** [Makefile.mingw64.mk:26: build_fftw] Error 2

I should mention that the folder does exist.

You need to install dependencies first:

make -f Makefile.windows.mk install_deps

Seems that you are using Chocolatey. I recommend using Msys2 instead, because the script Makefile.mingw64.mk is designed for Msys2.

Here is installtion guide.


By the way, maybe you can try my new-generation build system: https://github.com/anclark/zyn-fusion-build

clockFox09 commented 1 month ago

There seems to be a new issue. I encountered the following error while trying to install:

C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C /c/users/vihdz/zyn-fusion-build/deps//fftw
make[1]: *** /c/users/vihdz/zyn-fusion-build/deps//fftw: No such file or directory.  Stop.
make: *** [Makefile.mingw64.mk:26: build_fftw] Error 2

I should mention that the folder does exist.

You need to install dependencies first:

make -f Makefile.windows.mk install_deps

Seems that you are using Chocolatey. I recommend using Msys2 instead, because the script Makefile.mingw64.mk is designed for Msys2.

Here is installtion guide.


By the way, maybe you can try my new-generation build system: https://github.com/anclark/zyn-fusion-build

Wouldn't that makefile you said to use be make -f Makefile.mingw64.mk install_deps? I know nothing about GitHub, and only a tiny bit about command-line, so I doubt my own words here, but isn't the file you referenced (Makefile.windows.mk) for the cross-compile method? If not, could you please explain the process for your new-generation build system cause I'm about to try it and I wanna make sure I get it right lol