-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Hi @ehrenbrav ,
I've attempted to make the DeepQNetwork package in both UBuntu 17.04 and Debian 9.0 and stuck during install_dependencies.sh script with the following errors:
Warning: variable CFLAGS was not passed in build_variables gcc -o gd.lo -cgdlib-config --features |sed -e "s/GD_/-DGD_/g"-O3 -Wall -fPIC -fomit-frame-pointergdlib-config --cflags pkg-config lua5.1 --cflags` -DVERSION="2.0.33r3" luagd.c
/bin/sh: 1: gdlib-config: not found
/bin/sh: 1: gdlib-config: not found
luagd.c:2171:33: error: ‘LgdImageCreateFromPng’ undeclared here (not in a function)
{ "createFromPng", LgdImageCreateFromPng },
^~~~~~~~~~~~~~~~~~~~~
luagd.c:2172:33: error: ‘LgdImageCreateFromPngPtr’ undeclared here (not in a function)
{ "createFromPngStr", LgdImageCreateFromPngPtr },
^~~~~~~~~~~~~~~~~~~~~~~~
Makefile:104: recipe for target 'gd.lo' failed
make: *** [gd.lo] Error 1
Error: Build error: Failed building.
Error. Exiting.
`
For Debian, I've checked where gdlib-config should be no longer available in the latest libgd-dev package, hence I've replaced it with pkg-config. I've managed to get rid of the gdlib-config error but still stuck at the subsequent error where LgdImageCreateFromPng and LgdImageCreateFromPngPtr are missing.
Do you have any idea what else I should have done?