Closed sjpritchard closed 7 years ago
FIXED: I didn't have the Windows libzmq.dll file in my search path!! Duh!
Just litle suggestion. Do not messup with runtime versions. You use libzmq.dll with static linked runtime from MSVC 2012. But build lzmq.dll with dinamic linked runtime. It can produce some problems. (but may be and it will works) I faced problem when compile zmq with MSVC 2008 and lzmq with MSVC 2010. This 2 compilers produse different values for error codes. So it will no possible to know what error is generated.
Thanks for the advice moteus! :)
When trying to load lzmq in lua, I receive the following error:
I am running Lua 5.1.5 x64 on Windows 10. (I need this specific version as I'm modding a game that uses it). I have installed lzmq via luarocks into a custom tree folder, and have specified the correct path and cpath in my interpreter. I am using the following Windows ZMQ library: http://miru.hk/archive/ZeroMQ-4.0.4~miru1.0-x64.exe. I had to rename libzmq-v120-mt-4_0_4.lib to libzmq.lib so that luarocks could find it during the install and compilation.
It successfully compiles (with some warnings) using the x64 Native Tools Command Prompt for VS 2017:
My failing test is below. It can definitely find the dll file because it throws a different error if I rename the dll file.