Page 1 of 1
Using LuaJIT with PureBasic...
Posted: Tue Feb 05, 2013 12:19 pm
by DoubleDutch
I've created a zip file containing what you need to add LuaJIT 2.0 to your PureBasic programs. It is based on this one:
http://www.realsource.de/downloads/doc_ ... pb-include
Here it is:
http://sinistersoft.com/downloads/luajit.zip
LuaJIT is a JIT version of the Lua Interpreter, it can run much faster for normal Lua as it dynamically compiles as it goes.
http://luajit.org/
http://luajit.org/performance_x86.html
If you have any experience with Lua and want to add some examples or improve on the include file then please add them to this thread.
Re: Using LuaJIT with PureBasic...
Posted: Thu Feb 07, 2013 6:52 pm
by SFSxOI
Where were you when I needed this a few months ago?
Very useful, thank you DoubleDutch.

Re: Using LuaJIT with PureBasic...
Posted: Thu Feb 07, 2013 9:02 pm
by DoubleDutch
No problem, glad you like it.

Re: Using LuaJIT with PureBasic...
Posted: Thu Feb 07, 2013 9:21 pm
by ts-soft
@DoubleDutch
Can you please change the url in your first post.
http://www.realsource.de/downloads/doc_ ... pb-include
this one is more usefull
Greetings - Thomas
Re: Using LuaJIT with PureBasic...
Posted: Thu Feb 07, 2013 9:43 pm
by DoubleDutch
Done.

Re: Using LuaJIT with PureBasic...
Posted: Fri Feb 08, 2013 6:30 am
by flaith
Seems it needs at least Windows Vista
Under XP I've got : "The procedure entry point FlsGetValue could not be located in the dynamic link library KERNEL32.dll."

Re: Using LuaJIT with PureBasic...
Posted: Fri Feb 08, 2013 9:07 am
by DoubleDutch
Thanks, I'll recompile it with vs2003 later today. That should sort it.
Edit: Done it now, can you re-download and test?
Re: Using LuaJIT with PureBasic...
Posted: Fri Feb 08, 2013 11:59 am
by flaith

Great, it works now, just had to install msvcr71.dll
Thanks a lot DoubleDutch

Re: Using LuaJIT with PureBasic...
Posted: Fri Feb 08, 2013 1:00 pm
by DoubleDutch
So did the new version not work without msvcr71.dll ?
Re: Using LuaJIT with PureBasic...
Posted: Fri Feb 15, 2013 3:50 am
by flaith
Sorry for the late reply, it's Tết here (Vietnam)
Yes, I had to install it, seems it's the redistributable package visual c++ 2010 that need to be installed
Happy new year (Chuc Mung Nam Moi)
