News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Using LUA in C++

Started by Blakebarnes00, June 27, 2014, 12:47:23 PM

Previous topic - Next topic

Blakebarnes00

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?

stahta01

Quote from: 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?

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.next.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=FAQ

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Blakebarnes00

You must not know that much about Lua scripting then...

dmoore

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".
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]