Browse Source

Added minimal dependencies to compile SFML

For Ubuntu 19.04
master
Macoy Madson 1 year ago
parent
commit
8a9ed280d6
2 changed files with 7 additions and 3 deletions
  1. +6
    -1
      README.md
  2. +1
    -2
      tests/main.cpp

+ 6
- 1
README.md View File

@ -45,4 +45,9 @@ Base/Base2.0 are my game libraries and SFML abstraction layers. I've built it wi
Questions? Email me: macoymadson@gmail.com
[Check out my website.](http://au79games.wordpress.com/)
[Check out my website.](http://macoy.me/)
Compiling SFML from Source
-------
For Ubuntu:
sudo apt install libopenal-dev libvorbis-dev libflac-dev libglew

+ 1
- 2
tests/main.cpp View File

@ -55,8 +55,7 @@ int main2()
sf::Font font;
sf::Text str;
if (!font.loadFromFile("/home/macoy/Development/code/repositories/spargus-vehicle-prototype/"
"data/fonts/UbuntuMono-R.ttf"))
if (!font.loadFromFile("../../data/fonts/UbuntuMono-R.ttf"))
return false;
else
{


Loading…
Cancel
Save