Frequently Asked Questions - BeOS

Last updated: Mon Jun 5

Table Of Contents

 


Q: Does it work?

A: Yes. SDL is fully supported using gcc on BeOS Intel, version 4.5 and 5.0
Metrowerks on BeOS PPC may work, but I cannot test that configuration.


Q: Why doesn't configure find SDL?

A: If configure can't find SDL with the following message:

checking for SDL - version >= 1.0.0... no
*** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL.
The SDL library is installed, but the test program that configure generates to detect SDL doesn't run. See the next question.


Q: Why doesn't my program run?

A: The default path for system libraries on BeOS doesn't include the GNU library directory. You can either copy libSDL.so from /boot/develop/tools/gnupro/lib/libSDL.so to /boot/home/config/lib/, or you can apply the following patch to your system boot environment and reboot:

(cd /; patch -p1 </boot/home/beos-sdl.diff)
Here is the patch: beos-sdl.diff