Skip to content

Instantly share code, notes, and snippets.

// clang++ -o test test.cc -Wno-deprecated-declarations -framework GLUT -framework OpenGL && ./test
#define SHARE_BUFFERS
#include <string.h>
#include <stdlib.h>
#include <GLUT/glut.h>
#include <dispatch/dispatch.h>
#include <OpenGL/OpenGL.h>
#include <OpenGL/CGLMacro.h>
@jlstrecker
jlstrecker / gist:3718412
Created September 13, 2012 23:02
brew output for "Missing .inc files when installing LLVM"
$ brew doctor
Warning: An "autoconf" in your path blocks the Xcode-provided version at:
/opt/local/bin/autoconf
This custom autoconf may cause some Homebrew formulae to fail to compile.
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.