orangeduck / BuildYourOwnLisp

Learn C and build your own programming language in under 1000 lines of code!
http://www.buildyourownlisp.com/
Other
2.9k stars 394 forks source link

editline example requires -ledit flag on Mavericks #67

Closed benmoss closed 10 years ago

benmoss commented 10 years ago

Not sure if this is just a Mavericks issue or what, but I had to both remove #include <editline/history.h> and add -ledit to my compile arguments. Not even really what what this does, just found it on this StackOverflow :).

orangeduck commented 10 years ago

Hey Ben,

This is actually mentioned in the text but it wouldn't hurt to make it clearer as lots of people have come across this issue.

Thanks,

Dan

benmoss commented 10 years ago

Argh, I apologize for my bad reading skills. Not sure how it could be much clearer, except maybe if you didn't go through the "now you'll get another error" phase. I think I thought once I resolved the Command Line Tools / remove editline/history.h part that it was supposed to be working.