MySQL Forums
Forum List  »  Source, Builds, Binaries

Compile with MinGW on Windows
Posted by: Michiel Beijen
Date: September 04, 2016 12:58AM

I'm trying to build from source using 'dmake', the MinGW make that comes with Strawberry Perl, on Windows.

This is what I get:

C:\work\mysql-connector-c-6.1.6-src>cmake -G "MinGW Makefiles" -D"CMAKE_MAKE_PROGRAM:PATH=C:/berrybrew/5.24.0_64/c/bin/dmake.exe"
C:\work\mysql-connector-c-6.1.6-src>dmake
[ 1%] Building C object zlib/CMakeFiles/zlib.dir/adler32.c.obj
CreateProcess failed (2).
dmake: Error executing 'cd /d C:\work\mysql-connector-c-6.1.6-src\zlib && C:\berrybrew\5.24.0_64\c\bin\gcc.exe -DHAVE_CONFIG_H -DNOGDI -DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0601 @CMakeFiles/zlib.dir/includes_C.rsp -O2 -g -DNDEBUG -DDBUG_OFF -o CMakeFiles\zlib.dir\adler32.c.obj -c C:\work\mysql-connector-c-6.1.6-src\zlib\adler32.c': No such file or directory
dmake: Error code -1, while making 'zlib\CMakeFiles\zlib.dir\adler32.c.obj'
dmake: Error code 255, while making 'zlib\CMakeFiles\zlib.dir\all'
dmake: Error code 255, while making 'all'

C:\work\mysql-connector-c-6.1.6-src>

what's the problem?

Options: ReplyQuote


Subject
Views
Written By
Posted
Compile with MinGW on Windows
896
September 04, 2016 12:58AM
459
September 05, 2016 02:35AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.