Unknown reference when trying to access the wrapper DLL
Schala Zeal <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I've been having some troubles with Luabind on MinGW, trying to make
a test to see if it would work or not. Everything compiles okay... Well,
that is... it compiles, at least. Though when I try to use it in Lua 5.1,
the following occurs (this happens with provided examples as well)
> package.loadlib("hello_world.dll", "init") -- for the record, "init")()
results in a "nil value" error
> greet()
stdin: attempt to call global 'greet' (a nil value)
... etc
This is the hello world example provided with Luabind 0.9 RC1. greet() is
defined to be in Lua's global namespace, so, I don't know what the heck
Lua's interpreter wants. An inputted script produces the same result. Please
help. Thank you.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user