Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QSerialDevice: Compilation error "libudev.h: No such file or directory"

Tags:

qt4

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!

like image 603
newbieLinuxCpp Avatar asked Oct 05 '11 08:10

newbieLinuxCpp


1 Answers

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

like image 174
alexisdm Avatar answered Sep 29 '22 13:09

alexisdm