Skip to content

Instantly share code, notes, and snippets.

@liamstask
Created October 30, 2013 00:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save liamstask/7225393 to your computer and use it in GitHub Desktop.
drungus:project liam$ brew install -v glfw3 --universal
==> Downloading http://downloads.sourceforge.net/project/glfw/glfw/3.0.3/glfw-3.0.3.tar.bz2
Already downloaded: /Library/Caches/Homebrew/glfw3-3.0.3.tar.bz2
tar xf /Library/Caches/Homebrew/glfw3-3.0.3.tar.bz2
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file CMakeLists.txt
Hunk #1 succeeded at 373 with fuzz 1 (offset 16 lines).
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/glfw3/3.0.3 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DGLFW_USE_CHDIR=TRUE -DGLFW_USE_MENUBAR=TRUE -DGLFW_BUILD_UNIVERSAL=TRUE -DBUILD_SHARED_LIBS=TRUE .
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/glfw3/3.0.3 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DGLFW_USE_CHDIR=TRUE -DGLFW_USE_MENUBAR=TRUE -DGLFW_BUILD_UNIVERSAL=TRUE -DBUILD_SHARED_LIBS=TRUE .
-- The C compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/local/Library/ENV/4.3/cc
-- Check for working C compiler: /usr/local/Library/ENV/4.3/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.5")
-- Using Cocoa for window creation
-- Using NSGL for context creation
-- Building GLFW as Universal Binaries
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/glfw3-4LUe/glfw-3.0.3
==> make install
make install
/usr/local/Cellar/cmake/2.8.12/bin/cmake -H/tmp/glfw3-4LUe/glfw-3.0.3 -B/tmp/glfw3-4LUe/glfw-3.0.3 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_start /tmp/glfw3-4LUe/glfw-3.0.3/CMakeFiles /tmp/glfw3-4LUe/glfw-3.0.3/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/glfw.dir/build.make src/CMakeFiles/glfw.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f docs/CMakeFiles/docs.dir/build.make docs/CMakeFiles/docs.dir/depend
cd /tmp/glfw3-4LUe/glfw-3.0.3 && /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/glfw3-4LUe/glfw-3.0.3 /tmp/glfw3-4LUe/glfw-3.0.3/docs /tmp/glfw3-4LUe/glfw-3.0.3 /tmp/glfw3-4LUe/glfw-3.0.3/docs /tmp/glfw3-4LUe/glfw-3.0.3/docs/CMakeFiles/docs.dir/DependInfo.cmake --color=
cd /tmp/glfw3-4LUe/glfw-3.0.3 && /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/glfw3-4LUe/glfw-3.0.3 /tmp/glfw3-4LUe/glfw-3.0.3/src /tmp/glfw3-4LUe/glfw-3.0.3 /tmp/glfw3-4LUe/glfw-3.0.3/src /tmp/glfw3-4LUe/glfw-3.0.3/src/CMakeFiles/glfw.dir/DependInfo.cmake --color=
Scanning dependencies of target docs
Scanning dependencies of target glfw
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f docs/CMakeFiles/docs.dir/build.make docs/CMakeFiles/docs.dir/build
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/glfw3-4LUe/glfw-3.0.3/CMakeFiles 10
[ 2%] Generating HTML documentation
cd /tmp/glfw3-4LUe/glfw-3.0.3/docs && /usr/local/bin/doxygen
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/glfw.dir/build.make src/CMakeFiles/glfw.dir/build
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/glfw3-4LUe/glfw-3.0.3/CMakeFiles 16
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/glfw3-4LUe/glfw-3.0.3/CMakeFiles 17
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/glfw3-4LUe/glfw-3.0.3/CMakeFiles 18
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/glfw3-4LUe/glfw-3.0.3/CMakeFiles 19
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/glfw3-4LUe/glfw-3.0.3/CMakeFiles 20
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/glfw3-4LUe/glfw-3.0.3/CMakeFiles 21
[ 4%] [ 8%] [ 8%] /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/glfw3-4LUe/glfw-3.0.3/CMakeFiles 22
[ 12%] [ 10%] [ 14%] [ 17%] Building C object src/CMakeFiles/glfw.dir/context.c.o
Building C object src/CMakeFiles/glfw.dir/clipboard.c.o
Building C object src/CMakeFiles/glfw.dir/gamma.c.o
cd /tmp/glfw3-4LUe/glfw-3.0.3/src && /usr/local/Library/ENV/4.3/cc -Dglfw_EXPORTS -arch i386 -arch x86_64 -fPIC -I/tmp/glfw3-4LUe/glfw-3.0.3/src -Wall -fvisibility=hidden -fno-common -o CMakeFiles/glfw.dir/clipboard.c.o -c /tmp/glfw3-4LUe/glfw-3.0.3/src/clipboard.c
cd /tmp/glfw3-4LUe/glfw-3.0.3/src && /usr/local/Library/ENV/4.3/cc -Dglfw_EXPORTS -arch i386 -arch x86_64 -fPIC -I/tmp/glfw3-4LUe/glfw-3.0.3/src -Wall -fvisibility=hidden -fno-common -o CMakeFiles/glfw.dir/context.c.o -c /tmp/glfw3-4LUe/glfw-3.0.3/src/context.c
cd /tmp/glfw3-4LUe/glfw-3.0.3/src && /usr/local/Library/ENV/4.3/cc -Dglfw_EXPORTS -arch i386 -arch x86_64 -fPIC -I/tmp/glfw3-4LUe/glfw-3.0.3/src -Wall -fvisibility=hidden -fno-common -o CMakeFiles/glfw.dir/gamma.c.o -c /tmp/glfw3-4LUe/glfw-3.0.3/src/gamma.c
Building C object src/CMakeFiles/glfw.dir/init.c.o
Building C object src/CMakeFiles/glfw.dir/input.c.o
cd /tmp/glfw3-4LUe/glfw-3.0.3/src && /usr/local/Library/ENV/4.3/cc -Dglfw_EXPORTS -arch i386 -arch x86_64 -fPIC -I/tmp/glfw3-4LUe/glfw-3.0.3/src -Wall -fvisibility=hidden -fno-common -o CMakeFiles/glfw.dir/init.c.o -c /tmp/glfw3-4LUe/glfw-3.0.3/src/init.c
cd /tmp/glfw3-4LUe/glfw-3.0.3/src && /usr/local/Library/ENV/4.3/cc -Dglfw_EXPORTS -arch i386 -arch x86_64 -fPIC -I/tmp/glfw3-4LUe/glfw-3.0.3/src -Wall -fvisibility=hidden -fno-common -o CMakeFiles/glfw.dir/input.c.o -c /tmp/glfw3-4LUe/glfw-3.0.3/src/input.c
Building C object src/CMakeFiles/glfw.dir/joystick.c.o
cd /tmp/glfw3-4LUe/glfw-3.0.3/src && /usr/local/Library/ENV/4.3/cc -Dglfw_EXPORTS -arch i386 -arch x86_64 -fPIC -I/tmp/glfw3-4LUe/glfw-3.0.3/src -Wall -fvisibility=hidden -fno-common -o CMakeFiles/glfw.dir/joystick.c.o -c /tmp/glfw3-4LUe/glfw-3.0.3/src/joystick.c
Building C object src/CMakeFiles/glfw.dir/monitor.c.o
cd /tmp/glfw3-4LUe/glfw-3.0.3/src && /usr/local/Library/ENV/4.3/cc -Dglfw_EXPORTS -arch i386 -arch x86_64 -fPIC -I/tmp/glfw3-4LUe/glfw-3.0.3/src -Wall -fvisibility=hidden -fno-common -o CMakeFiles/glfw.dir/monitor.c.o -c /tmp/glfw3-4LUe/glfw-3.0.3/src/monitor.c
brew: superenv removed: -Wall
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
brew: superenv removed: -Wall
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
brew: superenv removed: -Wall
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
brew: superenv removed: -Wall
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
brew: superenv removed: -Wall
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
brew: superenv removed: -Wall
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
brew: superenv removed: -Wall
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/context.c:28:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4133:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLsizeiptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:70:14: note: previous definition is here
typedef long GLsizeiptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/context.c:28:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4134:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLintptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:69:14: note: previous definition is here
typedef long GLintptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/init.c:28:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4133:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLsizeiptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:70:14: note: previous definition is here
typedef long GLsizeiptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/init.c:28:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4134:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLintptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:69:14: note: previous definition is here
typedef long GLintptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/clipboard.c:27:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4133:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLsizeiptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:70:14: note: previous definition is here
typedef long GLsizeiptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/clipboard.c:27:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4134:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLintptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:69:14: note: previous definition is here
typedef long GLintptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/input.c:28:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4133:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLsizeiptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:70:14: note: previous definition is here
typedef long GLsizeiptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/input.c:28:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4134:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLintptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:69:14: note: previous definition is here
typedef long GLintptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/monitor.c:28:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4133:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLsizeiptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:70:14: note: previous definition is here
typedef long GLsizeiptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/monitor.c:28:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4134:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLintptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:69:14: note: previous definition is here
typedef long GLintptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/gamma.c:27:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4133:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLsizeiptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:70:14: note: previous definition is here
typedef long GLsizeiptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/gamma.c:27:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4134:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLintptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:69:14: note: previous definition is here
typedef long GLintptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/joystick.c:28:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4133:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLsizeiptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:70:14: note: previous definition is here
typedef long GLsizeiptrARB;
^
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/joystick.c:28:
In file included from /tmp/glfw3-4LUe/glfw-3.0.3/src/internal.h:54:
/tmp/glfw3-4LUe/glfw-3.0.3/src/../deps/GL/glext.h:4134:19: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
typedef ptrdiff_t GLintptrARB;
^
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:69:14: note: previous definition is here
typedef long GLintptrARB;
^
2 errors generated.
2 errors generated.
2 errors generated.
2 errors generated.
2 errors generated.
2 errors generated.
2 errors generated.
make[2]: *** [src/CMakeFiles/glfw.dir/gamma.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/CMakeFiles/glfw.dir/joystick.c.o] Error 1
make[2]: *** [src/CMakeFiles/glfw.dir/init.c.o] Error 1
make[2]: *** [src/CMakeFiles/glfw.dir/monitor.c.o] Error 1
make[2]: *** [src/CMakeFiles/glfw.dir/clipboard.c.o] Error 1
make[2]: *** [src/CMakeFiles/glfw.dir/context.c.o] Error 1
make[2]: *** [src/CMakeFiles/glfw.dir/input.c.o] Error 1
make[1]: *** [src/CMakeFiles/glfw.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/glfw3-4LUe/glfw-3.0.3/CMakeFiles 10
[ 17%] Built target docs
make: *** [all] Error 2
==> Formula
Tap: homebrew/versions
Path: /usr/local/Library/Taps/homebrew-versions/glfw3.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 3e632a022ccde33454b2968716a39aed7b795945
CPU: 8-core 64-bit ivybridge
OS X: 10.9-x86_64
Xcode: 5.0.1
CLT: 5.0.1.0.1.1382131676
X11: 2.7.4 => /opt/X11
==> ENV
HOMEBREW_CC: clang
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
HOMEBREW_VERBOSE: 1
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: glfw3 did not build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment