***ERROR:Could not find sdl-config
ERROR: Failed to load /usr/local/ERL_LIBS_FILE/esdl/rebar.config: {error,
{228,file,
{throw,
error,
[{erl_eval,
do_apply,
5},
erl_eval,
expr,5},
erl_eval,
exprs,
5},
{erl_eval,
expr,5},
{file,
eval_stream2,
6},
{file,
script,
2},
{rebar_config,
new,2},
{rebar,
init_config,
1}]}}}
原因分析:编译完SDL2-2.0.3生成sdl2-config文件,而不是sdl-config
解决办法:将sdl2-config改为sdl-config,并做个软连接连接到/usr/local/include目录下
本文出自 “DOSOM” 博客,谢绝转载!
ERROR: Failed to load /usr/local/ERL_LIBS_FILE/esdl/rebar.config
原文地址:http://8656934.blog.51cto.com/8646934/1727631