【发布时间】:2013-02-09 04:25:12
【问题描述】:
我是 erlang 和 rebar 的新手。在我的 rebar 项目中,我使用了一个包含本机 c 代码的依赖项,在 rebar compile 期间出现错误:
Name cl.exe is not recognized as an internal or external command, operable program or batch file
我猜 rebar 正在尝试使用 VisualStudio 中的 Microsoft cl.exe 编译器从我的依赖项中编译 c 文件,对吧?问题是我没有安装VS,也不想安装。
为什么 rebar 尝试使用 cl.exe?我可以配置rebar使用不同的编译器编译c文件吗?
【问题讨论】: