码迷,mamicode.com
首页 > 其他好文 > 详细

ERROR: Failed to load /usr/local/ERL_LIBS_FILE/esdl/rebar.config

时间:2015-12-24 00:51:12      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:could not find sdl-config

***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

标签:could not find sdl-config

原文地址:http://8656934.blog.51cto.com/8646934/1727631

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!