octave-maintainers
[Top][All Lists]
Advanced

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

Re: building on macOS?


From: Mike Miller
Subject: Re: building on macOS?
Date: Thu, 20 Dec 2018 08:56:12 -0800
User-agent: Mutt/1.10.1 (2018-07-13)

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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