有人在 Mavericks 上安装了 Frama-C 吗?因为不能安装或者不知道怎么安装(Gui版)!
我已经在我的电脑上安装了 ocaml,但是对于 Gui 版本,我需要安装这些库:Gtk、GtkSourceView、GnomeCanvas 和 Lablgtk2。
所以我看到了以前的帖子并做到了:
export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
sudo port install opam
opam init
Y
eval `opam config env`
sudo port install gtksourceview2 lablgtk2 ocaml-ocamlgraph
opam install frama-c
我在使用 frama-c 制作“make”时遇到问题,即:
Ocamlc src/logic/property_status.cmo
File "src/logic/property_status.ml", line 1444, characters 4-2027:
Error: Signature mismatch:
...
Values do not match:
val vertex_attributes :
v ->
[> `Color of int
| `Label of string
| `Shape of [> `Box | `Diamond ]
| `Style of [> `Bold | `Filled ] list
| `Width of float ]
list
is not included in
val vertex_attributes :
V.t -> Graph.Graphviz.DotAttributes.vertex list
File "src/logic/property_status.ml", line 1479, characters 16-33:
Actual declaration
make: *** [src/logic/property_status.cmo] Error 2
我怎么能解决这个问题?