Giter Site home page Giter Site logo

bside-adm20's People

Contributors

inflex avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

mmuman

bside-adm20's Issues

Wrong bitmask checks?

When checking the code as reference to write a Sigrok driver I noticed the same bit is tested 3 times for 3 different flags, which I believe is copy-paste error:

			if (d[17] & 0x20) StringCbPrintf(mmmode,sizeof(mmmode),L"min-max");
			if (d[17] & 0x20) StringCbPrintf(mmmode,sizeof(mmmode),L"MAX");
			if (d[17] & 0x20) StringCbPrintf(mmmode,sizeof(mmmode),L"USB");

For the record, the Sigrok wiki documents these (at different offsets though).

Make bside-adm20-sdl2 and bside-adm20-x11 fail

I use Manjaro Linux lasted version and sdl2 installed

bside-adm20-sdl2.cpp:11:10:fatal error SDL.h no such file or directory
#include SDL.h

bside-adm20-x11.cpp:302:27: aviso: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
302 | char font_name = "--terminus--r---32-";
bside-adm20-x11.cpp:420:16: error: ordered comparison of pointer with integer zero (‘GC’ {aka ‘_XGC*’} and ‘int’)
420 | if (gc < 0) {

Please any solution}?

make -f Makefile.sdl2

on SDL2 this happen usign debian 12

g++ -ggdb -O -DBUILD_VER="1" -DBUILD_DATE=\""Thu Jun 22 08:40:25 PM +08 2023"\" -DFAKE_SERIAL=  bside-adm20-sdl2.cpp /usr/lib//libSDL2.a -lm -lasound -lm -ldl -lpthread -lpulse-simple -lpulse -pthread -lsamplerate -lX11 -lXext -lXcursor -lXi -lXfixes -lXrandr -lXss -ldrm -lgbm -lwayland-egl -lwayland-client -lwayland-cursor -lxkbcommon -ldecor-0 -lpthread -lrt -I/usr/include/SDL2 -D_REENTRANT -lSDL2_ttf  -o bside-adm20-sdl2 
/usr/bin/ld: cannot find /usr/lib//libSDL2.a: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile.sdl2:22: bside-adm20-sdl2] Error 1

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.