Skip to content

error: cannot find type 'WINDOW' in scope #4

@Jomy10

Description

@Jomy10

Describe the bug
error: cannot find type 'WINDOW' in scope

multiple errors appear:

/project_path/.build/checkouts/Curses/Sources/Curses/Curses.swift:173:57: error: cannot find type 'WINDOW' in scope
    func attributeOff(windowHandle:UnsafeMutablePointer<WINDOW>, attributeValue:Int) {
                                                        ^~~~~~
/project_path/.build/checkouts/Curses/Sources/Curses/Curses.swift:177:57: error: cannot find type 'WINDOW' in scope
    func attributeSet(windowHandle:UnsafeMutablePointer<WINDOW>, attributeValue:Int) {
                                                        ^~~~~~

To Reproduce

  • Have ncurses installed
  • Import the libray in Swift
  • Error appears after running

** Environment (please complete the following information):**

  • OS: macOS Ventura (13.2)
  • Terminal emulator: iTerm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions