[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MSVC Octave (2.9.12-3)
From: |
Marcel Graf |
Subject: |
Re: MSVC Octave (2.9.12-3) |
Date: |
Tue, 5 Jun 2007 21:21:54 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Michael Goffioul <michael.goffioul <at> gmail.com> writes:
>
> On 6/5/07, Tatsuro MATSUOKA <tmacchant <at> yahoo.co.jp> wrote:
> > 2. Mkoctfile still fails in the link process.
> > We still need remove unrequried link option like
> > '-llapack' manually.
>
> Could you report the compilation error you get? Normally, all
> required .lib files have been included.
>
> Michael.
Hello
I installed octave-2.9.12-3-setup.exe and
can confirm that the adding the octave\lib directory to LIB is still
needed. In order to successfully compile & use hello.cc, I used:
---
REM needed to find cl & link
call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"
REM needed to find ws2_32.lib, kernel32.lib, ...
call "C:\Program Files\Microsoft Platform SDK for
Windows Server 2003 R2\SetEnv.Cmd"
REM needed to find lapack.lib, ...
call set LIB=C:\Octave\lib;%LIB%
call "C:\Octave\bin\oct
---
and then "mkoctfile hello.cc" .
Similarly, I tried with a mex file, which compiles & links as well
(mex mexfile.c), but can not be run. Indeed, the mexfile.mex file
does not contain the string "mexFunction" at all - thats what octave
is looking for, right?
Marcel
- Re: Octave/Win32 new binary package (2.9.12), (continued)
Re: Octave/Win32 new binary package (2.9.12), Olli Saarela, 2007/06/01
Re: Octave/Win32 new binary package (2.9.12), Olli Saarela, 2007/06/01
Re: Octave/Win32 new binary package (2.9.12), Olli Saarela, 2007/06/01
Re: Octave/Win32 new binary package (2.9.12), Arsenio Cesista, 2007/06/04
Re: MSVC Octave (2.9.12-3),
Marcel Graf <=
Re: MSVC Octave (2.9.12-3), David Bateman, 2007/06/05
Re: Octave/Win32 new binary package (2.9.12), Paul Thomas, 2007/06/11
Re: Octave/Win32 new binary package (2.9.12), Paul THOMAS, 2007/06/11