[Top][All Lists]

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

Re: [Help-glpk] Compiling GLPK with VC7 and ODBC support

From: glpk xypron
Subject: Re: [Help-glpk] Compiling GLPK with VC7 and ODBC support
Date: Mon, 16 Jun 2008 13:14:54 +0200

Hello Andrew,

glpsql.c needs:
#include <sql.h>
#include <sqlext.h>

Best regards 


Best re
-------- Original-Nachricht --------
> Datum: Sun, 15 Jun 2008 19:26:08 +0400
> Von: Andrew Makhorin <address@hidden>
> An: Xypron <address@hidden>
> CC: address@hidden
> Betreff: Re: [Help-glpk] Compiling GLPK with VC7 and ODBC support

> Xypron,
> > ODBC32.DLL is a dynamic link library and supplied with Windows
> > implementing the same standardized interface as iODBC or unixODBC do for
> > Linux.
> > All compilers supported by GLPK (Visual C , Borland C 5.5 and DevC++) 
> > can compile GLPK with support for ODBC32.DLL. I did this for GLPK-4.27.
> MSVC 6.0 does not have odbc.h (just checked that).
> The problem is that Windows-native C/C++ compilers have no configure
> tool, so I think that by default all non-ISO features should be
> disabled, and there should be an instruction how to modify makefile
> and config.h to enable such additional features. This concerns ODBC as
> well as GMP and zlib.
> > For GLPK-4.28 I have tested compiling with VisualC (Microsoft Visual 
> > Studio .NET 2003 professional) under Windows 2000 professional.
> > Changed sources and executables are available at
> >
> > As GLPK is not distributed with the GMP and the MySQL libraries I would
> > refrain from requiring these in the makefiles.
> > The files for ODBC are distributed with Windows 2000 ff and the 
> > supported compilers. Hence adding ODBC to the makefiles makes sense.

GMX startet Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein:

reply via email to

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