ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
Installing ObjectivelyMVC

Dependencies, building, and linking against ObjectivelyMVC.

Releases

Tagged releases are published on the GitHub releases page. To build the latest from source, follow the steps below.

Dependencies

SDL3_image and SDL3_ttf MUST link the same libSDL3 as ObjectivelyGPU, or the process loads two copies of SDL3. If ObjectivelyGPU uses the jdolan/SDL fork, Homebrew's sdl3_image and sdl3_ttf do not qualify, because they link Homebrew's sdl3. See Installing ObjectivelyGPU.

The Xcode workspace builds SDL3.framework from the sibling checkout ../SDL, the same checkout that ObjectivelyGPU's workspace uses.

Building

autoreconf -i
./configure
make && sudo make install

Linking

Compile and link against ObjectivelyMVC with pkg-config:

gcc `pkg-config --cflags --libs ObjectivelyMVC` -o myprogram *.c