Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VRUI install error on Yosemite #3

Open
dheermance opened this issue Oct 21, 2015 · 2 comments
Open

VRUI install error on Yosemite #3

dheermance opened this issue Oct 21, 2015 · 2 comments

Comments

@dheermance
Copy link

I'm trying to install VRUI via the brew command and keep getting the following error:

I'm running this on a Mac mini (2014) with Yosemite OSX 10.10.5

$ brew install vrui
==> Installing vrui from keckcaves/homebrew-keckcaves
==> Cloning https://github.com/KeckCAVES/Vrui.git
Updating /Library/Caches/Homebrew/vrui--git
==> Checking out revision v3.1-002
==> make INSTALLDIR=/usr/local/Cellar/vrui/3.1-002-1 DOCINSTALLDIR=/usr/local/Cellar/vru
Last 15 lines from /Users/rvh97413/Library/Logs/Homebrew/vrui/01.make:
/usr/bin/g++ -MD -c -o o/g++-3.g0.O3/GL/GLAutomaticShader.o -g0 -O3 -I/private/tmp/vrui20151021-2328-1s2wdxq -I/opt/X11/include -I/private/tmp/vrui20151021-2328-1s2wdxq GL/GLAutomaticShader.cpp
/usr/bin/g++ -MD -c -o o/g++-3.g0.O3/GL/GLLineLightingShader.o -g0 -O3 -I/private/tmp/vrui20151021-2328-1s2wdxq -I/opt/X11/include -I/private/tmp/vrui20151021-2328-1s2wdxq GL/GLLineLightingShader.cpp
GL/GLGeometryShader.cpp:136:26: error: cast from pointer to smaller type 'GLuint' (aka 'unsigned int') loses information
glProgramParameteriEXT(GLuint(programObject),GL_GEOMETRY_INPUT_TYPE_EXT,geometryInputType);
^~~~~~~~~~~~~~~~~~~~
GL/GLGeometryShader.cpp:137:26: error: cast from pointer to smaller type 'GLuint' (aka 'unsigned int') loses information
glProgramParameteriEXT(GLuint(programObject),GL_GEOMETRY_OUTPUT_TYPE_EXT,geometryOutputType);
^~~~~~~~~~~~~~~~~~~~
GL/GLGeometryShader.cpp:138:26: error: cast from pointer to smaller type 'GLuint' (aka 'unsigned int') loses information
glProgramParameteriEXT(GLuint(programObject),GL_GEOMETRY_VERTICES_OUT_EXT,maxNumOutputVertices);
^~~~~~~~~~~~~~~~~~~~
3 errors generated.
make: *** [o/g++-3.g0.O3/GL/GLGeometryShader.o] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/g++ -MD -c -o o/g++-3.g0.O3/GL/GLColorMap.o -g0 -O3 -I/private/tmp/vrui20151021-2328-1s2wdxq -I/opt/X11/include -I/private/tmp/vrui20151021-2328-1s2wdxq GL/GLColorMap.cpp

I've updated brew and have xquartz installed. Thoughts?

@mankoff
Copy link

mankoff commented May 8, 2016

See #4

@yzaki
Copy link

yzaki commented Sep 29, 2016

Can anyone help in explaining how to apply the fix #3 and #4 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants