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

Enable QPULib to be built with CMake #82

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

Conversation

m516
Copy link

@m516 m516 commented Jun 15, 2020

CMake scripts for QPULib were created in my fork and allow for integration with other projects that can build with CMake. Instructions for creating CMake projects with QPULib were delegated to a separate Readme.

CMake has been integrated into a simple Mandelbrot-renderer that can be built on a variety of platforms. This project can be found here: https://github.com/m516/Pi-Mandelbrot-Renderer.

Works on Ubuntu, but not Windows
Remove some output files
Accurately detect if system is Raspberry Pi
cast from ‘void*’ to ‘uint32_t {aka unsigned int}’ loses precision when compiling on 64 bit systems
These files are only needed for using the Pi's QPU and are unnecessary for emulation.

Furthermore, they require Linux-specific libraries (which is why QPULib can't be emulated on WIndows)

Now that they aren't compiled on Windows, QPULib can be compiled in emulation mode on Windows as well
Don't compile VideoCore, Mailbox, and Invoke when in emulation mode, so QPULib can be compiled by Windows machines
the End macro conflicts with SFML's Keyboard::End
Change End to EndBlock, just as what was done in the actual source code
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