Skip to content

Instantly share code, notes, and snippets.

View youngtaekoh's full-sized avatar

YoungTaek Oh youngtaekoh

View GitHub Profile
@youngtaekoh
youngtaekoh / boost-compute-patch-1.57
Last active August 29, 2015 14:12
boost::compute patch for boost 1.57
From 4e89d9ac9ff2471c47dbe54a9242740267acf5b0 Mon Sep 17 00:00:00 2001
From: YoungTaek Oh <>
Date: Thu, 25 Dec 2014 07:43:49 +0900
Subject: [PATCH] Fix for boost 1.57
---
include/boost/compute/iterator/buffer_iterator.hpp | 11 +++++++++++
include/boost/compute/iterator/constant_buffer_iterator.hpp | 11 +++++++++++
include/boost/compute/iterator/constant_iterator.hpp | 11 +++++++++++
include/boost/compute/iterator/counting_iterator.hpp | 11 +++++++++++
@youngtaekoh
youngtaekoh / gist:2285008
Created April 2, 2012 16:53
open-scene-graph build error
...
[ 57%] Building CXX object src/osgSim/CMakeFiles/osgSim.dir/ScalarsToColors.cpp.o
[ 57%] Building CXX object src/osgViewer/CMakeFiles/osgViewer.dir/PixelBufferCocoa.mm.o
[ 57%] Building CXX object src/osgWrappers/serializers/osg/CMakeFiles/osgdb_serializers_osg.dir/UserDataContainer.cpp.o
/tmp/homebrew-open-scene-graph-3.0.1-El71/OpenSceneGraph-3.0.1/src/osgViewer/DarwinUtils.mm: In member function ‘virtual void osgDarwin::DarwinWindowingSystemInterface::getScreenSettings(const osg::GraphicsContext::ScreenIdentifier&, osg::GraphicsContext::ScreenSettings&)’:
/tmp/homebrew-open-scene-graph-3.0.1-El71/OpenSceneGraph-3.0.1/src/osgViewer/DarwinUtils.mm:316: error: ‘CGDisplayBitsPerPixel’ was not declared in this scope
/tmp/homebrew-open-scene-graph-3.0.1-El71/OpenSceneGraph-3.0.1/src/osgViewer/DarwinUtils.mm: In member function ‘bool osgDarwin::DarwinWindowingSystemInterface::setScreenResolutionImpl(const osg::GraphicsContext::ScreenIdentifier&, unsigned int, unsigned int)’:
/tmp/homebrew-open-scene-graph-3.0