Jump to content

[Linux,Lua] Linux version doesn't allow loading dynamic libraries


Guppy
 Share

Recommended Posts

as per:

http://www.leadwerks.com/werkspace/topic/10573-lua-dynamic-libraries-not-enabled/

 

(I've request the topic moved or merged with this but I've no idea how to do that )

 

Seems

 

LUA_USE_LINUX and/or LUA_USE_DLOPEN needs to be defined to enable dynamic library loading.

 

I've provided a simple library to test with in the original thread.

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Link to comment
Share on other sites

  • 2 weeks later...

I'm adding it now. You will need to add LUA_USE_LINUX to your project as well.

 

It seems strange they would require this when they could have just detected it themselves.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...