ChrisMAN Posted January 5, 2013 Share Posted January 5, 2013 Leadwerks uses LuaJit. LuaJit ships with ffi. Require ffi doesn't work. I am lost. Quote Link to comment Share on other sites More sharing options...
Road Kill Kenny Posted January 5, 2013 Share Posted January 5, 2013 Although it is highly unlikely that this will help you I refer you to my solution on this page http://www.leadwerks...ire/#entry50106 1 Quote STS - Scarlet Thread Studios AKA: Engineer Ken Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now! Link to comment Share on other sites More sharing options...
ChrisMAN Posted January 5, 2013 Author Share Posted January 5, 2013 I am hearing you Ken. If i can't get at some of the native powers of lua I will have to rewrite my entire game in c/c++. I have 7000 lines of non trivial dynamic code. It will have a hard time porting and getting the same result. My wife grounded me from c++ last time i tried since the house was not pleasant. If I have to buy and read a book on gcc... Quote Link to comment Share on other sites More sharing options...
Josh Posted January 5, 2013 Share Posted January 5, 2013 I wouldn't count on this ever working since I have never heard of it. I've had good results exposing C++ classes to Lua using ToLua++ . Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
ChrisMAN Posted January 5, 2013 Author Share Posted January 5, 2013 What is the exact version of lua used in leadwerks? I assume with msvc? Quote Link to comment Share on other sites More sharing options...
Josh Posted January 5, 2013 Share Posted January 5, 2013 Lua 5.1.4 and LuaJIT 1.1.6. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
ChrisMAN Posted January 5, 2013 Author Share Posted January 5, 2013 Thanks Josh. Now to test the steel of my marriage. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.