Jump to content
  • Advertisement
Sign in to follow this  
JoshKlint_34394

tolua++ command line options

This topic is 2582 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

Advertisement

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:
tolua++.exe -o lua-gluecode.cpp luacommands.pkg
pause


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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!