> On Sun, Mar 15, 2015 at 11:07:26PM +0800, Ivan Tham wrote: >> Thanks, but how do I know about the -dev, but how do I know libxinerama-dev? > > Experience and / or guess-work. Compiler complaining about "$HEADER.h"? > Try installing lib$HEADER-dev (Debian) or $HEADER-devel (RHEL). Failing
If you are using debian based distro you can install apt-file: apt-file update (first time to build the database) apt-file search file (it will say you which package has the file). Regards,