After the touch screen driver is transplanted in Ubuntu, A tslib is usually transplanted to work together to filter and correct the touch screen data at the user layer, at the same time, you can also provide a unified interface for the application. Many guis support the tslib interface. for the basic knowledge and Transplantation of tslib, google is just a plug-in on the Internet. The following briefly introduces the cross-compilation process: (1) download the latest version of tslib. Currently, the latest version is version 1.4, download via CVS: $ mkdir-m777
After the touch screen driver is transplanted in Ubuntu, A tslib is usually transplanted to work together to filter and correct the touch screen data at the user layer, at the same time, you can also provide a unified interface for the application. Many guis support the tslib interface. for the basic knowledge and Transplantation of tslib, google is just a plug-in on the Internet. Below is a brief introduction to my cross-compilation process:
(1) download the latest tslib version. The latest version is version 1.4. download the latest version through CVS:
$ Mkdir-m777 cvs
$ Cd cvs
$ Export CVSROOT =: pserver: anoncvs @ cvs. handhelds. org:/cvs
$ Cvs login
Logging in to: pserver: anoncvs @ cvs. handhelds. org: 2401/cvs
CVS password: anoncvs
Cvs login: CVS password file/home/daiq/. cvspass does not exist-creating a new file
$ Cvs co apps/tslib
This will create an apps folder under your $ PWD/cvs, where tslib is the source code we downloaded.
(2) generate the configure file.
Install some tools first. I don't need to install them when I use ubuntu9.10, but I still need to install them using the new software packages such as autoconf, automake, and libtool (the new software package will automatically add other required software packages ).
Sudo apt-get install m4 autoconf automake libtool
Set the cross-compilation environment first:
$ Export PATH = $ PATH:/work/cross/toolchain/gcc-3. 4. 5-glibc-2. 3. 6/arm-softfloat-linux-gnu/bin
$ Export CC = arm-softfloat-linux-gnu-gcc
$ Export CXX = arm-softfloat-linux-gnu-g ++
Run./autogen. sh
Daiq @ daiq-desktop:/work/cvs/apps/tslib $./autogen. sh
Libtoolize... libtoolize: putting auxiliary files in '.'.
Libtoolize: copying file './ltmain. Sh'
Libtoolize: You shocould add the contents of the following files to 'aclocal. m4 ':
Libtoolize: '/usr/share/aclocal/libtool. m4'
Libtoolize: '/usr/share/aclocal/ltoptions. m4'
Libtoolize: '/usr/share/aclocal/ltversion. m4'
Libtoolize: '/usr/share/aclocal/ltsugar. m4'
Libtoolize: '/usr/share/aclocal/lt ~ Obsolete. m4'
Libtoolize: Consider adding 'ac _ CONFIG_MACRO_DIR ([m4]) 'to configure. AC and
Libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
Libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile. am.
Done.
Aclocal... Done.
Autoheader... Done.
Automake... configure. ac: 21: installing './config. guess'
Configure. ac: 21: installing './config. sub'
Configure. ac: 7: installing './install-Sh'
Configure. ac: 7: installing './missing'
Plugins/Makefile. am: installing './depcomp
Done.
Autoconf... Done.
Now you can do./configure, make, make install.