- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- OpenGL with glut
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 01:58 AM
тАО07-08-2004 01:58 AM
i have done a prog in openGL with glu and glut on solaris. I want to compil it on HP-UX.
I have download and compil glut.
I can compil it but i have always this error :
/usr/lib/dld.sl: Unresolved symbol: XShmQueryExtension (code) from /opt/graphics/OpenGL/lib/libHpGL.2
I am beginer, to compil my source i use :
aCC -I/home/myhome/opengl/glut-3.7/include -I/opt/graphics/OpenGL/include -L/home/myhome/opengl/glut-3.7/lib/glut -L/opt/graphics/OpenGL/lib myfile.c -lX11 -lXi -lglut -lGL -lGLU -lm
If you need more information about my system ask me.
Thks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 03:07 AM
тАО07-08-2004 03:07 AM
Re: OpenGL with glut
In general you should link libraries that need symbols before libraries that define those symbols. It is not always necessary when using shared libraries, because a shared library is brought in as one unit. It is still a good habit. I would list -lXext and -lXi before -lX11. Use this library list in your link line-
-lglut -lGL -lGLU -lXext -lXi -lX11 -lm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 07:01 PM
тАО07-08-2004 07:01 PM
Re: OpenGL with glut
I still have this error message :
/usr/lib/dld.sl: Unresolved symbol: XShmQueryExtension (code) from /opt/graphics/OpenGL/lib/libHpGL.2
IOT trap
Is there a problem with GL? Can I find tools to check my config?
I can't change my config because I am not root :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2004 05:13 AM
тАО07-09-2004 05:13 AM
Re: OpenGL with glut
You can run /opt/graphics/OpenGL/demos/verify_install-32 to verify the OpenGL installation. There are also demo programs with source and makefiles under /opt/graphics/OpenGL/demos. You could copy those directories to another directory where you have write permission and build the demos.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2004 07:02 PM
тАО07-11-2004 07:02 PM
Re: OpenGL with glut
I can compile stereo and occlusion_cull, I will use those examples to compil my prog.
When I check my install I have this error message :
/usr/lib/X11R6/pa20_64/libXhp11.sl is bad or missing
But as I can compile demos it doesn't seem important
Thks for help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2004 07:46 PM
тАО07-11-2004 07:46 PM
Re: OpenGL with glut
/usr/lib/dld.sl: Unresolved symbol: XmuLookupStandardColormap (code) from /home/u181568/citrix/U181568/opengl/glut-3.7/lib/glut/libglut.sl
IOT trap
My problem seems to be in glut
I had to change the makefile to compile glut, I add :
-I/opt/graphics/OpenGL/include
I prefer use the glut-3.7-sd-11.00.depot, but how decompress it without be root?
If it is easier to change my code to no use glut why not!!
I join my source, if someone could explain me how to no use glut.
Thks
Thk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2004 06:33 AM
тАО07-12-2004 06:33 AM
SolutionThere is also a really old version of libglut in /opt/graphics/OpenGL/contrib/libglut that includes its own implementations of the Xmu functions that it uses.
cc -o myfile myfile.c -g -I/opt/graphics/OpenGL/include -I/opt/graphics/OpenGL/contrib/libglut -I/opt/graphics/OpenGL/include/GL -L/opt/graphics/OpenGL/lib -L/opt/graphics/OpenGL/contrib/libglut -lGLw -lglut -lGLU -lGL -lXm -lXt -lXext -lX11 -lm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2004 06:30 PM
тАО07-12-2004 06:30 PM
Re: OpenGL with glut
I have my openGL windows!!!!!!!!!!!!!!!
Thks