On Mon, Oct 1, 2018 at 11:30 AM Jason Kridner <[email protected]> wrote:
> On Mon, Oct 1, 2018 at 7:05 AM <[email protected]> wrote: > >> I wanted to post this work we did: UXMux! >> >> https://github.com/circuitandcode/uxmux >> >> *Here is a demo*: https://youtu.be/pwHVf08JeU4 >> >> UXMux is a *framebuffer* implementation of *liteHTML*. It loads images >> (pngs), text and custom fonts, supports basic CSS/position and links! This >> is a faster, lighter weight, easier to maintain, easier to use alternative >> to QT and Electron. >> >> It also allows you to embed C programs as if they're javascript (it >> doesn't support javascript). >> >> <link type="binary/elf" href="FILENAME.elf"> >> >> and call the function with >> >> <a href="FILENAME.elf" target="functioname" type="function/static"> >> >> It's mostly at a proof of concept stage but it's very organized and you >> may find it useful. >> >> It needs modifications to better support touch, although mouse has worked >> (although as needed to be tuned per system) >> Apparently, there were some color issues on the BBB, please feel free to >> post here with your results if you'd like some input. >> >> We're accepting pull requests and will likely have testing set up for our >> own purposes! >> > > Thanks for sharing on the list! > > I've got a simple project in mind where I plan to use a PocketBeagle, SPI > LCD and a few buttons as a remote control for my BlueDonkey autonomous RC > car (https://github.com/jadonk/BlueDonkey). This looks like it could be a > great way to view the captured webcam and add control signals. > Seems there is a lot of code inside uxmux.h and that seems odd to me. I ran into an issue building natively on BeagleBone/PocketBeagle using the Debian images: sudo apt-get update sudo apt-get install cmake libfreetype6-dev libpng-dev git clone https://github.com/circuitandcode/uxmux cd uxmux make ... g++ -o build/uxmux main.o -Wl,-Map=build/uxmux.map,--cref -s -v -nodefaultlibs -lc -ldl -lstdc++ -lgcc_s -Wl,-t -Llib/litehtml/ -llitehtml `pkg-config --libs freetype2` `pkg-config --libs libpng` \ ) ; then : ; else echo "FAILURE: Running 'make clean_all && make' may solve the problem." ; fi In file included from main.cpp:1:0: uxmux.h:30:6: error: ‘void uxmux_container::render(litehtml::uint_ptr, litehtml::document::ptr, uxmux_container*, fb_var_screeninfo*, fb_fix_screeninfo*, litehtml::uint_ptr, int, int, unsigned char, bool)’ cannot be overloaded void render(litehtml::uint_ptr hdc, litehtml::document::ptr doc, uxmux_container* painter, struct fb_var_screeninfo* vinfo, struct fb_fix_screeninfo* finfo, litehtml::uint_ptr hdcMouse, int x, int y, unsigned char click_ie, bool redraw) { ^~~~~~ ... FYI: debian@pocket-6e3b:/var/lib/cloud9/uxmux$ pkg-config --modversion libpng freetype2 1.6.28 18.3.12 debian@pocket-6e3b:/var/lib/cloud9/uxmux$ cmake --version cmake version 3.7.2 CMake suite maintained and supported by Kitware (kitware.com/cmake). debian@pocket-6e3b:/var/lib/cloud9/uxmux$ gcc --version gcc (Debian 6.3.0-18) 6.3.0 20170516 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beagleboard/d4b09b9d-8864-4c49-8242-8ea2e05ca17a%40googlegroups.com >> <https://groups.google.com/d/msgid/beagleboard/d4b09b9d-8864-4c49-8242-8ea2e05ca17a%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > https://beagleboard.org/about > -- https://beagleboard.org/about -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CA%2BT6QPn-ZrXTdOB11LHZQ7OWKnNFZHwfj0ko%3Dv9RDSfcXw5wYA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
