Skip to content

Is macOS 11 supported? #125

Open
Open
@judaew

Description

I'm a maintainer on MacPorts and have encountered an error during build in the current version of vfkit due to the use of VZVirtioSoundDeviceInputStreamConfiguration (which from macOS 12).

virtualization_12.m:178:69: error: use of undeclared identifier 'VZVirtioSoundDeviceInputStreamConfiguration'; did you mean 'newVZVirtioSoundDeviceInputStreamConfiguration'?
virtualization_12.m:163:7: note: 'newVZVirtioSoundDeviceInputStreamConfiguration' declared here
virtualization_12.m:178:54: error: use of undeclared identifier 'inputStream'
virtualization_12.m:179:10: error: unknown receiver 'inputStream'; did you mean 'NSInputStream'?
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h:12:109: note: 'NSInputStream' declared here
virtualization_12.m:179:34: error: use of undeclared identifier 'VZHostAudioInputStreamSource'
virtualization_12.m:180:16: error: use of undeclared identifier 'inputStream'
virtualization_12.m:193:18: error: use of undeclared identifier 'VZVirtioSoundDeviceOutputStreamConfiguration'; did you mean 'newVZVirtioSoundDeviceOutputStreamConfiguration'?
virtualization_12.m:190:7: note: 'newVZVirtioSoundDeviceOutputStreamConfiguration' declared here
virtualization_12.m:193:18: warning: receiver type 'void *(*)()' is not 'id' or interface pointer, consider casting it to 'id' [-Wreceiver-expr]
virtualization_12.m:205:9: error: use of undeclared identifier 'VZVirtioSoundDeviceOutputStreamConfiguration'; did you mean 'newVZVirtioSoundDeviceOutputStreamConfiguration'?
virtualization_12.m:190:7: note: 'newVZVirtioSoundDeviceOutputStreamConfiguration' declared here
virtualization_12.m:205:117: error: expected expression
fatal error: too many errors emitted, stopping now [-ferror-limit=]
make: *** [out/vfkit-arm64] Error 1

See https://trac.macports.org/ticket/69683.

Let me know if vfkit should support macOS 11.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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