You are not logged in.
Pages: 1
Hi there,
i am trying to play around with libevdev and uinput. regarding this i have problems with the includes. the headers are in /usr/include/libevdev-1.0/libevdev/*
so to include this in code obviously i need to
#include <libevdev-1.0/libevdev/libevdev.h>
#include <libevdev-1.0/libevdev/libevdev-uinput.h>
sadly in libevdev-uinput.h there is this include
#include <libevdev/libevdev.h>
which obviously can not work
[100%] Building CXX object CMakeFiles/advanced_scrolling.dir/main.cpp.o
In file included from /home/naikon/Documents/dev/cpp/advanced_scrolling/main.cpp:8:0:
/usr/include/libevdev-1.0/libevdev/libevdev-uinput.h:30:31: fatal error: libevdev/libevdev.h: No such file or directory
#include <libevdev/libevdev.h>
^
compilation terminated.
CMakeFiles/advanced_scrolling.dir/build.make:54: recipe for target 'CMakeFiles/advanced_scrolling.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/advanced_scrolling.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/advanced_scrolling.dir/all' failed
make[1]: *** [CMakeFiles/advanced_scrolling.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2
what should i do now? symlink /usr/include/libevdev-1.0/libevdev/ to /usr/include/libevdev/ ? change the include in libevdev-uinput.h from
#include <libevdev/libevdev.h>
to
#include <libevdev-1.0/libevdev/libevdev.h>
and why is this happening in the first place?
thanks in advance!
Last edited by lordnaikon (2014-12-27 16:03:32)
Offline
Pages: 1