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 error Macbook Pro #4

Open
joshuaaflores opened this issue Nov 6, 2015 · 4 comments
Open

VRUI error Macbook Pro #4

joshuaaflores opened this issue Nov 6, 2015 · 4 comments

Comments

@joshuaaflores
Copy link

Hello,
My name is Joshua. I'm taking a geodynamics course from Margarete Jadamec and I'm having an issue installing vrui-examples. I have a Macbook Pro running OS X El Capitan version 10.11.1. I want to use the ShowEarthModel and I followed the instructions found here.
http://keckcaves.org/downloads
I used homebrew and installed XQuartz. I restarted my machine and entered the script in XQuartz terminal. After tapping KeckCAVES, when trying to install vrui-examples 3 errors are generated. The script is as follows....

bash-3.2$ brew install vrui-examples
==> Installing vrui-examples from keckcaves/homebrew-keckcaves
==> Installing dependencies for keckcaves/keckcaves/vrui-examples: KeckCAVES/keckcaves/vrui
==> Installing keckcaves/keckcaves/vrui-examples dependency: KeckCAVES/keckcaves/vrui
==> 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/vrui/3.1-002-1/share/doc/vrui ETC
Last 15 lines from /Users/joshuaflores/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/vrui20151106-30288-cbm2cx -I/opt/X11/include -I/private/tmp/vrui20151106-30288-cbm2cx GL/GLAutomaticShader.cpp
/usr/bin/g++ -MD -c -o o/g++-3.g0.O3/GL/GLLineLightingShader.o -g0 -O3 -I/private/tmp/vrui20151106-30288-cbm2cx -I/opt/X11/include -I/private/tmp/vrui20151106-30288-cbm2cx GL/GLLineLightingShader.cpp
/usr/bin/g++ -MD -c -o o/g++-3.g0.O3/GL/GLColorMap.o -g0 -O3 -I/private/tmp/vrui20151106-30288-cbm2cx -I/opt/X11/include -I/private/tmp/vrui20151106-30288-cbm2cx GL/GLColorMap.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....

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/keckcaves/homebrew-keckcaves/issues

bash-3.2$

end

It is probably also attached to the ticket information, but here is my email as well.
[email protected]
Thank you.

@Ylannl
Copy link

Ylannl commented Nov 6, 2015

Same issue here. I believe it is related to XQuartz. The latest (v2.7.8) gives me the same errors. However, this version works for me.

@coventrycollege
Copy link

Thanks Ylannl, that works for me in 10.10

@mankoff
Copy link

mankoff commented May 8, 2016

I'm on 10.11.4 and XQuartz 2.7.9 and have this error.

@moneyjh
Copy link

moneyjh commented May 23, 2016

Is there any update on this? I'm running El Capitan with Quartz 2.7.8_beta1 and it installs, but none of the apps will work. The X window immediately appears and disappears on starting the apps.

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

5 participants