All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] buildroot+libinput-0.5.0
@ 2014-08-29 16:17 lee choon gay
  2014-08-29 16:21 ` Vicente Olivert Riera
  0 siblings, 1 reply; 3+ messages in thread
From: lee choon gay @ 2014-08-29 16:17 UTC (permalink / raw)
  To: buildroot

Hi.
I would like to install libinput for Weston with buildroot-2014.05.
I selected libevdev and mtdev as follow and my toolchain is Sourcery CodeBench x86/x86_64 2012.09.


menuconfig-->Target packages-->Libraries-->Other-->libevdev
menuconfig-->Target packages-->Libraries-->Hardware handling-->mtdev


I extracted my libinput-0.5.0.tar.xz.
Inside my libinput-0.5.0 folder, I did the following.

1)export PKG_CONFIG_PATH=/home/leecgy/buildroot_sourcery_x86/output/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig/
2)./configure CC=/home/leecgy/buildroot_sourcery_x86/output/host/usr/bin/i686-pc-linux-gnu-gcc -libdir=/home/leecgy/buildroot_sourcery_x86/output/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib --prefix=/my/target/directory

3)make

Configure is working fine, but I get the following error during make.
I would like to check with you on how to link the following header file during make.


leecgy at ubuntu:~/libinput-0.5.0$ make
make  all-recursive
make[1]: Entering directory `/home/leecgy/libinput-0.5.0'
Making all in src
make[2]: Entering directory `/home/leecgy/libinput-0.5.0/src'
  CC       libinput_la-libinput.lo
In file included from libinput.c:35:0:
evdev.h:30:31: fatal error: libevdev/libevdev.h: No such file or directory
compilation terminated.
make[2]: *** [libinput_la-libinput.lo] Error 1
make[2]: Leaving directory `/home/leecgy/libinput-0.5.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/leecgy/libinput-0.5.0'
make: *** [all] Error 2


My header files are located in
/home/leecgy/buildroot_sourcery_x86/output/host/usr/i686-buildroot-linux-gnu/sysroot/usr/include/libevdev-1.0/libevdev/libevdev.h
/home/leecgy/buildroot_sourcery_x86/output/host/usr/i686-buildroot-linux-gnu/sysroot/usr/include/libevdev-1.0/libevdev/libevdev-uinput.h

Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140829/b51681e1/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Buildroot]  buildroot+libinput-0.5.0
@ 2014-08-30 14:23 lee choon gay
  0 siblings, 0 replies; 3+ messages in thread
From: lee choon gay @ 2014-08-30 14:23 UTC (permalink / raw)
  To: buildroot

Hi,Vincent.
Thank you very much.

I tried the patch below. It works fine.
But in Weston window, I have mouse to screen scaling issue.
I have to move my mouse a lot to move the cursor for just a little as 1cm.
Do I have to calibrate the mouse?
If yes, how to do that?

Thanks.


>That error has been already fixed: >http://git.buildroot.net/buildroot/commit>/?id=e05c6a791d11dbbd619e6be2ebb990cb21db0832 >You can apply that patch, or you can wait a few days (less than a week, 
>I guess) when buildroot-2014.08 it's released. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140830/421231cd/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-30 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-29 16:17 [Buildroot] buildroot+libinput-0.5.0 lee choon gay
2014-08-29 16:21 ` Vicente Olivert Riera
2014-08-30 14:23 lee choon gay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.