Noob Question

I’m trying to compile GSPlus (a IIgs emulator for Haiku). I have installed SDL2 from pkgman and Cmake is not finding it, I’ve compiled it on Linux before but how can I point Cmake to where SDL2 is located?

1 Like

Did you install the development package or just SDL2? Make sure you have development packages checked in haikudepot.

1 Like

Or pkgman install libsdl2_devel (and the _devel packages for the different sdl support libraries, e.g. sdl_image_devel if needed)

1 Like

I exported the library locations in terminal and CMake was able to find what it needed, but now I have another error, will look into it some more. Thanks for everyones responses

3 Likes

Would also help to know if you are building on 32bit or 64bit Haiku.

1 Like