I am currently trying to test a c++ code I wrote on Qt, and I downloaded libudev and it keeps giving a lot of "undefined reference to". I followed almost all of the posts of upgrading libudev,
sudo apt-get install libudev0:i386
sudo ln -sf /lib/$(arch)-linux-gnu/libudev.so.1 /lib/$(arch)-linux-gnu/libudev.so.0
and this post .Error from this:
dpkg: error processing archive libudev0_175-0ubuntu9_amd64.deb
dkpk: error processing archive libudev0_175-0ubuntu9_amd64.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
libudev0_175-0ubuntu9_amd64.deb
I haven't had any luck yet. Most of the time I get "directory does not exist" errors. Would this have to do with my Ubuntu version?
libudev-dev
and setup its linking in Qt project.-I
,-l
,-L
should be the same for any c++ compiler.