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

Fix several examples v2 #439

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

thekhalifa
Copy link
Contributor

Fix several examples that don't compile when running make STOP_ON_ERROR=y
Compiled and tested on Linux

Allegro5 seg faults when it's initialised with an older version.
Change the example to init with current version.

Note: this is probably better to fix in the header file
inc/allegro5.bi, but that may need more testing
Cairo examples are calculating the 'stride' using the size
of Integer, which is not lining up correctly and seg faults.

Replace with cairo's own stride calculation.
Fixes sf# 932
This allows it to compile on non-Win32.
Additionally, sort headers alphabetically.
- Remove inclib from header to allow it to build without
  looking for a dynamic library
- Update makefile to build static library first before test
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

Successfully merging this pull request may close these issues.

1 participant