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

Mingw64 build fails #86

Open
ampetrosillo opened this issue Aug 17, 2021 · 5 comments
Open

Mingw64 build fails #86

ampetrosillo opened this issue Aug 17, 2021 · 5 comments

Comments

@ampetrosillo
Copy link

ampetrosillo commented Aug 17, 2021

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
Copy link
Member

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
Copy link
Contributor

AnClark commented Aug 23, 2021

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
Copy link

vihdzp commented Aug 25, 2022

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
Copy link
Contributor

AnClark commented Sep 2, 2022

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
Copy link

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

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

5 participants