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.
Using LuaJIT with PureBasic...
- DoubleDutch
- Addict

- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Using LuaJIT with PureBasic...
Last edited by DoubleDutch on Thu Feb 07, 2013 9:43 pm, edited 1 time in total.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Re: Using LuaJIT with PureBasic...
Where were you when I needed this a few months ago? 
Very useful, thank you DoubleDutch.
Very useful, thank you DoubleDutch.
Last edited by SFSxOI on Thu Feb 07, 2013 9:18 pm, edited 1 time in total.
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
- DoubleDutch
- Addict

- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: Using LuaJIT with PureBasic...
No problem, glad you like it. 
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Re: Using LuaJIT with PureBasic...
@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
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
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

- DoubleDutch
- Addict

- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: Using LuaJIT with PureBasic...
Done. 
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
- flaith
- Enthusiast

- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
Re: Using LuaJIT with PureBasic...
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."
Under XP I've got : "The procedure entry point FlsGetValue could not be located in the dynamic link library KERNEL32.dll."
“Fear is a reaction. Courage is a decision.” - WC
- DoubleDutch
- Addict

- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: Using LuaJIT with PureBasic...
Thanks, I'll recompile it with vs2003 later today. That should sort it.
Edit: Done it now, can you re-download and test?
Edit: Done it now, can you re-download and test?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
- flaith
- Enthusiast

- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
Re: Using LuaJIT with PureBasic...
Thanks a lot DoubleDutch
“Fear is a reaction. Courage is a decision.” - WC
- DoubleDutch
- Addict

- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: Using LuaJIT with PureBasic...
So did the new version not work without msvcr71.dll ?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
- flaith
- Enthusiast

- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
Re: Using LuaJIT with PureBasic...
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)
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)
“Fear is a reaction. Courage is a decision.” - WC
