Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Blakebarnes00 on June 27, 2014, 12:47:23 pm

Title: Using LUA in C++
Post by: Blakebarnes00 on June 27, 2014, 12:47:23 pm
Ok, Im trying to embed LUA into C++. Im using Code::Blocks and the GNU GCC Compiler. How would I be able to use LUA to script my programs like other people do? or can you only do that in Visual Studio?
Title: Re: Using LUA in C++
Post by: stahta01 on June 27, 2014, 01:25:46 pm
Ok, Im trying to embed LUA into C++. Im using Code::Blocks and the GNU GCC Compiler. How would I be able to use LUA to script my programs like other people do? or can you only do that in Visual Studio?

I have no idea what you are asking; please make sure your question is on topic for this Forum by reading the CB Posting Rules.
http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html)

I would guess the CB pre/post build steps might be related to your question; but, since your question makes no sense to me I could be way off.

Maybe one of these links will give info to you.
http://wiki.codeblocks.org/index.php?title=User_documentation (http://wiki.codeblocks.org/index.php?title=User_documentation)
http://wiki.codeblocks.org/index.php?title=FAQ (http://wiki.codeblocks.org/index.php?title=FAQ)

Tim S.
Title: Re: Using LUA in C++
Post by: Blakebarnes00 on June 27, 2014, 02:18:28 pm
You must not know that much about Lua scripting then...
Title: Re: Using LUA in C++
Post by: dmoore on June 27, 2014, 04:48:29 pm
There isn't a Lua wizard if that's what you are asking, but its pretty simple to set up Code::Blocks to work with any 3rd party library compatiable with your compiler, including the Lua libs (which is usually GCC). Google "embedding Lua".