help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] help linking glpk with visual c++


From: Andrew Makhorin
Subject: Re: [Help-glpk] help linking glpk with visual c++
Date: Wed, 19 Oct 2005 19:08:02 +0400

> Next, let me tell you that I am not much used to use cl.exe,
>  nmake.exe,... thru the comand line on msdos. For long I've been
>  using Microsoft Visual C++ with its ide.
> 
> So, what I did was looking at the w32vc6.mak, set in the folder
>  where this file was locate (C:\tesi\glpk\glpk-4.8>), and typed
>  the command 
> 
> C:\tesi\glpk\glpk-4.8> nmake.exe /f w32vc6.mak
> 
> and all I got was the problem that somebody could not open 'string.h'
> 
> 
> Sorry for my unexperience in working from the command line, but
>  please, if you can tell me something...

This is because you did not set some environment variables required
by msvc command-line tools.

To build glpk under Windows with MSVC you need to have MSVC++ 6.0 (or
later) installed on your machine. Nmake.exe is a make utility which
you need to run from the command line. Note that nmake requires some
environment variables to be set properly. If you type nmake.exe in the
command line and see the message "bad command or file name", these
variables are not set. To set them find the file vcvars32.bat (as a
rule it is placed in C:\Program Files\Microsoft Visual Studio\VC98\Bin)
and run it before running nmake.







reply via email to

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