C lua.hpp

Embedding Lua. is a package to download for Lua development files. Or should I download a .tar from Lua's site and use that? They're both 5.3.5. What's the proper BSD way?
 
I tend to grab the .tar.gz and extract just the headers and c files (minus luac.c (the Lua bytecode compiler)) and include that as part of my projects source.

The proper BSD way is probably to install Lua as a package and you should find the headers in /usr/local/include and the lib in /usr/local/lib. Just add these to your path and linker flags.
 
Thank you very much. I was looking in /usr/include, and assumed it wasn't on my computer. I'll start the BSD way, but I can see merits to yours. Might give it a try later.
 
Back
Top