On 12/27/2012 16:03, Antoine Villeret wrote: > the default make install command from git repo install gem into > /usr/local/include how about using pkg-config? Gem installs a "Gem.pc" file, so you should do something like CFLAGS_linux = `pkg-config --cflags opencv Gem` fgmsdar IOhannes