ref: b8bf062c8fdd4f4aff0017b7d9de27fdc0909e3f
parent: fb154f5a6e43a86801fd16f392633c854d099ac4
author: SkyrisBactera <davis.davalos.delosh@gmail.com>
date: Tue Jun 13 10:50:28 EDT 2017
Missing a dependency
Without libpng-dev, sudo make install causes:
In file included from src/gfx/gb.c:20:0:
include/gfx/main.h:20:17: fatal error: png.h: No such file or directory
#include <png.h>
^
compilation terminated.
Makefile:90: recipe for target 'src/gfx/gb.o' failed
make: *** [src/gfx/gb.o] Error 1
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -7,7 +7,7 @@
# Linux
```bash
-sudo apt-get install make gcc bison git
+sudo apt-get install make gcc bison git libpng-dev
git clone https://github.com/rednex/rgbds
cd rgbds
--
⑨