[Top][All Lists]

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

Re: [Help-glpk] using glpk from Visual Studio 2008 express c++

From: Oscar Peredo
Subject: Re: [Help-glpk] using glpk from Visual Studio 2008 express c++
Date: Mon, 2 Feb 2009 17:26:02 -0300

Hi, in VS2005, in order to run examples/sample.c (you must have compiled glpk.lib previous to build the debug.exe in the vs project, using the builder in w32 or w64, changing the c++ compiler path with right-button->edit):

-create a new empty Win32 project (console application)
-move example/sample.c to the source code dir in the project
-in the navigation tree (right side), right-button over the project, select "properties"
-config. properties->C/C++->aditional include dirs, browse the include dir from glpk
-config. properties->Linker->command line, browse the glpk.lib file from glpk

try to add the following line at the end of the sample (it allows to see the stardard output):



On Sat, Jan 31, 2009 at 8:50 AM, mylsov <address@hidden> wrote:

could anyone explain step by step how to write an application with GLPK in
c++ using VS2008 express?

1. First step is to create new project
2. How to add header glpk.h
3... what to do next...?
View this message in context:
Sent from the Gnu - GLPK - Help mailing list archive at

Help-glpk mailing list

reply via email to

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