我已经使用opam(在Ubuntu 16.04上)安装了frama-c。 我尝试使用一个Makefile在ubuntu上安装hello_world插件时出现错误16.04
FRAMAC_SHARE :=$(shell frama-c.byte -print-path)
FRAMAC_LIBDIR :=$(shell frama-c.byte -print-libpath)
PLUGIN_NAME = Hello
PLUGIN_CMO = hello_word
include $(FRAMAC_SHARE)/Makefile.dynamic
运行make安装“hello_world.ml”作为插件(插件开发指南),我得到这个:
/home/amira/.opam/system/share/frama-c/Makefile.dynamic:295: .depend: Aucun fichier ou dossier de ce type
/home/amira/.opam/system/share/frama-c/Makefile.plugin:204: *** "The file 'Hello.mli' must be provided. The simplest workaround is 'touch Hello.mli'.". Arrêt.
我怎样才能解决这个错误?
你尝试第二个警告的指示('摸Hello.mli')? – byako
'Hello.mli'没有被创建。但运行'make'后,我得到这个 'Ocamldep ./.depend 生成META.frama -c -hello make:*** Aucunerèglepour fabriquer la cible«hello_word.cmo»,nécessairepour«Hello.cmi» 。 Arrêt.' – Amiramet