Installation Questions
Q:
I downloaded OpenGL software from the Sun website. When I tried to install it, I got "^M: not found" error. Why?
A:
Depending on the setup of the web server, some ftp proxies will append ^M (newline character) to certain type of files.
The OpenGL download files are self-extract binary files which should be treated with no conversion during download. When the web proxy appends ^M the files, it corrupts them. You should check with your web admin to disable binary file conversion for your download.
Back to Top
Q:
OpenGL application failed to run and reported "GLX extension missing" error. Why?
A:
Most of the time, this problem can be attributed to one of the following:
- The X window system was not restarted after the installation of OpenGL software.
- You are trying to display to a remote system and the remote system either does not have OpenGL installed or does not support GLX protocol.
Sun's X window server only loads server extension modules (GLX, PEX, etc.) at server initiation time or at the first invocation of the extension protocol. In order to ensure that the OpenGL GLX server extension module is loaded by the Xsun server, it is necessary to restart the Xsun window server after installing the OpenGL packages.
If you are running OpenWindow, you can restart the window server by simply logging out and logging back in. On systems running
CDE, you'll need to restart to Xsun window server by exiting the desktop session.
If you are displaying to a remote system, you need to make sure that you have the appropriate OpenGL software installed on the remote system.If you are still unable to resolve the problem, send a problem report to
ogl-help@sun.com. Please download, then run this
config_info.sh script (type in
ksh config_info.sh), and send it's output along with the problem report.
Back to Top
Q:
After installing OpenGL software, my application still fails to run. What should I do?
A:
Check out the instructions on our Technical FAQ (
Verify Installation). If you are still unable to resolve the problem, send a problem report to
ogl-help@sun.com. Please download, then run this
config_info.sh script (type in
ksh config_info.sh), and send output from
config_info.sh and
ogl_install_check along with the problem report.
Back to Top
Product Specifications
Q:
How can I find out the release version number of OpenGL library I am using?
A:
You can identify the release version number of OpenGL library in several ways:
- For the 32 bit libraries: Using the
what(1) or mcs(1) command:
% what /usr/openwin/lib/libGL.so.1
- For 64 bit libraries: Using the
what(1) or mcs(1) command:
% what /usr/openwin/lib/sparcv9/libGL.so.1
- Programmatically, by calling
glGetString(GL_VERSION)
(see glGetString man page for more details)
- Running the OpenGL
install_check demo program:
% /usr/openwin/demo/GL/ogl_install_check
Back to Top
Q:
How can I obtain the list of OpenGL packages installed?
A:
Type in the command pkginfo | grep OpenGL
Back to Top
There are no additional links on this page.