lua-users home
lua-l archive

Re: Lua and libusb on Raspberry Pi

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2014年08月20日 13:26 GMT+02:00 Rena <hyperhacker@gmail.com>:
> On 2014年08月20日 7:05 AM, "Robert Brown" <rebrown@exemail.com.au> wrote:
>> > require('libusb')
>> error loading module 'libusb' from file './libusb.so':
>> ./libusb.so: undefined symbol: luaopen_libusb
> The problem is Lua can't load libusb.so directly. Like the message says, it
> can't find the luaopen_libusb function in that module. You need a library
> which binds libusb to Lua.
LuaJIT can – but I doubt whether it has been ported to your
platform yet.

AltStyle によって変換されたページ (->オリジナル) /