PDA

View Full Version : libvirt with c/c++ error



gerger09
June 26th, 2012, 02:22 AM
I tried compiling my code using gcc and it gave me an error

error fatal error: libvirt/libvirt-qemu.h: No such file or directory

How do I fix this? Did I forget to install something? I'm using Fedora 17.

11jmb
June 26th, 2012, 12:29 PM
How did you install this? I'm not as familiar with Fedora as I am with Ubuntu, but in Ubuntu there is often a standard version and a -dev version which contains the headers.

My guess is that you installed the libraries but not the headers