fbpad-eink icon indicating copy to clipboard operation
fbpad-eink copied to clipboard

It does not compile.

Open kahveciderin opened this issue 4 years ago • 5 comments

I get this error while compiling:

test@deep:~/kobo_asd/fbpad-eink$ sudo -S make
arm-linux-gnueabihf-gcc -c -Wall -O2 refresh.c
In file included from refresh.c:19:
refresh.h:2:1: error: conflicting types for 'fbink_refresh'
 fbink_refresh(int                fbfd,
 ^~~~~~~~~~~~~
In file included from refresh.c:12:
fbink.h:561:15: note: previous declaration of 'fbink_refresh' was here
 FBINK_API int fbink_refresh(int                         fbfd,
               ^~~~~~~~~~~~~
refresh.c:339:5: error: conflicting types for 'fbink_refresh'
     fbink_refresh(int                fbfd,
     ^~~~~~~~~~~~~
In file included from refresh.c:12:
fbink.h:561:15: note: previous declaration of 'fbink_refresh' was here
 FBINK_API int fbink_refresh(int                         fbfd,
               ^~~~~~~~~~~~~
make: *** [Makefile:8: refresh.o] Error 1
test@deep:~/kobo_asd/fbpad-eink$ 

kahveciderin avatar Apr 14 '20 14:04 kahveciderin

It's tied to a specific, old FBInk version, and not actually using it as a library but directly merging tweaked bits and pieces in the code. Don't expect this to work anywhere else than the author's hardware without some more work.

NiLuJe avatar Apr 14 '20 15:04 NiLuJe

IIRC, previous issues may have gone into more details.

NiLuJe avatar Apr 14 '20 15:04 NiLuJe

Yeah, I did got it too compile after a lot of trouble. It works okay, but for it to be practical this program really needs some love (as NiLuJe estbalished in a previous issue, it interfaces with FBInk really weirdly, see https://github.com/kisonecat/fbpad-eink/issues/1).

A real bummer btw, because I would absolutely adore to have a decently working terminal on my kobo. If anyone knows an alternative, be sure to let me know!

rien333 avatar Apr 14 '20 15:04 rien333

There's https://github.com/llandsmeer/inkvt now ;).

NiLuJe avatar Apr 14 '20 15:04 NiLuJe

Yess, thanks for the suggestion!

rien333 avatar Apr 14 '20 15:04 rien333