Skip to main content



      Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » lua51.dll not recognized(Linker Error when building Forte with LuaJIT)
lua51.dll not recognized [message #1848731] Wed, 15 December 2021 04:42 Go to next message
Eclipse UserFriend
Hi,

I am trying to build forte for the dynamic type loader.

I am compiling in Windows using MinGW and using the cross-compiling Toolchain to compile for a Linux system.

I followed the steps here: https://luajit.org/install.html to build Luajit which completes successfully .

Then I am following the steps here: https://www.eclipse.org/4diac/en_help.php?helppage=html/4diacIDE/dynamicTypeLoader.html
to configure forte in CMake. (see screenshot)
index.php/fa/41454/0/

When buidling forte in the Powershell i get an Error at the end saying:
lua51.dll: file not recognized: file format not recognized

Compiler Output attached.

Any help is appreciated.
Re: lua51.dll not recognized [message #1848747 is a reply to message #1848731] Wed, 15 December 2021 16:45 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

not sure if I read correctly but if you are compiling on windows for linux you must link the .so lua lib and not the dll. The dll is only for windows.

BR,
Alois
Re: lua51.dll not recognized [message #1848758 is a reply to message #1848747] Thu, 16 December 2021 02:11 Go to previous message
Eclipse UserFriend
Alright. That makes sense obviously.

Thanks!
Previous Topic:Error C2466 when compiling
Next Topic:Location of Linux 4diac IDE update repository
Goto Forum:
  


Current Time: Thu Jun 19 16:07:11 EDT 2025

Powered by FUDForum. Page generated in 0.23965 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top