- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: running SDL with OpenGL in HP-UX 11.00
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
Forums
Discussions
Discussions
Discussions
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
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
06-20-2003 02:24 AM
06-20-2003 02:24 AM
i have SDL 1.2 and OpenGL as well as Mesa installed in my HP-UX 11.00 B2000 Visualize workstation and the opengl and glut demos run fine. but when I try to run any SDL apllication
which uses opengl renedering(eg, Tux Racer), it
fails in SDL_SetVideoMode with the message
"X11 driver not configured for OpenGL"
do i have to do anything extra for setting up
opengl or is it a bug in SDL HP-UX port? thanks
in advance.
saurav
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 04:57 AM
06-20-2003 04:57 AM
Re: running SDL with OpenGL in HP-UX 11.00
URL ?
useful info to have :
graphinfo,xdpyinfo,chatr from the SDL binary/executable .... any idea which X11 driver it's referring to .... might tie up with xdpyinfo extensions
output.
I did find :
http://sdldoc.csn.ul.ie/guidevideoopengl.php
and a little bit of digging suggests this might be a game port of some shape or kind in which case this will be most likely a bug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2003 01:07 AM
06-23-2003 01:07 AM
Re: running SDL with OpenGL in HP-UX 11.00
> "X11 driver not configured for OpenGL"
recompile SDL with: enable_video_opengl="yes"
I tried to compile tuxracer on hpux-11.00, but it fails with the following error message:
checking for glXGetProcAddressARB... (cached) yes
checking for GLU library... yes
checking for GL/gl.h... yes
checking for GL/glx.h... (cached) yes
checking whether glx.h defines glXGetProcAddressARB... no
configure: error: Your copy of glx.h is out of date. You can get a more recent copy from the latest
Mesa distribution (http://mesa3d.sourceforge.net).
gmake: *** [config.status] Error 1
SDL-1.2.5 and Mesa-5.0.1 is installed. Can you give me a hint.
thanks Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2003 10:35 PM
06-23-2003 10:35 PM
Re: running SDL with OpenGL in HP-UX 11.00
SDL is Simple Direct Multimedia Layer which is
an API used for writing games and other multimedia applications portably. A port of SDL is available in HP-UX Porting and archive centre.
As for the configure complaining about 'glx.h is out of date', i also got the same problem. i checked OpenGL headers and found that glXGetProcAddressARB is missing but it is available in Mesa headers. so i pointed to Mesa headers during configuration. this also failed. so i just commented out the part in configure script which was checking for this declaration and everything compiled fine.
Regarding recompiling SDL, i didn't compile SDL but installed it from depot. do you mean i have to compile everything from source or a pre-compiled version exists somewhere. thanks
saurav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 12:46 AM
06-25-2003 12:46 AM
Solution# diff -Naur tuxracer-0.61/configure.orig tuxracer-0.61/configure
--- tuxracer-0.61/configure.orig 2003-06-23 15:26:45.000000000 +0200
+++ tuxracer-0.61/configure 2003-06-23 15:24:57.000000000 +0200
@@ -4065,6 +4065,7 @@
cat > conftest.$ac_ext <
#include "confdefs.h"
+#define GLX_GLXEXT_PROTOTYPES
#include
int main() {
char *foo = (char*) glXGetProcAddressARB;
and the missing finite() can be solved by adding the following:
# diff -Naur tuxracer-0.61/src/tuxracer.h.orig tuxracer-0.61/src/tuxracer.h
--- tuxracer-0.61/src/tuxracer.h.orig 2003-06-23 11:32:56.000000000 +0200
+++ tuxracer-0.61/src/tuxracer.h 2003-06-23 11:20:23.000000000 +0200
@@ -140,6 +140,8 @@
# define FINITE(x) (!isnan(x))
#elif defined( HAVE__ISNAN )
# define FINITE(x) (!_isnan(x))
+#elif defined( __hpux )
+# define FINITE(x) (!isfinite(x))
#else
# error "You don't have finite(), _finite(), isnan(), or _isnan() on your system!"
#endif
a precompiled SDL depot file for hpux 11.00 could you find on my homepage:
http://cloud.prohosting.com/patos/download/SDL-1.2.5-sd-11.00.depot.bz2
please let me know if it works, send me a email to mgansser@inneo.de
thanks Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 10:30 PM
06-25-2003 10:30 PM
Re: running SDL with OpenGL in HP-UX 11.00
it works. i mean atleast the tuxracer window comes up. but it runs horribly slowly. even mouse movements are very jerky. my first impression was that the window was not displaying any mouse cursor. fps is near 0 on my B200 Visualize-fxe card(even when using a very small resolution).
saurav