Installation

Izzatbek Mukhanov edited this page Oct 3, 2016 · 5 revisions

Installation tutorial of libpointing

Mac OS X

You can install libpointing easily using Homebrew or MacPorts.

Simply run the following in the terminal:

brew install libpointing

Or with MacPorts:

sudo port install libpointing

Using libpointing

To compile a project using libpointing simply link the library and the include directory:

-lpointing -L/usr/local/lib

In addition, you can find the latest release on Github releases. Download the latest version and run make && make install.

Windows

Please find compiled libs here. To use libpointing you will need to link hid.lib (installed with Windows Driver Kit) and setupapi.lib.

Note, if you are using QtCreator, deselect Shadow build to avoid linking problems.

Linux (Ubuntu)

  • Add the line deb http://inria.github.io/libpointing/distrib debian/ to the /etc/apt/sources.list
  • Run apt-get update
  • Run apt-get install libpointing
  • Once libpointing is installed, you can directly use it by adding -lpointing flag.

In addition, you can download and install the latest release on Github releases.

Building from sources

This repo also includes example applications, bindings, etc and transfer functions built with Echomouse.

On Mac OS or Linux

Qmake is used as a building tool. Run qmake and make in the root directory to compile all.

On Windows

Compile all.pro or open pointing/pointing.vcxproj to build without qmake.

Note, if you are using QtCreator, deselect Shadow build to avoid linking problems.

Install libpointing with npm

Visit this page.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.