Skip to content

Instantly share code, notes, and snippets.

View ericeche's full-sized avatar

Eric Echeverri ericeche

View GitHub Profile
@ericeche
ericeche / 01.configure
Last active December 17, 2015 11:29
qemu fails to install
HOMEBREW_VERSION: 0.9.4
HEAD: dad5917f6bd3ee86d6a9e26b99761da2e268c6be
CPU: quad-core 64-bit ivybridge
OS X: 10.8.3-x86_64
Xcode: 4.6.1
CLT: 4.6.0.0.1.1365549073
X11: N/A
Error: pkg-config binary 'pkg-config' not found
HOMEBREW_VERSION: 0.9.4
HEAD: dad5917f6bd3ee86d6a9e26b99761da2e268c6be
CPU: quad-core 64-bit ivybridge
OS X: 10.8.3-x86_64
Xcode: 4.6.1
CLT: 4.6.0.0.1.1365549073
X11: N/A
#include <errno.h>
#include <fcntl.h>
#include <linux/videodev2.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <unistd.h>
#include <opencv2/core/core.hpp>
#include <errno.h>
#include <fcntl.h>
#include <linux/videodev2.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <unistd.h>
#include <opencv2/core/core.hpp>
/*
* V4L2 video capture example
*
* This program can be used and distributed without restrictions.
*
* This program is provided with the V4L2 API
* see http://linuxtv.org/docs.php for more information
*/
#include <stdio.h>