Has anyone has success using mingw32 as a cross compiler on linux?
I see that assimp has it's own copy of the zlib core functionality in the sourcetree, but I have not been able to get a build that takes the minizip add on. I've tried building zlib from source (and leaving it in my Toolchain's root path) minizip seemed not to be built.
I'm targeting win64, but will need to duplicate for win32.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What makes this even odder is that when I capture the output of cmake, it clearly states: Found minizip, version 1.2.8
Running whereis minizip takes me to /usr/include/minizip/ on my system, which only includes the headers, no c source. Wonder if this is why I'm having issues.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey, anybody else run into this? I did a bit more digging, and assimp seems to have the code for the part of minizip it uses in it's source tree at contrib/unzip. Why is it insisting on finding an external library version?
I'm attaching the Cmake toolset file that I use for this.
Arch Linux, up to date packages in the standardd release (no dev-only or experimental)
cmake 3.5.2 (from Kitware)
GNU make 4.2.1
x86_64-w64-mingw32-gcc 6.1.1, g++ version and RC, etc, are from the same package.
Has anyone has success using mingw32 as a cross compiler on linux?
I see that assimp has it's own copy of the zlib core functionality in the sourcetree, but I have not been able to get a build that takes the minizip add on. I've tried building zlib from source (and leaving it in my Toolchain's root path) minizip seemed not to be built.
I'm targeting win64, but will need to duplicate for win32.
What makes this even odder is that when I capture the output of cmake, it clearly states:
Found minizip, version 1.2.8
Running
whereis minizip
takes me to/usr/include/minizip/
on my system, which only includes the headers, no c source. Wonder if this is why I'm having issues.Hey, anybody else run into this? I did a bit more digging, and assimp seems to have the code for the part of minizip it uses in it's source tree at contrib/unzip. Why is it insisting on finding an external library version?
I'm attaching the Cmake toolset file that I use for this.
Arch Linux, up to date packages in the standardd release (no dev-only or experimental)
cmake 3.5.2 (from Kitware)
GNU make 4.2.1
x86_64-w64-mingw32-gcc 6.1.1, g++ version and RC, etc, are from the same package.
EDIT: Actually add my toolchain file.
Last edit: Luke S 2016-06-20