SDL for NT?

In the Visual C install instructions, it says it needs at least Direct X 5
to install. NT, however, only supports DX 3. Also, I compiled the lib
files, and the dll. I put it in the opengl test directory. It compiles
fine, but when I run it, it puts a stdout.txt file in the directory saying
I don’t have OpenGL support. Eventhough, I have been writing OpenGL apps
on the machine for a while using the regular windows interface.

But now, I’m looking for a windowing system that will let me get some
cross-compatibility with NT and Linux.

In the Visual C install instructions, it says it needs at
least Direct X 5
to install. NT, however, only supports DX 3. Also, I
compiled the lib

Yep, as of Service Pack 3 I believe NT supports DX3.

files, and the dll. I put it in the opengl test directory.
It compiles
fine, but when I run it, it puts a stdout.txt file in the
directory saying

On NT SDL uses the WinDIB interface (not DX). I’ve only tried it on
NT/Alpha however.

I don’t have OpenGL support. Eventhough, I have been writing
OpenGL apps
on the machine for a while using the regular windows interface.

I’m not sure on this, it may have something to do with SDL using the DIB
interface, but I would imagine it should work since OpenGL works with
regular windows.

mike

In the Visual C install instructions, it says it needs at least Direct X 5
to install. NT, however, only supports DX 3. Also, I compiled the lib
files, and the dll. I put it in the opengl test directory. It compiles
fine, but when I run it, it puts a stdout.txt file in the directory saying
I don’t have OpenGL support. Eventhough, I have been writing OpenGL apps
on the machine for a while using the regular windows interface.

On NT 4.0, SDL will only use the “windib” video driver, which is slower
than the “directx” driver, but it DOES work.

I have heard that later NT-based systems (Win2000? XP?) have newer DirectX
support.

That’s for 2D graphics, though. I’m not sure what to tell you about the
OpenGL part, since I haven’t tried it on NT 4.0 myself. It shouldn’t be
dependent on DirectX, however.

It’s possible that the libraries are miscompiled; could you see if the
precompiled libraries work with OpenGL on your system? We can home in the
problem more easily then.

–ryan.

In the Visual C install instructions, it says it needs at least Direct X 5
to install. NT, however, only supports DX 3. Also, I compiled the lib
files, and the dll. I put it in the opengl test directory. It compiles
fine, but when I run it, it puts a stdout.txt file in the directory saying
I don’t have OpenGL support. Eventhough, I have been writing OpenGL apps
on the machine for a while using the regular windows interface.

On NT 4.0, SDL will only use the “windib” video driver, which is slower
than the “directx” driver, but it DOES work.

I have heard that later NT-based systems (Win2000? XP?) have newer DirectX
support.

Yes, nt5 and nt5.5 (win2k and xp respectivly) do not have the dx3 restriction,
and can use any dx that will come out (9, 10, 11, you get the idea)

That’s for 2D graphics, though. I’m not sure what to tell you about the
OpenGL part, since I haven’t tried it on NT 4.0 myself. It shouldn’t be
dependent on DirectX, however.

And no, opengl isnt dependent on directx. ogl2 if/when it comes out will work
fine on nt4, for example.

It’s possible that the libraries are miscompiled; could you see if the
precompiled libraries work with OpenGL on your system? We can home in the
problem more easily then.

iirc, the win32 opengl sdk does have to be installed, and apps need to be
linked with -lopengl32 instead of -lGL (or something like that) for opengl
apps/libs compiled on that box to work properly.On 30-Dec-2001, Ryan C. Gordon wrote:

–ryan.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Patrick “Diablo-D3” McFarland || unknown at panax.com

I’m using one of the test programs that came with SDL, so I don’t think it’s
a code error. I guess the libraries could be miscompiled, but this is a
work machine, so I can’t test it till I go back. I followed the directions
explicitly. But one thing I didn’t know is if SDL should be installed on
the machine. And how to do this.
“Ryan C. Gordon” wrote in message
news:mailman.1009749725.5191.sdl at libsdl.org

In the Visual C install instructions, it says it needs at least Direct X
5

to install. NT, however, only supports DX 3. Also, I compiled the lib
files, and the dll. I put it in the opengl test directory. It compiles
fine, but when I run it, it puts a stdout.txt file in the directory
saying

I don’t have OpenGL support. Eventhough, I have been writing OpenGL
apps> > on the machine for a while using the regular windows interface.

On NT 4.0, SDL will only use the “windib” video driver, which is slower
than the “directx” driver, but it DOES work.

I have heard that later NT-based systems (Win2000? XP?) have newer DirectX
support.

That’s for 2D graphics, though. I’m not sure what to tell you about the
OpenGL part, since I haven’t tried it on NT 4.0 myself. It shouldn’t be
dependent on DirectX, however.

It’s possible that the libraries are miscompiled; could you see if the
precompiled libraries work with OpenGL on your system? We can home in the
problem more easily then.

–ryan.

you need -DHAVE_OPENGL as compiler instuction! the sdl-config would do it
for you but on windows the?sdl_config doesnt go! or put #define HAVE_OPENGL
in the testgl.c!> ----- Original Message -----

From: subnet_rx@hotmail.com (subnet_rx)
Newsgroups: loki.open-source.sdl
To:
Sent: Monday, December 31, 2001 8:17 AM
Subject: Re: [SDL] SDL for NT?

I’m using one of the test programs that came with SDL, so I don’t think
it’s
a code error. I guess the libraries could be miscompiled, but this is a
work machine, so I can’t test it till I go back. I followed the
directions
explicitly. But one thing I didn’t know is if SDL should be installed on
the machine. And how to do this.
“Ryan C. Gordon” wrote in message
news:mailman.1009749725.5191.sdl at libsdl.org

In the Visual C install instructions, it says it needs at least Direct
X
5

to install. NT, however, only supports DX 3. Also, I compiled the
lib

files, and the dll. I put it in the opengl test directory. It
compiles

fine, but when I run it, it puts a stdout.txt file in the directory
saying

I don’t have OpenGL support. Eventhough, I have been writing OpenGL
apps

on the machine for a while using the regular windows interface.

On NT 4.0, SDL will only use the “windib” video driver, which is slower
than the “directx” driver, but it DOES work.

I have heard that later NT-based systems (Win2000? XP?) have newer
DirectX

support.

That’s for 2D graphics, though. I’m not sure what to tell you about the
OpenGL part, since I haven’t tried it on NT 4.0 myself. It shouldn’t be
dependent on DirectX, however.

It’s possible that the libraries are miscompiled; could you see if the
precompiled libraries work with OpenGL on your system? We can home in
the

problem more easily then.

–ryan.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl