Skip to content

Fail to build on Linux Arm 32bit #34

Open
@marcos69

Description

Using Swift3.11 on a RPI3 with Raspbian stretch and cheating on the sdl2.pc file (issue #32 ).
The build of the master branch, fails:

Compile Swift Module 'Cacao' (66 sources) /home/pi/Swift-trying/Cacao/Sources/Cacao/UIControl.swift:217:66: error: integer literal '4026531840' overflows when stored into 'Int' public static let systemReserved = UIControlEvents(rawValue: 0xF0000000) ^ /home/pi/Swift-trying/Cacao/Sources/Cacao/UIControl.swift:218:61: error: integer literal '4294967295' overflows when stored into 'Int' public static let allEvents = UIControlEvents(rawValue: 0xFFFFFFFF) ^ /home/pi/Swift-trying/Cacao/Sources/Cacao/UIScrollView.swift:425:34: warning: will never be executed isDecelerating = true ^ /home/pi/Swift-trying/Cacao/Sources/Cacao/UIScrollView.swift:420:51: note: condition always evaluates to false if /* decelerationAnimation != nil */ false { ^ /home/pi/Swift-trying/Cacao/Sources/Cacao/SDL.swift:61:9: warning: initialization of immutable value 'runloop' was never used; consider replacing with assignment to '_' or removing it let runloop = RunLoop.current ~~~~^~~~~~~ _ <unknown>:0: error: build had 1 command failures

building the develop-branch fails, because of error: use of undeclared type 'UndoManager'
building V0.51 fails too, but I only got error: unsatisfiable

Activity

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

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