How can I build the project from the future branch?
Closed this issue · 6 comments
I was trying to test httpd.lol but ran into an issue and the apparent way to resolve it is to use the future branch, except I get this error when running make
:
[ 10%] Building C object CMakeFiles/lci.dir/main.c.o
/home/darkbloom/Downloads/lci/main.c:112:10: fatal error: readline/readline.h: No such file or directory
112 | #include <readline/readline.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/lci.dir/build.make:104: CMakeFiles/lci.dir/main.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6923: CMakeFiles/lci.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Enlightenment would be appreciated.
This likely means that the headers for the readline library are not installed. If you are on Linux, it should be something like this:
sudo apt-get install libreadline-dev
That was it, thank you!
Btw, sorry if this is inappropriate, but do you by any chance know of any existing interpreter for Objective LOLCODE?
I am not aware of any implementations, but the LOLCODE 1.3 spec added support for associative arrays and inheritance, which can be used to do some object-oriented programming.
You can see what is implemented in lci
by taking a look at some of the unit tests here: test/1.3-Tests/12-Arrays/13-Inheritance/2-Assignment.
Gotcha, thanks