Skip to content

Instantly share code, notes, and snippets.

@yukota
yukota / Dockerfile
Last active August 29, 2015 14:17
Dockerfile for ROS
# install ROS indigo
# based ubuntu 14.04 trusty
FROM ubuntu:trusty
MAINTAINER YuK_Ota "whitenightwinter@gmail.com"
# prepare install ROS
RUN apt-get update -q \
&& apt-get install -yq wget
# install ROS
@yukota
yukota / freeglut-2.8.1-macos10.7.patch
Created June 26, 2013 13:14
freeglut patch MacOS10.7 later use gl3.h not gl.h.
diff -ur org/freeglut-2.8.1/include/GL/freeglut_std.h freeglut-2.8.1/include/GL/freeglut_std.h
--- org/freeglut-2.8.1/include/GL/freeglut_std.h 2012-11-19 21:45:34.000000000 +0900
+++ freeglut-2.8.1/include/GL/freeglut_std.h 2013-06-26 22:02:57.000000000 +0900
@@ -122,7 +122,7 @@
* Always include OpenGL and GLU headers
*/
#if __APPLE__
-# include <OpenGL/gl.h>
+# include <OpenGL/gl3.h>
# include <OpenGL/glu.h>
@yukota
yukota / freeglut-2.8.1-without-smooth_opengl3.patch
Last active December 18, 2015 20:49
freeglut build fail in smooth_opengl3 with MacOS X MountainLion. Cause of compatibility for Windows. smooth_opengl3 is demo program. I need freeglut as lib not demo. So, not build it.
Binary files orig/freeglut-2.8.1/.DS_Store and freeglut-2.8.1/.DS_Store differ
diff -ur orig/freeglut-2.8.1/progs/demos/Makefile.am freeglut-2.8.1/progs/demos/Makefile.am
--- orig/freeglut-2.8.1/progs/demos/Makefile.am 2011-03-18 12:21:56.000000000 +0900
+++ freeglut-2.8.1/progs/demos/Makefile.am 2013-06-23 08:06:36.000000000 +0900
@@ -1,2 +1,2 @@
EXTRA_DIST = demos.dsw
-SUBDIRS = CallbackMaker Fractals Fractals_random Lorenz One shapes smooth_opengl3 spaceball subwin
+SUBDIRS = CallbackMaker Fractals Fractals_random Lorenz One shapes spaceball subwin
diff -ur orig/freeglut-2.8.1/progs/demos/Makefile.in freeglut-2.8.1/progs/demos/Makefile.in
--- orig/freeglut-2.8.1/progs/demos/Makefile.in 2013-02-17 08:05:20.000000000 +0900