[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mkoctfile under Windows
From: |
Tatsuro MATSUOKA |
Subject: |
Re: mkoctfile under Windows |
Date: |
Sat, 8 Sep 2007 05:02:19 +0900 (JST) |
Dear Christof Zeile
I seemed that you are successful to use mkoctfile on MSVC.
However the similar question was already made by José Luis García
Pallero Aug 13, 2007;
06:19pm.
See the below
http://www.nabble.com/oct-files-for-GNU-Octave-on-windows-tf4260312.html#a12132414
************************************************
> Summary:
> * Something goes wrong with the double quotes in mkoctfile.m.
> * I need to call vcvarsall.bat to set the MSVC paths.
> * Somehow I have to set the include and library paths for the SDK
> manually.
The last line in summary, there is an altanative way
call "C:\Program Files\Microsoft Platform SDK\SetEnv.Cmd"
It is easier way, to set eniviroment variable for 'Microsoft Platform SDK'
Sincerely
Tatsuro Matsuoka
--- Christof Zeile <address@hidden> wrote:
> David Bateman wrote:
> > Christof Zeile wrote:
> >> Has anybody so far succeeded in using mkoctfile with
> >> Version 2.9.13 of Octave, Windows version, no cygwin?
> [...]
>
> > Have you installed an MSVC compiler.. The README that comes with the
> [...]
>
> Yes, thanks, I have one. I even deinstalled my OpenWatcom Compiler
> before installing MSVC (by the way - is there a chance to get
> OpenWatcom support for mkoctfile?).
>
> Thanks for the other comments as well. The problem is: The README
> tells me to install MSVC. But I also need the Platform SDK!
> Perhaps that should be made clear in the README.
>
> But this is still not enough ...
>
> The problem is that Windows does not like the additional double
> quotes introduced in the following line of mkoctfile.m:
> cmd = strcat (cmd, " \"", varargin{i}, "\"");
> I changed that to
> cmd = strcat (cmd, " ", varargin{i});
> (my new m-File is called mkoctfilenew.m)
>
> So that's what I did finally:
>
> - Open command window
> cd "%ProgramFiles%\Microsoft Visual Studio 8\VC\"
> vcvarsall
> set INCLUDE=%INCLUDE%%ProgramFiles%\Microsoft Platform SDK for
> Windows Server 2003 R2\Include;
> set LIB=%LIB%%ProgramFiles%\Microsoft Platform SDK for Windows Server
> 2003 R2\Lib;
> %ProgramFiles%\Octave\bin\octave
> mkoctfilenew("helloworld.cc")
>
> Works!
>
> Summary:
> * Something goes wrong with the double quotes in mkoctfile.m.
> * I need to call vcvarsall.bat to set the MSVC paths.
> * Somehow I have to set the include and library paths for the SDK
> manually.
>
> Any comments?
>
> Again, thanks for your help so far!
>
> Christof
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/
- mkoctfile under Windows, Christof Zeile, 2007/09/07
- Re: mkoctfile under Windows, David Bateman, 2007/09/07
- Re: mkoctfile under Windows, Michael Goffioul, 2007/09/07
- Re: mkoctfile under Windows, Christof Zeile, 2007/09/07
- Re: mkoctfile under Windows, John W. Eaton, 2007/09/07
- Re: mkoctfile under Windows,
Tatsuro MATSUOKA <=
- Re: mkoctfile under Windows, Michael Goffioul, 2007/09/07
- Re: mkoctfile under Windows, Tatsuro MATSUOKA, 2007/09/07
- Re: mkoctfile under Windows, Christof Zeile, 2007/09/10
- Re: mkoctfile under Windows, Michael Goffioul, 2007/09/10