Coder Social home page Coder Social logo

fbink-sys's Introduction

fbink-sys

Bare access to FBInk automatically made by bindgen for rust, because Plato backend is too heavy sometimes. Statically linked.

example is a binary program which shows some bare fbink function to get some idea how to use it.

This is a really bare none modular way done, someone needs to improve it in the future. Reasons below.

To use it:

  • As for the most important things, you need musl toolchain, the inkbox one at path: /home/build/qos/toolchains/armv7l-linux-musleabihf-cross/bin to automatically compile FBInk
  • Use build.sh in the example folder to compile
  • You need to copy config from .cargo to your binary project
  • For some reason compiling it dynamically produces Debug libraries for fbink and not release ones... run the command manually once, should be enough :/ or just fix this somehow help

To keep in mind:

  • FBInk is compiled with these arguments: make -j8 static MINIMAL=1 BITMAP=1 OPENTYPE=1 IMAGE=1 FONTS=1 CROSS_COMPILE=armv7l-linux-musleabihf-
  • FBInk submodule links to my repo, because I want to have control over version to fix things for this repo and links in the original FBInk repo keep getting broken

Other:

fbink-sys's People

Contributors

szybet avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.