davidgiven / fluxengine

PSOC5 floppy disk imaging interface
MIT License
361 stars 69 forks source link

Problem building fluxengine under Ubuntu 23.10 #743

Closed vmagnin closed 7 months ago

vmagnin commented 9 months ago

I have bought a GreaseWeazle card and would like to use fluxengine.

I followed those steps in my Ubuntu 23.10:

$ git clone git@github.com:davidgiven/fluxengine.git
$ cd fluxengine
$ make
AB
loading build.py
loading build/c.py
loading build/protobuf.py
loading build/pkg.py
loading build/utils.py
loading config.py
fluxengine-testdata not found; skipping corpus tests
loading src/build.py
loading dep/adflib/build.py
loading dep/agg/build.py
loading dep/fatfs/build.py
loading dep/hfsutils/build.py
loading dep/libusbp/build.py
loading dep/stb/build.py
loading lib/build.py
loading arch/build.py
loading src/formats/build.py
loading scripts/build.py
loading tests/build.py
loading src/gui/build.py
loading extras/build.py
loading src/gui/drivetypes/build.py
loading tools/build.py
loading dep/snowhouse/build.py
.obj/build.mk:8: *** Required package 'protobuf' not installed..  Stop.

although the python3-protobuf is installed in my system:

$ apt list *protobuf* | grep installed
libmirprotobuf3/now 2.4.1-0ubuntu2 amd64 [installed,local]
libprotobuf-c1/mantic,now 1.4.1-1ubuntu2 amd64 [installed,automatic]
libprotobuf-lite10/now 3.0.0-9.1ubuntu3 amd64 [installed,local]
libprotobuf-lite23/now 3.12.4-1ubuntu7.22.10.1 amd64 [installed,local]
libprotobuf-lite32/mantic,now 3.21.12-7ubuntu1 amd64 [installed,automatic]
libprotobuf32/mantic,now 3.21.12-7ubuntu1 amd64 [installed,automatic]
protobuf-compiler/mantic,now 3.21.12-7ubuntu1 amd64 [installed,auto-removable]
python3-protobuf/mantic,now 3.21.12-7ubuntu1 amd64 [installed]

Do I miss some other package related to protobuf?

vmagnin commented 7 months ago

After reading the Ubuntu dependencies listed in .github/workflows/ccpp.yml, I have just realized I was missing a few dev files:

$ sudo apt install libprotobuf-dev libfmt-dev libsqlite3-dev

and fluxengine-gui is now working with my Greaseweazle V4.1. I have just to learn how to use it :-)