1
Mach4 General Discussion / Re: LUA call functions in dynamic libraries
« on: August 05, 2020, 03:04:59 PM »
Hi Steve
If I understand that correctly, Alien can be run with Lua 5.3.
https://github.com/mascarenhas/alien
I tried to update my Lua 5.1 installation to 5.3 (lua.exe, luac.exe, wlua.exe, lua53.dll).
But when I run "require" wx "" or "require" alien "" I get the following error:
lua: error loading module 'alien.core' from file 'F: \ Program Files \ Systemtools \ Lua 5.1 \ clibs \ alien \ core.dll':
% 1 is not a valid Win32 application
I don't know why.
I don't know what to do with ZeroBraneStudio and Alien either.
Maybe paths are wrong or missing files that Alien needs, I don't know.
I only started learning Lua a few months ago.
Maybe I will find another solution to get to my external dll functions.
thanks
Robert
If I understand that correctly, Alien can be run with Lua 5.3.
https://github.com/mascarenhas/alien
I tried to update my Lua 5.1 installation to 5.3 (lua.exe, luac.exe, wlua.exe, lua53.dll).
But when I run "require" wx "" or "require" alien "" I get the following error:
lua: error loading module 'alien.core' from file 'F: \ Program Files \ Systemtools \ Lua 5.1 \ clibs \ alien \ core.dll':
% 1 is not a valid Win32 application
I don't know why.
I don't know what to do with ZeroBraneStudio and Alien either.
Maybe paths are wrong or missing files that Alien needs, I don't know.
I only started learning Lua a few months ago.
Maybe I will find another solution to get to my external dll functions.
thanks
Robert