-
Notifications
You must be signed in to change notification settings - Fork 14
Msys2 MinGW64 compilation #34
Comments
I did a quick test but now I got:
I don't have php. Never had it. Not sure how to install it. |
Hmm right msys doesn't have it. I did because I make a cross-compilation based on linux. I'll make some work towards that in a branch. Another thing is that the upstream has received support of ARM64. |
Let me know when ready for another test. |
@Lucarda |
I'm getting this:
could be replaced with: https://github.com/pure-data/pd-lib-builder/blob/master/Makefile.pdlibbuilder#L579 |
If i'm correct the https://github.com/pierreguillot/pd.build/blob/674c969e39ad3e8fbd38f344488c8bac3667ce6e/pd.cmake#L53 |
Perhaps it helps to replace "/D" with "-D" on that exact line. |
I have done that and suppressed:
in Now I got Dont know how to do that in Cmake. |
It will need a mingw alternative to that part your commented. But that part of pd.build is msvc-only. Perhaps you can make something of my external builder which has mingw support. mingw's dlltool can serve to change a def file into an implib. |
In the current build system Pd symbols are found in MINGW is happy finding the symbols in |
This is how the linking is done in pd-lib-builder https://github.com/pure-data/pd-lib-builder/blob/master/Makefile.pdlibbuilder#L590 |
If i'm not mistaken MINGW can statically link to an |
Yes that's what the code would produce, a linkable x86_64-w64-mingw32-dlltool -l x64/libpd.dll.a x64/pd.def
i686-w64-mingw32-dlltool -l x86/libpd.dll.a x86/pd.def |
I got the |
I tried to build it with https://github.com/pure-data/pd-lib-builder and it went really good with this
May be the -I includes are not necessary. I can upload here the binary for Windows64. Seems to be working fine here. |
Is that an ongoing offer, perchance? |
no. |
Hi,
I'm trying to compile the Pd objects for windows 64 bit. No hurries :)
I do and get:
?
The text was updated successfully, but these errors were encountered: