help-glpk
[Top][All Lists]
Advanced

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

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


From: Heinrich Schuchardt
Subject: Re: [Help-glpk] Building binaries with for MySQL with Windows 7
Date: Fri, 16 Jan 2015 23:39:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0

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.
http://dev.mysql.com/downloads/connector/odbc/

To download GLPK binaries visit
http://winglpk.sourceforge.net

Please, have a look at
http://en.wikibooks.org/wiki/GLPK/ODBC

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
>     
> <http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express>.
>   * install Microsoft Windows SDK for Windows 7 and .NET Framework 4
>     <http://www.microsoft.com/download/en/details.aspx?id=8279> without
>     "Visual C++ Compilers".
>   * install Visual Studio 2010 Service Pack 1 (SP1)
>     <http://www.microsoft.com/download/en/details.aspx?id=23691>
>   * install Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for
>     the Windows SDK 7.1
>     <http://www.microsoft.com/download/en/details.aspx?id=4422>
> 
>   * 64-bit MySQL Community Server 5.5.16 for Windows (x86, 64-bit) —
>     download <http://www.mysql.com/downloads/mysql/>
>   * 64-bit MySQL ODBC Connector 5.1.8 for Windows (x86, 64-bit) —
>     downloa <http://dev.mysql.com/downloads/connector/odbc/>
> 
> 
> -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
> Martin
> 
> 
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-glpk
> 




reply via email to

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