Sign in to follow this  

tolua++ command line options

Recommended Posts

[quote name='Josh Klint' timestamp='1306213164' post='4814880']
Nevermind, I got it.

Its a good idea to leave your post as it was and then post the solution you found, that way others who run into the same problem will find the answer by searching this forum (or google since google has a tendency to very frequently put gamedev posts high up on its search results)

Share this post

Link to post
Share on other sites
Here's my .bat file:
[code]tolua++.exe -o lua-gluecode.cpp luacommands.pkg

The cleaned header file HAS to use the .pkg extension. No idea why, but it doesn't output any contents from the header if you use an .h file. Also, you have to declare and call the initialization function that gets written in the outputted .cpp file, after calling tolua_initialize(), or whatever that command is called.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this