日落一(原)热门降价编辑器包括一个例子目录,我想用它玩在命令行上,但我有困难。
我浏览到examples
,我跑gcc sundown.c -o sundown
并抱怨说我没有markdown.h
。 所以我转储的内容src
目录和html
目录到实例类,并运行它。
然后我得到:
Undefined symbols for architecture x86_64:
"_bufgrow", referenced from:
_main in sundown-3bac08.o
"_bufnew", referenced from:
_main in sundown-3bac08.o
"_bufrelease", referenced from:
_main in sundown-3bac08.o
"_sd_markdown_free", referenced from:
_main in sundown-3bac08.o
"_sd_markdown_new", referenced from:
_main in sundown-3bac08.o
"_sd_markdown_render", referenced from:
_main in sundown-3bac08.o
"_sdhtml_renderer", referenced from:
_main in sundown-3bac08.o
我究竟做错了什么? 我觉得这应该是比较简单的,我只是在无计可施试图找出我做错了什么。