kisonecat / fbpad-eink

A framebuffer-based terminal emulator targetting eink devices (Kobo)
GNU Affero General Public License v3.0
25 stars 3 forks source link

It does not compile. #3

Open kahveciderin opened 4 years ago

kahveciderin commented 4 years ago

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$ 
NiLuJe commented 4 years ago

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 commented 4 years ago

IIRC, previous issues may have gone into more details.

rien333 commented 4 years ago

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!

NiLuJe commented 4 years ago

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

rien333 commented 4 years ago

Yess, thanks for the suggestion!