为了在 Windows 上运行我的第一个 NIF 项目,我遵循了以下步骤:
下载 Hellonif -master:https ://github.com/vmx/hellonif
打开命令提示符(cmd):
2.1 cd C:\Users\Desktop\hellonif-master =>项目路径
2.2 SET PATH=C:\Program Files\C:\Program Files\erl6.4\bin => escript 路径
将此行添加到 rebar.config: {port_env, [{"CC", "/C:/Program Files (x86)/CodeBlocks/MinGWp/bin/mingw32-gcc"}]}。
打开命令提示符(cmd)
4.1 钢筋编译
不幸的是我有这个错误:
hellonif-master (compile)
compiling C:\Users\Desktop\hellonif-master\c_src\hello.c
La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte.
你能帮我解决这个问题吗 提前谢谢