Jump to content
Sign in to follow this  
dhsimmonsfsx

LUA.exe file

Recommended Posts

Running LINDA 2.8.5. I am receiving an error message with the user functions editor (I have several functions which I added).  It states:

 

Lua.exe is not found!
C:\Program Files (x86)\Steam\steamapps\common\FSX\Modules\linda\lua\lua.exe
 
There is no lua folder in the linda folder. Therefore no lua.exe file. Are we expected to compile lua.exe and create this folder?
 
I have compiled programs on a mainframe years ago, but the instructions to compile lua calls for more technical experience than most of us Linda users have.
 
Can anyone explain in detail if the lua.exe is even really needed.
 
Obviously LINDA uses FSUIPC extensively and I cannot find lua.exe on my machine at all. Appears FSUIPC doesn't use lua.exe either. Am I correct here also.
 
Thanks

 

Share this post


Link to post
Share on other sites

Hi, this is my fault. You need to install LINDA v2.8.6 from the download section which reinstates the missing Lua.exe files.

 

What exactly were you doing when the fault appeared?

Edited by ScotFlieger
Corrected for accuracy and v2.8.6.

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post


Link to post
Share on other sites

I had added several functions to set LVars to the Users Functions for an aircraft I added to LINDA (Lear45H). When I opened my joystick to test, I added the functions to the joystick buttons. They didn't work.

 

During debugging, I used the LINDA Lua editor from the Edit Module in the Users Functions from the drop down. I noticed the error there at the lower right in red.

 

Lua.exe is not found!
C:\Program Files (x86)\Steam\steamapps\common\FSX\Modules\linda\lua\lua.exe

 

I compiled the lua.exe with tdm-gcc using lua 5.3.3. The compile was successful. I haven't used it yet but can assume I can.

 

Thanks

Share this post


Link to post
Share on other sites

The version of LUA.exe used by LINDA 2.8.7 is 5.1. I am not sure whether compiling to the latest version is adviseable. I have not managed to get my head around the tools for updating to this version.

 

To solve your issue you should install LINDA 2.8.6 from the download subforum.


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post


Link to post
Share on other sites

Thanks, I did just that due to the same reasons. Haven't tried to use with FSX yet and I have to recreate my User file.

 

There is a Lua command that executes an external program. I have a PFD gauge that I want to load when the aircraft loads. The command is:

 

local command = "C:\Program Files (x86)\SimScape\External Displays\Learjet\ExtPFD-Learjet.exe"

hOutput = io.popen(command)

 

​I have also an aircraft I created based on the FX Default named Lear45H. My code for manipulating LVars is in the user.lua within this aircraft folder.

 

​Please tell me where an how to execute the above popen code when my aircraft code is loaded.

Share this post


Link to post
Share on other sites

 

 


Please tell me where an how to execute the above popen code when my aircraft code is loaded.

 

I am sorry but my knowledge does not stretch that far.


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post


Link to post
Share on other sites

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...