Skip to content

Control package fails to install on Octave 10.x due to deprecated octave_value API #21

@weijithw2022

Description

@weijithw2022

I am attempting to install the control package on GNU Octave version 10.2.0 on macOS via pkg install -forge control. The installation fails during compilation with errors related to octave_value, including messages such as:

error: no member named 'is_numeric_type' in 'octave_value'
error: no member named 'is_real_type' in 'octave_value'  
error: no member named 'is_cell' in 'octave_value'; did you mean 'iscell'?

These errors indicate that some macros used in the package (OV_ISNUMERIC, OV_ISREAL, OV_ISCELL) no longer match the Octave 10 API.

Steps to Reproduce

  1. Install Octave 10.2.0 on macOS (via Homebrew or official binaries)
  2. Run:
    pkg install -forge control
  3. Observe compilation errors in __control_helper_functions__.cc related to octave_value members

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions