Cacao icon indicating copy to clipboard operation
Cacao copied to clipboard

Fails to build on macOS

Open Dev1an opened this issue 7 years ago • 1 comments

When I try to build 9cda4a1 using swift build -Xlinker -L/usr/local/lib I get:

Cacao/Sources/Cacao/UIView.swift:734:47: error: type 'SDLPixelFormat.Format' has no member 'argb8888'
                                     format: .argb8888, // SDL_PIXELFORMAT_ARGB8888
                                              ^~~~~~~~

Dev1an avatar Jan 08 '19 19:01 Dev1an

It looks like the Package.resolved has not been updated to use the updated SDL framework. I got it to run by updating the packages :
swift packages update

Now all I need is for the inputs to work on a Mac as well!

mri-scanomat avatar Feb 14 '19 09:02 mri-scanomat