This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MMWAVE-STUDIO: Lua Library Loading error

Part Number: MMWAVE-STUDIO

Tool/software:

Hello!

When trying to execute a lua script and using a library in order to enable xml parsing (luaexpat which itself uses the expat c library) I get the following error: error loading module 'lxp' from file '.\lxp.dll':
[14:29:16] Das Betriebssystem kann %1 nicht ausführen.

The DLLs are all located in the RunTime folder of the mmWaveStudio folder under C:\ti, all DLLS were compiled for lua5.1 and for a 32 bit system as mmWaveStudio runs in 32 bit and using lua5.1. Furthermore the script works perfectly when running in a seperate environment that also uses lua5.1 and the same libraries, again all for 32 bit. All dependencies seem to be accessible to mmWaveStudio through the system Path and environment, however, I suspect that a difference in environment may be the issue. Is there a way to see environment details and compare them to the other environment that the script runs in? Maybe someone has some other recommendations for troubleshooting steps I can take. Thank you!

  • Hello again, with the scripts placed into the clients/luamodules folder of the mmWaveStudio directory this went away. It turns out that luafilesystem (lfs.dll) which I had used before and also just placed into runTIme was already in the luamodules folder, hence my confusion