robhagemans / pcbasic

PC-BASIC - A free, cross-platform emulator for the GW-BASIC family of interpreters
http://www.pc-basic.org
Other
397 stars 48 forks source link

error at the launch of PCBASIC #140

Closed ludo77 closed 3 years ago

ludo77 commented 3 years ago

Hello,

when I run PCBASIC 2.0.3 in command line under linux, I get an error: WARNING: Smooth scaling not available: sdlgfx extension not found. I don't know if this is a bug. Thanks for the answer.

robhagemans commented 3 years ago

Hi, that warning just indicates the sdl2_gfx library was not found (https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/). It's not a problem, it just means you won't be able to use the scaling=smooth setting.

Not sure which Linux distribution you use or how you installed PC-BASIC, but probably best to try and install that library through your package manager, if available, or download the source tarball from the site linked above and compile.

robhagemans commented 3 years ago

By the way, to remove the warning on the command line, it should not show if you choose a different scaling setting, e.g. pcbasic --scaling=crisp

ludo77 commented 3 years ago

Problem solved: I had not installed the SDL2 library. Thanks