***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目录下
时间: 2024-10-22 20:53:23