Hello Heinrich,

I don't know what I should put in vcvars64.bat file if I create it with
notepad. I have vcvarsall.bat file in my computer and I have attached the
text version of this file with the email. I don't know how I can modify
vcvarsall.bat file to convert it to vcvars64.bat file. Could you please
suggest me how?

I tried "CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd"
/x64" in my cmd. But it did not create the vcvars64.bat file. Do you know
why this might happen?

Your feedback will be very appreciated.

Thanks,

Nazmul


On Mon, Dec 23, 2013 at 1:22 AM, Heinrich Schuchardt <[email protected]>wrote:

> Hello Nazmar,
>
> please, create the missing file vcvars64.bat with manually  (e.g. eith
> notepad.exe) and try again.
>
> Best regards
>
> Heinrich Schuchardt
>
> http://www.xypron.de
>
>
> On 23.12.13 at 05:17, Nazmul Islam wrote:
>
> > Hello Heinrich,
> >
> >
> >
> > Thanks for your email. vcvars64.bat file was not in C:\Program Files
> >
> > (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64. I typed "CALL
> "C:\Program
> >
> > Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64" in my command
> line.
> >
> > The command line showed the following message:
> >
> >
> >
> > *"Setting SDK environment relative to C:\Program Files\Microsoft
> >
> > SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64. *
> >
> >
> >
> > *Targeting Windows 7 x64 debug."*
> >
> >
> >
> > But, even after this, I don't see vcvars64.bat file in C:\Program Files
> >
> > (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64. In fact, I don't see
> >
> > vcvars64.bat anywhere in the C drive. I have found vcvars32.bat and
> >
> > vcvarsall.bat file. Vcvarsall.bat file is located in C:\Program Files
> >
> > (x86)\Microsoft Visual Studio 10.0\VC\ directory.
> >
> >
> >
> > As a result, my glpk does not compile. When I run it as an administrator,
> >
> > it says:
> >
> >
> >
> > *"Call C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\VC\vcvarsall.bat
> >
> > x64*
> >
> >
> >
> > *The specified configuration type is missing. The tools for the
> >
> > configuration might not be installed.*
> >
> >
> >
> > *fatal error: 'Makefile_VC_DLL' not found. stop."*
> >
> >
> >
> > Do you know why this might happen? I have installed all four components
> of
> >
> > http://en.wikibooks.org/wiki/GLPK/Windows.
> >
> >
> >
> > There is only one option left for me: remove all programs listed in
> >
> > http://en.wikibooks.org/wiki/GLPK/Windows., re-do the same thing and
> email
> >
> > my step-by-step to this group.
> >
> >
> >
> > Thanks for your help.
> >
> >
> >
> > --
> >
> >
> >
> > Nazmul
> >
> >
> >
> >
> >
> >
> >
> > On Sat, Dec 21, 2013 at 5:29 AM, Heinrich Schuchardt <[email protected]
> >wrote:
> >
> >
> >
> > > Hello Nazmul,
> >
> > >
> >
> > >
> >
> > > > C:\WINDOWS\system set HOME="C:\Program Files \Microsoft visual Studio
> >
> > > > 10.0\vc"\vcvarsall.bat x64
> >
> > > >
> >
> > > > The specified configuration type is missing. The tools for the
> >
> > > > configuration might not be installed. The system cannot find the file
> >
> > > > specified.
> >
> > >
> >
> > > Could you, please, check if in directory
> >
> > >
> >
> > > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64
> >
> > >
> >
> > > file
> >
> > >
> >
> > > vcvars64.bat
> >
> > >
> >
> > > exists. If not create it with the following content:
> >
> > >
> >
> > > CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
> >
> > >
> >
> > > (You may have to just paths according to your installation.)
> >
> > >
> >
> > > Are you now able to compile GLPK?
> >
> > >
> >
> > > Best regards
> >
> > >
> >
> > > Heinrich Schuchardt
> >
> > >
> >
> > >
>
@echo off
if "%1" == "" goto x86
if not "%2" == "" goto usage

if /i %1 == x86       goto x86
if /i %1 == amd64     goto amd64
if /i %1 == x64       goto amd64
if /i %1 == ia64      goto ia64
if /i %1 == x86_amd64 goto x86_amd64
if /i %1 == x86_ia64  goto x86_ia64
goto usage

:x86
if not exist "%~dp0bin\vcvars32.bat" goto missing
call "%~dp0bin\vcvars32.bat"
goto :eof

:amd64
if not exist "%~dp0bin\amd64\vcvars64.bat" goto missing
call "%~dp0bin\amd64\vcvars64.bat"
goto :eof

:ia64
if not exist "%~dp0bin\ia64\vcvars64.bat" goto missing
call "%~dp0bin\ia64\vcvars64.bat"
goto :eof

:x86_amd64
if not exist "%~dp0bin\x86_amd64\vcvarsx86_amd64.bat" goto missing
call "%~dp0bin\x86_amd64\vcvarsx86_amd64.bat"
goto :eof

:x86_ia64
if not exist "%~dp0bin\x86_ia64\vcvarsx86_ia64.bat" goto missing
call "%~dp0bin\x86_ia64\vcvarsx86_ia64.bat"
goto :eof

:usage
echo Error in script usage. The correct usage is:
echo     %0 [option]
echo where [option] is: x86 ^| ia64 ^| amd64 ^| x86_amd64 ^| x86_ia64
echo:
echo For example:
echo     %0 x86_ia64
goto :eof

:missing
echo The specified configuration type is missing.  The tools for the
echo configuration might not be installed.
goto :eof
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to