ryanbinns / ttwatch

Linux TomTom GPS Watch Utilities
MIT License
205 stars 66 forks source link

Ubuntu/Debian quick install reminder #180

Open PtyMatt opened 10 months ago

PtyMatt commented 10 months ago

A tested Ubuntu/Debian copy pasta, if you don't want to loose too much time searching all the good packages ;)

cd
sudo apt update
sudo apt upgrade -y
sudo apt install -y git libssl-dev make cmake build-essential libcurlpp-dev libusb-1.0-0-dev libcurl4-openssl-dev libprotoc-dev pkg-config libtool autoconf libprotobuf-c-dev
git clone https://github.com/ryanbinns/ttwatch && cd ttwatch
mkdir build && cd build
cmake .. && make && sudo make install
echo $? # should return 0!

Then follow the instruction to access your watch as non root user + for my part ttwatch --set-formats=gpx as export format as it is a common one for others activity tracking services.

Almorca commented 6 months ago

I have a problem with lib-protobuf. protobuf_c_message_get_packed_size and other functions are not found when I do make install with Ubuntu 22.04.3 LTS and all package installed.