Author Topic: Using LUA in C++  (Read 4906 times)

Offline Blakebarnes00

  • Single posting newcomer
  • *
  • Posts: 2
    • GitHub
Using LUA in C++
« 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Using LUA in C++
« Reply #1 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

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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Blakebarnes00

  • Single posting newcomer
  • *
  • Posts: 2
    • GitHub
Re: Using LUA in C++
« Reply #2 on: June 27, 2014, 02:18:28 pm »
You must not know that much about Lua scripting then...

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Using LUA in C++
« Reply #3 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".