Required Tools - atmel-maxtouch/mxt-app GitHub Wiki

PAGE IS PENDING UPDATES:

The following are tools required to compile mxt-app and instructions on how to load onto Ubuntu. Ubuntu 16.04 is used for these instructions.

Install autotools

sudo apt-get install autotools-dev
Version installed: (20150820.1)

Install autoconf

sudo apt-get install autoconf Version installed: (2.69-9)

Install make

sudo apt install make Version installed: (GNU Make 4.1)

Install libtool

sudo apt-get install libtool-bin Version installed: (2.4.6-0.1)

Install an edit tool

sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-installer Version installed: (Sublime Text Build 3126)

Install gawk

sudo apt install gawk Version installed: (GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0))

Install libusb1.0 library

sudo apt-get install libusb-1.0-0-dev Version installed: (2:1.0.20-1)

Install gcc-arm-linux-gnueabihf to compile code

sudo apt-get install gcc-arm-linux-gnueabihf Version installed: (4:5.3.1-1ubuntu1)

Install openssl development headers onto Ubuntu, if not already

sudo apt-get install openssl Version installed: (1.0.2g-1ubuntu4.20)

Install libssl

sudo apt-get install libssl-dev

Version installed: (1.0.2g-1ubuntu4.20)

also install for 32bit if cross compiling with a 64bit machine.

sudo apt-get install libssl-dev:i386

Version installed: (1.02g-1ubuntu4.20)

Modifications due to new openssl placement of headers.

cd /usr/include/openssl/

sudo ln -s /usr/include/gnutls/openssl.h .

sudo ln -s ../x86_64-linux-gnu/openssl/opensslconf.h .

Install meld

sudo apt-get install meld Version installed: (3.14.2-1)

Install libusb for USB support in embedded Linux kernels

sudo apt-get install libusb-1.0-0-dev:i386 and sudo apt-get install libusb-1.0-0-dev:amd64

Version installed: (2:1.0.20-1)

For maxtouch linux install the following tools:

Install arm-linux-gnueabi-gcc

Version installed: (4:5.3.1-1ubuntu1)

Install bison and flex

Version installed: (2.6.0-11) flex Version installed: (2:3.0.4.dfsg-1) bison

If using other tools like smatch, then requires libsqlite3

sudo apt-get install libsqlite3-dev

sudo apt install python-pip

Ncurse package needed for make menuconfig

sudo apt-get install libncurses-dev