After I downloaded the source for lua, I followed the install instructions, doing...
make linux install
make generic install
I've also done the make test
and it passes, printing out Hello World, from Lua 5.1
.
However, I can't link to the lua libraries in CodeBlocks. I know where lualib.a is (usr/local/lib) which I set in my Search Directories for the linker. I still get error messages like...
undefined reference to lua_isstring
Am I missing something critical here?
P.S. I had this running on Windows via Visual Studio.