简体   繁体   中英

“specified procedure could not be found” with Lua5.1 LuaSockets Win 64bit C++

I'm trying to make ZBS work in Windows, with both Lua 5.1 and luasockets compiled as 64bit C++ sources. I'm getting the following error:

error loading module 'socket.core' from file 'socket\\core.dll': The specified procedure could not be found.

Any thoughts or hint on that?

Thanks in advance,

It's likely that you are loading 32bit luasocket libraries. To make it work, modify package.cpath in your script/application to reference the location for 64bit luasocket libraries first and have that modification before require('mobdebug').start() call. See this ticket for a recent discussion and details .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM