Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:42 Go to next message
Niklas Huhs is currently offline Niklas HuhsFriend
Messages: 32
Registered: October 2019
Member
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 21:45 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

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 07:11 Go to previous message
Niklas Huhs is currently offline Niklas HuhsFriend
Messages: 32
Registered: October 2019
Member
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: Fri Apr 26 23:05:32 GMT 2024

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

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

Back to the top