llandsmeer / inkvt

Experimental VT100 terminal emulator for Kobo e-readers
GNU General Public License v3.0
39 stars 5 forks source link

libvterm/src/encoding.o not found #22

Open madskjeldgaard opened 2 years ago

madskjeldgaard commented 2 years ago

Hi I had some trouble compiling this using the instructions. I used the kox toolchain as suggested and it generally works but it has trouble finding encoding.o as per the error below (clipped the "not found" part because it was in danish):

arm-kobo-linux-gnueabihf-gcc-ar rc build/libvterm_kobo.a libvterm/src/encoding.o libvte rm/src/keyboard.o libvterm/src/mouse.o libvterm/src/parser.o libvterm/src/pen.o libvter m/src/screen.o libvterm/src/state.o libvterm/src/unicode.o libvterm/src/vterm.o /home/mads/x-tools/arm-kobo-linux-gnueabihf/lib/gcc/arm-kobo-linux-gnueabihf/11.2.0/../ ../../../arm-kobo-linux-gnueabihf/bin/ar: libvterm/src/encoding.o

I can't remember exactly how I fixed it but I got it working (sorry for lack of details, I'm quite ill).

NiLuJe commented 2 years ago

Probably forgot to init/update the git submodules ;).

llandsmeer commented 2 years ago

Hmmn if you got that far at least the FBInk submodule was downloaded and 'build object files' step in Makevterm should have run.

Does running

make -f Makevterm clean

before the build do anything useful (after making sure you have the submodules)?

madskjeldgaard commented 2 years ago
make -f Makevterm clean

Nope - and all submodules are downloaded.

Tried running

make -f Makevterm clean && make clean && make release

But same thing happens - it still complains about encoding.o not being found.

For reference, I am running the kobo toolchain from kox.

NiLuJe commented 2 years ago

Can you post the full terminal output?

llandsmeer commented 2 years ago

And a find libvterm, maybe the encoding.c file got deleted?