Thanks so much everyone as this is truly a learning experience for me and I have learned something very important here.
Ok, I will get it all straightened out and go forward. Maybe part of the problem is that I have been bouncing around between OpenIndian, Tribblix, and OmniOS and really should just settle on one to build what I need. Thanks again, Lonnie On Mon, Aug 3, 2020 at 3:00 PM Andreas Wacknitz <[email protected]> wrote: > Am 03.08.20 um 20:27 schrieb Lonnie Cumberland: > > Hi All, > > > > I am trying to compile some code under Openindian and have been working > on > > fixing most of the header locations since the code comes from Linux but > is > > supposed to be highly portable. > > > > Right now, I am running into a: > > > > fatal error: 'SDL2/SDL.h' file not found > > > > but have installed just about all of the SDL & SDL2 packages using > "pkgin" > > but did not seem to locate a library. > > > > Does anyone know what might be missing here? > > Thanks > > Lonnie > > _______________________________________________ > > openindiana-discuss mailing list > > [email protected] > > https://openindiana.org/mailman/listinfo/openindiana-discuss > Hi Lonnie, > > we have a build system for creating packages for OpenIndiana Hipster > located at https://github.com/OpenIndiana/oi-userland > You can clone it and start creating your own packages (eg. importing > them from other OS's). It takes a while to get comfortable with it, > but it is worth the efforts. > Anyway, I don't understand why you haven't installed OI's sdl2 package: > ╰─➤ pkg list -a| grep -i sdl2 > library/audio/sdl2-mixer (hipster-encumbered) 2.0.1-2020.0.1.0 > i-- > library/sdl2 2.0.7-2020.0.1.1 i-- > > Of course you can mix IPS packages with pkgsrc packages, but I recommend > to only do that if OI doesn't provide it and you are not able or willing > to create an OI package for it. > OI packages typically install its files to system locations (eg. > /usr/bin, /usr/include, /etc), while pkgsrc has a different root (like > SFE has, too) for all its provided files. > Usually you'll need extra flags for building (compiling, linking, ...) > apps that use pkgsrc's or SFE's packages in order to find include files, > libraries and other support files. > > Regards, > Andreas > > > _______________________________________________ > openindiana-discuss mailing list > [email protected] > https://openindiana.org/mailman/listinfo/openindiana-discuss > _______________________________________________ openindiana-discuss mailing list [email protected] https://openindiana.org/mailman/listinfo/openindiana-discuss
