QSerialDevice: Compilation error "libudev.h: No such file or directory"
I checked-out the QSerialDevice from (https://gitorious.org/qserialdevice). I have to download the UDEV (http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html) but 开发者_开发百科the link is broken. So, I skipped this and tried to build the library but obviously I get an error of missing libudev.h.
How can I fix this?
I am using qextserialport but am facing problems in the read, so am trying to substitute it with qserialdevice.
Thank you!
For Ubuntu, install the package libudev-dev.
If you need other files, you can find the package that contains it with http://packages.ubuntu.com#search_contents
精彩评论