Bring in a simple SDL2 demo for completeness. It's running in a main.cpp to test SDL2 in C++.
This commit is contained in:
parent
dfbae6043b
commit
b4ff44788a
6 changed files with 57 additions and 3 deletions
|
@ -18,7 +18,7 @@ To get this working the rough (ROUGH) steps are:
|
|||
2. Run setup.ps1
|
||||
3. `meson compile -C builddir`
|
||||
4. `meson install -C builddir` -- Careful with this, it might install stuff in unwanted areas. On my computer it put them in `C:\` but I have to read the instructions on how to set the install location.
|
||||
5. `./builddir/sfmlprog` -- That should run it and you see a window with ImGUI's demo panel.
|
||||
5. `./builddir/sfmldemo` -- That should run it and you see a window with ImGUI's demo panel.
|
||||
|
||||
I'll have more extensive instructions in a later blog post, but if you have time try this out and let me know how it went at help@learncodethehardway.com. Please let me know if you tried a different compiler, Windows version, etc. If you're on OSX or Linux it should work the same but Linux people might want to use their package manager instead.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue