I am trying to load an external .so via require but love 0.8.0 says it cannot find (Actually the lua within it) the .so although it has looked on the correct places and the file is in the same folder as the main.lua
I am trying to make wiiuseL (a wrapper that my students made in 2010 for the wiiuse lib, so that we can use the wiimote) to work again. Back in 2010 we have used love 0.5 and 0.6 and it worked fine, after that I got a little out of love and now I am using it as a reference for the Human-Computer Interaction course that I teach at a University here in Rio de Janeiro.
thanks in advance!
Loading External Native Library (dll or .so)
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Loading External Native Library (dll or .so)
ummm i remember having the remove the file type from require when they updated to .8, try removing the dll or so
Re: Loading External Native Library (dll or .so)
I haven't even include it. The require reads like this :
wiiuseL = require("wrapperL")
inside the load function.
any thoughts?
wiiuseL = require("wrapperL")
inside the load function.
any thoughts?
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Loading External Native Library (dll or .so)
You can't load from the same directory the main.lua is in.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Loading External Native Library (dll or .so)
What is the option, then? Putting the dlls/so in a subdirectory?bartbes wrote:You can't load from the same directory the main.lua is in.
When I write def I mean function.
- Roland_Yonaba
- Inner party member
- Posts: 1563
- Joined: Tue Jun 21, 2011 6:08 pm
- Location: Ouagadougou (Burkina Faso)
- Contact:
Re: Loading External Native Library (dll or .so)
Even that wouldn't work, I tried.kikito wrote:What is the option, then? Putting the dlls/so in a subdirectory?
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 6 guests