editline/history.h and editline/readline.h not found/working on OSX when trying to compile with developer tools installed already

后端 未结 8 1070
情深已故
情深已故 2021-02-02 07:37

I am working on this tutorial on building your own LISP (http://www.buildyourownlisp.com/chapter4_interactive_prompt) and for some reason when I try to compile I get this:

8条回答
  •  無奈伤痛
    2021-02-02 08:05

    Using OSX Yosemite. I removed #include

    and then used cc -std=c99 -Wall test.c -ledit -o test

    Works fine now

提交回复
热议问题