- mingw errors 1.3.0 1.4.0, Peter Bohning (2018/01/03 20:43:05)
On 3 January 2018 at 22:43, Peter Bohning <peter.bohning%gmx.com@localhost> wrote: > I'm having a hell of a time compiling this. Is there a non-cmake version > out there? > > I got this compiled and running with mingw and wrote some software with it > some six months ago, but my motherboard failed and now I have to set > everything up again. > > I had libzip-1.3.0 source but it won't compile, and libzip-1.4.0 uses this > cmake garbage. And I try to get cmake and it's this huge thing to compile > it and I keep thinking, if all the compilers work to throw this together, > why not fix them, fix Make and configure... not put this whole cmake thing > together and force people to install it and learn whatever nuances and, it's > so tiring... > > but then cmake won't compile, there's a C++ missing cast, and I fix that, > but then it crashes, like segmentation faults and dumps a lot of garbage and > then there's some undefined reference to InterlockedOr... and I just... I > don't understand why I can't just use Make. > are you calling cmake with something in the lines of: cmake -G "MinGW Makefiles" -DZLIB_INCLUDE_DIR=c:\lib\zlib -DZLIB_LIBRARY=c:\lib\zlib\libz.dll.a also, what are your cmake and mingw (gcc) versions? lubomir --
Made by MHonArc.