Ocaml 未创建 .o 文件
我是 ocaml 和 ubuntu 的新手,我正在尝试按照本教程编译一个非常简单的 ocaml 文件: http:// /wiki.njh.eu/OCaml_and_SDL
问题是它没有编译我有以下错误,我不明白该怎么做:
cc testsdl_1.o -o testsdl_1
cc: testsdl_1.o: Aucun fichier ou dossier de ce type
cc: no input files
make: *** [testsdl_1] Erreur 1
I'm new to ocaml and ubuntu and I'm trying to compile a very simple ocaml file following this tutorial : http://wiki.njh.eu/OCaml_and_SDL
The problem is that it's not compiling I have the following error and I don't understand what to do :
cc testsdl_1.o -o testsdl_1
cc: testsdl_1.o: Aucun fichier ou dossier de ce type
cc: no input files
make: *** [testsdl_1] Erreur 1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
编译器抱怨
testsdl_1.o
不存在,这意味着它尚未生成。因此,在您引用的行之前某处存在错误。如果您希望问题得到解决,您应该提供更多信息(如果您找到了解决方案,请提供解决方案)。The compiler complains about the fact that
testsdl_1.o
does not exist, which means that it has not been generated. So, there has been an error somewhere before the lines you are quoted. You should provide more information if you want your problem to be solved (or provide a solution if you found one).