octave-maintainers
[Top][All Lists]
Advanced

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

Re: MSVC Octave (2.9.12-3)


From: David Grohmann
Subject: Re: MSVC Octave (2.9.12-3)
Date: Tue, 05 Jun 2007 08:20:33 -0500
User-agent: Thunderbird 1.5.0.12 (Windows/20070509)

address@hidden  and address@hidden go to the same list, you do no need to mail both.


---
David Grohmann
Senior Student Associate
Applied Research Lab : UT Austin : ESL - S206
Office: 512-835-3237

Tatsuro MATSUOKA wrote:
Dear Michael

Oh! There certainly were all libs installed.
***************************************
C:\Programs\Octave2.9.12-3\lib>dir
 Volume in drive C has no label.
 Volume Serial Number is B06A-D0D1

 Directory of C:\Programs\Octave2.9.12-3\lib

2007/06/05  08:26    <DIR>          .
2007/06/05  08:26    <DIR>          ..
2006/11/23  23:24            25,042 blas.lib
2007/05/29  20:28           291,834 f2c.lib
2006/11/22  23:15           148,320 fftw3.lib
2006/12/16  20:44           226,514 hdf5.lib
2006/11/24  00:00           224,370 lapack.lib
2007/06/05  08:26    <DIR>          octave-2.9.12
2007/06/03  23:07            77,030 readline.lib
2006/12/16  20:05            10,590 zlib.lib
**************************************************

Thanks!
I found that I have to add octave library path to the
'LIB' environmental variable to be solve the problems.

I made a batch file to start up octave in the following.  

**************************
@echo off
call "C:\Program Files\Microsoft Visual Studio
8\VC\vcvarsall.bat" 

call "C:\Program Files\Microsoft Platform SDK\SetEnv.Cmd"

set LIB=%LIB%;C:\Programs\Octave2.9.12-3\lib

"C:\Program Files\ckw\octave2.9.12-3\ckw.exe" -e
"C:\Programs\Octave2.9.12-3\bin\octave"  
****************************************

>From octave prompt, system('cmd')
and from command prompt
**************************************************
D:\usr\Tatsu\program\Octave\test>mkoctfile -v hello.cc
cc-msvc -d -c -I.  
-IC:\Programs\Octave2.9.12-3\include\octave-2.9.12
-IC:\Programs\Octave2.9.12-3\include\octave-2.9.12\octave
-IC:\Programs\Octave2.9.12-3\include  -O2 -EHs -MD   
hello.cc -o hello.o
cl -nologo -c -I.
-IC:\Programs\Octave2.9.12-3\include\octave-2.9.12
-IC:\Programs\Octave2.9.12-3\include\octave-2.9.12\octave
-IC:\Programs\Octave2.9.12-3\include -O2 -EHs -MD
-Tphello.cc -Fohello.o
hello.cc
cc-msvc -shared -g  -o hello.oct  hello.o  
-LC:\Programs\Octave2.9.12-3\lib\octave-2.9.12 -loctinterp
-loctave  -lcruft  -llapack -lblas -lfftw3 -lreadline
-lhdf5 -lzlib  -lws2_32 -lkernel32 -lf2c -lkernel32
LINK : hello.oct not found or not built by the last
incremental link; performing full link
   Creating library hello.lib and object hello.exp
***************************************************

I could build a hello.oct file.

However, it is not easy for common users to find the way
setting enviromental variables.

I would like to describe how to set enviromental variables
to use mkoctfile.

T. Matsuoka


--- Michael Goffioul <address@hidden> wrote:

  
On 6/5/07, Tatsuro MATSUOKA <address@hidden>
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.

    



--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/
  





reply via email to

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