antiprism / libu8g2arm Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Antiprism ========= Notes for Antiprism 0.32 ------------------------ Minor release with bug fixes and small improvements. Changes by Roger Kaufman and Adrian Rossiter. See the NEWS file for more details. Please look out for bugs and other issues, and report them on the Antiprism discussion group https://groups.google.com/g/antiprism Adrian. Adrian Rossiter <[email protected]> http://antiprism.com/adrian General ------- Antiprism is a collection of programs for generating, manipulating, transforming and viewing polyhedra http://www.antiprism.com/ This is a beta release. The programs have not had wide use and probably contain a number of bugs. Please let me know if you come across any bugs, or anything not working as documented. Antiprism is available as source code http://www.antiprism.com/files/antiprism-0.27.tar.gz Ubuntu packages https://launchpad.net/~antiprism/+archive/ubuntu/ppa Windows 64-bit and 32-bit installers http://www.antiprism.com/files/antiprism-0.27_w64_install.exe http://www.antiprism.com/files/antiprism-0.27_w32_install.exe In Windows, the DOS Box started from the Antiprism Shell menu item is configured and ready to run the Antiprism programs. If required, the ANTIPRISM_DATA environment variable may be set to the path of the 'data' directory in the install directory. Building -------- These are instructions for building from a source tarball (see README.git for building fron the Antiprism Git Repository). They are not needed to run the Windows executables. Antiprism uses the Autotools build system. The programs can be built with ./configure make and installed with sudo make install-strip See the INSTALL file for more details. If there are errors relating to shared libraries when the installed programs are run, it may be necessary to run sudo ldconfig The Antiview viewer depends on GLUT. A GLUT package suitable for developing against must be installed in order to build Antiview, otherwise the build and install will not include this program. On a Debian-based system you could install Freeglut sudo apt-get install freeglut3-dev If building against a locally installed GLUT package, ensure that the headers are in a GL subdirectory. If building against OpenGLUT or Freeglut but using their own names for headers and libraries (rather than the usual GLUT names) run configure with --with-openglut or --with-freeglut. To build against FLTK with GLUT compatibility, run configure with --with-fltkglut. Cygwin ------ For a non-X version of Antiview (only tested on a system without X development packages installed), first build and install Freeglut from source, then set LDFLAGS="-L/usr/local/lib" when running the Antiprism configure script. For an X version of Antiview, install the X development packages and run configure with "--with-x=yes". It should be possible to build native Windows binaries by cross- compiling using the tools provided by Cygwin, otherwise, use the MSYS build environment. Mac OS X -------- Run configure with "--with-x=no". Git Code Repository ------------------- The Git repository contains the latest development code https://github.com/antiprism/antiprism See README.git for further details. Note to Developers ------------------ README.git contains information for developers. All the Antiprism source code is supplied under a permissive licence. The aim of using permissive licensing is to promote the development of new polyhedron software by making it convenient to reuse the Antiprism source code in other projects. Please, support this aim. If you incorporate Antiprism source code into your own project and make any improvements that could reasonably be incorporated back into the Antiprism project, like bug fixes, optimisations or new features, then please contribute your changes for inclusion back into Antiprism under a permissive (preferably MIT) licence.
I compiled the libu8g2arm repo on my raspberry pi, then copied the compiled library to my main computer for use in visual studio, had no issues with that what so ever,
whenever i go to compile any random code relating to libu8g2arm library, i get this error
(Note, Visual Studio is remoting into my raspberry pi, the error is coming from the raspberry pi)
1>/usr/bin/ld : error : cannot find -lwiringPi
1>collect2 : error : ld returned 1 exit status
Hi,
I'm unsure how to include a SPI display with your lib - could you provide a small example maybe?
Hi,
I need the most current (development-)u8g2 lib as it includes fixes for my display. I tried to run setup_src.sh
but it fails with errors:
../bdfconv/bdfconv -y -1 -th 2 -tv 2 -f 2 -b 3 -m '32-255>32' tmp.bdf -n u8x8_font_px437wyse700b_2x2_f -o font.c && cat font.c >>../../../csrc/u8x8_fonts.c
Can not open bdf file 'tmp.bdf'
../otf2bdf/otf2bdf -r 72 -p 16 ../ttf/Px437_Wyse700b.ttf -o tmp.bdf
sh: 1: ../otf2bdf/otf2bdf: not found
../bdfconv/bdfconv -y -1 -th 2 -tv 2 -f 2 -b 3 -m '32-127>32' tmp.bdf -n u8x8_font_px437wyse700b_2x2_r -o font.c && cat font.c >>../../../csrc/u8x8_fonts.c
Can not open bdf file 'tmp.bdf'
../otf2bdf/otf2bdf -r 72 -p 16 ../ttf/Px437_Wyse700b.ttf -o tmp.bdf
sh: 1: ../otf2bdf/otf2bdf: not found
../bdfconv/bdfconv -y -1 -th 2 -tv 2 -f 2 -b 3 -m '32,42-58>42' tmp.bdf -n u8x8_font_px437wyse700b_2x2_n -o font.c && cat font.c >>../../../csrc/u8x8_fonts.c
Can not open bdf file 'tmp.bdf'
update u8g2.h
update u8x8.h
Segmentation fault
cp: cannot stat 'src/setup/font/build//fonts_gplcopyleft': No such file or directory
cp: cannot stat 'src/setup/font/build//fonts_noncommercial': No such file or directory
cp: cannot stat 'src/setup/font/build//fonts_permissive': No such file or directory
rm: cannot remove 'src/csrc/fonts_permissive/*.txt': No such file or directory
rm: cannot remove 'src/csrc/fonts_gplcopyleft/*.txt': No such file or directory
rm: cannot remove 'src/csrc/fonts_noncommercial/*.txt': No such file or directory
cc -Wall -g codebuild_cpp.c -o codebuild_cpp
1 4W_SW_SPI 1 4W_HW_SPI 1 8080 1 4W_SW_SPI 1 4W_HW_SPI 1 8080 2 4W_SW_SPI 2 4W_HW_SPI 2 8080 2 4W_SW_SPI 2 4W_HW_SPI 2 8080 f 4W_SW_SPI f 4W_HW_SPI f 8080 f 4W_SW_SPI f 4W_HW_SPI f 8080
....
....
...
patched ../../cppsrc/U8x8lib.h
cp: cannot stat 'src/csrc/fonts_gplcopyleft/*.h': No such file or directory
cp: cannot stat 'src/csrc/fonts_noncommercial/*.h': No such file or directory
I use your code to develop on my dekstop pc for my raspberry pi and attached screen using you SDL example.
Is it somehow possible to also simulate simple button events so I can actually test the menu stuff too?
I only see u8x8_d_sdl_gpio in the code, but do not know how I could use it.
Hi, I tried to your libu8g2arm library to compile example from yours using Nokia 5110 display on RP3b using HW SPI.
Compilation succeeded but running compiled binary showed up error 'can't open device: No such file or directory' Aborted.
Using example from u8g2-arm-linux was running well.
Can you please help to take a look?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.