[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Building binaries with for MySQL with Windows 7

From: Martin Albrecht
Subject: Re: [Help-glpk] Building binaries with for MySQL with Windows 7
Date: Sun, 18 Jan 2015 17:10:15 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

Dear Heinrich,

many thanks, now it works!
It wasn't clear to me that native support is limited to Linux.


Am 16.01.2015 23:39, schrieb Heinrich Schuchardt:
Hello Martin,

please, use ODBC to connect to the MySQL-database. Native support for
MySQL does not exist in GLPK on the Windows platform.

You can download 64bit and 32bit MySQL-ODBC drivers from Oracle.

To download GLPK binaries visit

Please, have a look at

Best regards

Heinrich Schuchardt

On 16.01.2015 23:28, Martin Albrecht wrote:
Dear all,

when building the binaries with MySQL driver activated, the Build batch
gives the following error:

fatal error C1083: Cannot open include file 'mysql.h'.

My configuration is:
Windows 7,64 bit

What I have done:
-Installed all programs

   * install Visual-CPP Microsoft Visual C++ 2010 Express
   * install Microsoft Windows SDK for Windows 7 and .NET Framework 4
     <>  without
     "Visual C++ Compilers".
   * install Visual Studio 2010 Service Pack 1 (SP1)
   * install Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for
     the Windows SDK 7.1

   * 64-bit MySQL Community Server 5.5.16 for Windows (x86, 64-bit) —
   * 64-bit MySQL ODBC Connector 5.1.8 for Windows (x86, 64-bit) —

-Modified the file "configVC" in the w32 directory by removing the
if-statement around "#define MYSQL_DLNAME "libmysql.dll"
(I assumed this enables the MYSQL driver.).

- Then running the file "Build_GLPK_with_VC10_DLL"gives the
above-mentioned error.

The error might be related with missing path settings for mysql.
However, I have no idea how and where to set them correctly.

Can anybody give me a hint how to overcome this issue?

Many thanks!!

Best regards

Help-glpk mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]