2 problems

Hi, everyone,

(1) I just download SDL 1.0, and compiled everything, it look nice.
But when I “make install”, there something confuse me. And I get the following
messages:

make[4]: Enter directory 'SDL-1.0.0/src/video/x11’
Nothing to be done for 'install-exec-am’
Nothing to be done for ‘install-data-am’

and it seems not install in my system. Is anyone can help me?

(2) If I want to use VGA h/w framebuffer as surface, is SDL can do that, or I need to modify it?

Thanks,

Jianhaur Chen

Hi, everyone,

(1) I just download SDL 1.0, and compiled everything, it look nice.
But when I “make install”, there something confuse me. And I get the following
messages:

make[4]: Enter directory 'SDL-1.0.0/src/video/x11’
Nothing to be done for 'install-exec-am’
Nothing to be done for ‘install-data-am’

The x11 libraries are included in the main SDL library, and as such are
not installed directly to the install directory. This is not a problem.

(2) If I want to use VGA h/w framebuffer as surface, is SDL can do that, or I need to modify it?

Yes. Pass SDL_HWSURFACE in the flags to SDL_SetVideoMode().
Note that this is often slower than writing to system memory and
updating the screen using SDL_UpdateRect().
Some drivers (like the x11 driver) do not have direct access to
the VGA memory, so be sure to check the flags in the surface returned
by SDL_SetVideoMode().

See ya,
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

(2) If I want to use VGA h/w framebuffer as surface, is SDL can do that, or I need to modify it?

Yes. Pass SDL_HWSURFACE in the flags to SDL_SetVideoMode().
Note that this is often slower than writing to system memory and
updating the screen using SDL_UpdateRect().
Some drivers (like the x11 driver) do not have direct access to
the VGA memory, so be sure to check the flags in the surface returned
by SDL_SetVideoMode().

Did the full-screen VGA stuff make it into this release? Or is it still
pretty unstable?

NeilOn Wed, 8 Dec 1999, Sam Lantinga wrote:

Neil McGill mailto:Neil_McGill *8^) . .
Software Developer:ISDN, Cisco Systems Ltd ~~""~""~"~"|~"~
3rd Floor, 96 Commercial Street, Edinburgh, EH6 6LX, UK ||| |||
Tel: 0131 561 3622 Fax: 0131 561 3601 Mob: 07714 226 281 .:|||||:.:|||||:.

(2) If I want to use VGA h/w framebuffer as surface, is SDL can do that, or I need to modify it?

Yes. Pass SDL_HWSURFACE in the flags to SDL_SetVideoMode().
Note that this is often slower than writing to system memory and
updating the screen using SDL_UpdateRect().
Some drivers (like the x11 driver) do not have direct access to
the VGA memory, so be sure to check the flags in the surface returned
by SDL_SetVideoMode().

Did the full-screen VGA stuff make it into this release? Or is it still
pretty unstable?

There’s experimental SVGAlib support, which works for me, but I haven’t
tested it on a wide number of distributions. You can enable it by running
configure with the “–enable-video-svga” flag, and there is framebuffer
console support, which is enabled by default, but only supports the
PS/2 and MS mouse protocols at the moment.

There is also an experimental GGI driver which can be enabled by running
configure with the “–enable-video-ggi” flag.

You can explicitly select from any of the compiled-in drivers by
setting the environment variable “SDL_VIDEODRIVER”.

Drivers and corresponding environment variable strings:

Linux:

  • X11 - “x11”
  • Framebuffer console - “fbcon”
  • GGI - “ggi” (requires running configure --enable-video-ggi)
  • SVGAlib - “svgalib” (requires running configure --enable-video-svga)

Win32

  • GDI - “windib”
  • DirectX - “directx”

BeOS:

  • BWindow - “bwindow”

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software> On Wed, 8 Dec 1999, Sam Lantinga wrote:

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec