ttwatch | Linux TomTom GPS Watch Utilities | Map library
kandi X-RAY | ttwatch Summary
kandi X-RAY | ttwatch Summary
Linux TomTom GPS Watch Utilities. Provides programs for communicating with TomTom GPS watches and processing the data they collect.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ttwatch
ttwatch Key Features
ttwatch Examples and Code Snippets
Community Discussions
Trending Discussions on ttwatch
QUESTION
I'm new to C/C++ and am trying to build and run ttwatch from github locally on an Ubuntu machine (Trusty Tahr). Instructions include installing some libraries first: cmake, openssl, curl, libusb, and include a note to install the "-dev" versions (eg. libssl-dev, libcurl-dev, libusb-1.0-0-dev). I'm having some trouble with libusb. I see questions about this all over the internet, but haven't yet found a solution that works.
Running cmake .
appears to work fine:
ANSWER
Answered 2018-Feb-05 at 00:58I was not aware that Debian has the packages libusb-dev
and
libusb-1.0-dev
. From the package information I cannot tell why there are 2
packages for the same library, perhaps libusb-dev
is an older version with a
different API and other packages might still have that as a dependency. So
removing the package might not be a good idea, unless you don't care/need
packages depending on libusb-dev
, in which case you can do apt-get purge
libusb-dev && apt-get autoremove
. Be ware that this might uninstall
packages that you need. So do it only if you know what you are doing.
I did not expect that Debian allows you to install both packages at the same time, but this could be if the APIs of both libraries are different and don't conflict with each other.
This seems to confuse cmake
, which somehow cannot handle when both libraries
are simultaneously installed. I've gone through the issues page and I
haven't found an issue relating to that. So if you cannot manage to build it,
I'd suggest that you go to the issue page, if you don't have an github
account, create one and leave a bug report about building the package when
libusb-dev
and libusb-1.0-dev
are simultaneously installed.
Another option would be to make a small modification in the file cmake_modules/FindLibUSB.cmake
before you do
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ttwatch
In order to have permission to access the USB devices when running as anyone other than root, a udev rule must be set up to allow access for unprivileged users. The rule I have set up is:. The value for idProduct depends on the model of watch that you use. For original models, 7474 is correct. For Spark watches, the idProduct value is 7477, although 7475 has also been found. Please check dmesg output, for the correct value.
Before being able to use most of the commands the program provides, the watch needs to be set up, similar to the initial setup routine that the Windows client does. This is done by running. Doing this will create a default XML preferences file on the watch, as well as create default races for the different activities. Most of the functions rely on the XML preferences file existing, so this must be done first.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page