Sign in to follow this  

tolua++ command line options

This topic is 2393 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

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
pause[/code]

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

This topic is 2393 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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