octave-maintainers
[Top][All Lists]
Advanced

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

Re: building on macOS?


From: Carlo De Falco
Subject: Re: building on macOS?
Date: Fri, 21 Dec 2018 13:52:14 +0000


> On 20 Dec 2018, at 17:56, Mike Miller <address@hidden> wrote:
> 
> On Thu, Dec 20, 2018 at 08:42:28 -0800, Mike Miller wrote:
>> That said, if someone can figure out how to make this work, this would
>> be a nice feature to have.
> 
> For example, for a trivial oct file like this
> 
>    #include <oct.h>
>    DEFUN_DLD (example, , , "")
>    {
>      return ovl ();
>    }
> 
> The command line on my system needs to use the following at a minimum
> 
>    ./src/mkoctfile \
>      -I. \
>      -I.. \
>      -I../libinterp/corefcn \
>      -I../libinterp/octave-value \
>      -I../liboctave/array \
>      -I../liboctave/numeric \
>      -I../liboctave/operators \
>      -I../liboctave/system \
>      -I../liboctave/util \
>      -Iliboctave/operators \
>      -Iliboctave \
>      example.cc
> 
> But with that, the oct file is created and works correctly.

Mike, 

you are not building on macos, are you?

What does line 304 in src/mkoctfile.cc look like for you?
The test above works for me with Octave 4.4.1 but fails with 5.0.

My release of the default branch is not very recent, tough.
I'll update and test again.
c.


 



reply via email to

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