I am using Visual Studio Professional, not the Express edition but I
believe they both require the following changes to the batch files.
After those changes, I was able to compile without any problems.

rem NOTE: Make sure that HOME variable specifies correct path where
Visual Studio is installed, so following line has to be adapted to your
computer
set HOME=C:\Program Files (x86)\Microsoft\Visual Studio 10.0\VC
rem this is the new batch file to set all paths to include files and
libraries, it requires identification of the target machine
call c:vcvarsall.bat x64
rem remainder has not been changed
copy config_VC config.h
c:nmake.exe /f Makefile_VC_DLL
c:nmake.exe /f Makefile_VC_DLL check

Marc

On 24-Sep-10 8:32 AM, Nigel Galloway wrote:
 Any Visual Studio edition will have a Terminal (Command Line) application. If 
you run the compile script from this application (or run this application with 
the script as a parameter) it will set the environment variables suitable for 
the sysytem, without the script calling vcvars or anything else.

 Would it not be more usual to use NMAKE for these things?


 ----- Original Message -----
 From: "glpk xypron"<[email protected]>
 To: "Help Glpk"<[email protected]>
 Subject: [Help-glpk] Compiling for 64bit Windows with Visual Studio Express    
2010
 Date: Thu, 23 Sep 2010 21:19:03 +0200


 Using Visual Studio 2010 beta I was able to compile with
 the provided batch file Build_Glpk_with_VC10_DLL.bat.

 With Visual Studio Express 2010 and Windows SDK 7.1 installed
 the script fails due to missing batch file
 C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat

 Replacing
 call %HOME%\vcvarsall.bat x64
 by
 CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
 solved the problem for me.

 I would be happy if other GLPK users could verify that this will
 work for them too.

 Best regards

 Xypron
 --
 GRATIS: Spider-Man 1-3 sowie 300 weitere Videos!
 Jetzt freischalten! http://portal.gmx.net/de/go/maxdome

 _______________________________________________
 Help-glpk mailing list
 [email protected]
 http://lists.gnu.org/mailman/listinfo/help-glpk






--
Marc Goetschalckx
Industrial and Systems Engineering
Georgia Institute of Technology, Atlanta, GA, USA



--
Marc Goetschalckx
Industrial and Systems Engineering
Georgia Institute of Technology, Atlanta, GA, USA


_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to