Hello Guest it is July 18, 2025, 05:22:01 AM

Author Topic: Zero Brane wont run  (Read 10394 times)

0 Members and 1 Guest are viewing this topic.

Offline Calum

*
  •  45 45
Zero Brane wont run
« on: May 10, 2021, 11:01:08 PM »
When I try to debug a Lua script I get the following message-

Program starting as '"C:\Mach4Hobby\ZeroBraneStudio\bin\lua53.exe" -e "io.stdout:setvbuf('no')" "C:\Users\ADMINI~1\AppData\Local\Temp\.8AE.tmp"'.
Program 'lua53.exe' started in 'C:\Mach4Hobby\ZeroBraneStudio\myprograms' (pid: 2528).
C:\Mach4Hobby\ZeroBraneStudio\bin\lua53.exe: error loading module 'machipc' from file 'C:\Mach4Hobby\Modules/machipc.dll':
   The specified module could not be found.


stack traceback:
   [C]: in ?
   [C]: in function 'require'
   C:\Users\ADMINI~1\AppData\Local\Temp\.8AE.tmp:1: in main chunk
   [C]: in ?
Program completed in 0.06 seconds (pid: 2528).

I've tried reloading Mach4 and Zero Brane but still get same error! Does anyone have and idea what could be wrong?

Calum

Offline smurph

*
  • *
  •  1,574 1,574
  • "That there... that's an RV."
Re: Zero Brane wont run
« Reply #1 on: May 12, 2021, 07:15:00 PM »
What build are you running?  Did you upgrade from an earlier build?  It may be a LUA version mismatch.  It is finding the module DLL, but the DLL is failing to load.  Which usually means some dependency isn't satisfied.  And the only dependency machipc.dll has is Mach itself and LUA. 

Steve
Re: Zero Brane wont run
« Reply #2 on: July 14, 2024, 04:51:04 PM »
In case anyone is still having the same problem - make sure that the Lua interpreter in the ZeroBrane editor is correctly set!

Under the project menu in the editor - find "Lua interpreter" and ensure your appropriate interpreter is selected - for me and the latest mach4 version it should be Lua 5.3