Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to build on Linux Arm 32bit #34

Open
marcos69 opened this issue Feb 14, 2018 · 0 comments
Open

Fail to build on Linux Arm 32bit #34

marcos69 opened this issue Feb 14, 2018 · 0 comments

Comments

@marcos69
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant