nanobyte-dev / nanobyte_os

OS tutorial from Nanobyte YouTube channel.
The Unlicense
506 stars 75 forks source link

display library 'sdl2' not available #9

Closed Mastergamer433 closed 2 years ago

Mastergamer433 commented 2 years ago

Hi again.

I'm getting a new error, but now its with bochs. I have sdl on my system and i have tried with the official bochs package and the aur package bochs-sdl but it does not work.

I get this:

Bochs x86 Emulator 2.7
Built from SVN snapshot on August  1, 2021
Timestamp: Sun Aug  1 10:07:00 CEST 2021
00000000000i[      ] BXSHARE not set. using compile time default '/usr/share/bochs'
00000000000i[      ] reading configuration from bochs_config
00000000000p[      ] >>PANIC<< bochs_config:7: display library 'sdl2' not available
00000000000e[SIM   ] notify called, but no bxevent_callback function is registered
00000000000e[SIM   ] notify called, but no bxevent_callback function is registered
Bochs is exiting with the following message:
[      ] bochs_config:7: display library 'sdl2' not available
00000000000i[SIM   ] quit_sim called with exit code 1

and i have no clue of why it cant find sdl2.

i needed to take out all the = signs in the error message so the markdown doesn't f*ck up the message.

this is the config file:

megs: 128
romimage: file=/usr/share/bochs/BIOS-bochs-latest, address=0xfffe0000
vgaromimage: file=/usr/share/bochs/VGABIOS-lgpl-latest
floppya: 1_44=build/main_floppy.img, status=inserted
boot: floppy
mouse: enabled=0
display_library: sdl2, options="gui_debug"
Mastergamer433 commented 2 years ago

ok i dont know what i did more than changing sdl2 to sdl and in the cli thingie chose 6. but now it works.

chibicitiberiu commented 2 years ago

You can also try x or wx if you have trouble.

Mastergamer433 commented 2 years ago

Ok il try that when I get up from bed. I just woke up.