Closed pahaze closed 4 years ago
Does this question relate to cross-compilation of libvips for Windows? Perhaps you've got the wrong repo?
You probably need this patch to support ARM32 within MXE: https://github.com/libvips/build-win64-mxe/blob/master/build/patches/mxe-fixes.patch
Note that the LLVM-MinGW plugin is considered to be experimental, as it only has been tested on a Raspberry Pi 3 with Windows 10 IoT. It also depends on non-"stable" releases of LLVM and mingw-w64, so I can't guarantee the stability.
If possible, use the pre-built binaries of the llvm-mingw project instead.
Does this question relate to cross-compilation of libvips for Windows? Perhaps you've got the wrong repo?
Yes, I tried building this repo's files
You probably need this patch to support ARM32 within MXE: https://github.com/libvips/build-win64-mxe/blob/master/build/patches/mxe-fixes.patch
Note that the LLVM-MinGW plugin is considered to be experimental, as it only has been tested on a Raspberry Pi 3 with Windows 10 IoT. It also depends on non-"stable" releases of LLVM and mingw-w64, so I can't guarantee the stability.
If possible, use the pre-built binaries of the llvm-mingw project instead.
I have tried this patch, but I'll re-clone and try again to be sure, and I use the pre-built when possible, but it does make sense that it wouldn't work due to using non-stable releases of llvm/mingw-w64 though
Update:
I tried on another PC, and for some reason, running the exact same distribution, desktop environment, etc, it worked. Sorry about all of this, not sure why it didn't work, but thanks for the plugin!
Have a good day
To start off, I'm really sorry if this is a huge dummie question, I'm newer to Linux trying to build for ARM. No matter what I do, I can't get MXE to find the armv7 execs for llvm-mingw.
I've tried applying patches, putting the execs in different folders within /mxe/usr/, renaming them without the arch+w64-mingw32, building llvm-mingw myself, setting the path to MXE, but nothing seems to work. It always thinks its missing and it fails to build anything when it gets to checking for windres. I know windres is fine though, because I went into the bin folder of llvm-mingw and ran it to check, it was there. Nothing was missing.
Any help is gladly appreciated, and thanks for taking time to read this.