Linking to lua libraries w/ codeblocks on linux

Posted by person on Super User See other posts from Super User or by person
Published on 2010-06-18T18:08:31Z Indexed on 2010/12/29 9:55 UTC
Read the original article Hit count: 342

Filed under:
|
|
|
|

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.

© Super User or respective owner

Related posts about linux

Related posts about ubuntu-10.04