octave-maintainers
[Top][All Lists]
Advanced

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

Re: mex and f77blas.h with Octave.app for Mac


From: Kai Torben Ohlhus
Subject: Re: mex and f77blas.h with Octave.app for Mac
Date: Tue, 15 Jan 2019 23:55:50 +0100

On Tue, Jan 15, 2019 at 5:58 PM Ray Zimmerman <address@hidden> wrote:
[...] I’m attempting to build SeDuMi [1] with the following command (which calls mex internally), executed from the command-line in Octave-4.4.1.app ...

    install_sedumi('-rebuild')

… but it complains of a missing header file f77blas.h, which I see is included at …

    Octave-4.4.1.app/Contents/Resources/usr/Cellar/openblas_0.3.3_0/0.3.3/include/f77blas.h

So, my question is, how can I make it successfully find and use that header file when calling install_sedumi?

Can you show the result of the following command in the Octave app:

   mkoctfile -p ALL_CFLAGS

That should reveal the default include directories of "mex" aka "mkoctfile --mex".  Maybe you can add to "install_sedumi" [1] something like

   flags{end+1} = '-I/Octave-4.4.1.app/Contents/Resources/usr/Cellar/openblas_0.3.3_0/0.3.3/include';

that "mkoctfile" and "mex" can find your header.

Best,
Kai


reply via email to

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