我正在尝试在Windows上创建一个使用ZeroMq的简单Ruby应用程序,但我在安装ruby gem'zmq'时遇到问题
那么如何在Windows上安装ZeroMq gem'zmq'。我尝试使用命令时收到错误:
gem install zmq -- --with-zmq-dir=C:/utils/ZeroMQ2.2.0 --with-zmq-lib=C:/utils/ZeroMQ2.2.0/include
我收到此错误:
c:/Ruby193/bin/ruby.exe extconf.rb --with-zmq-dir=C:/utils/ZeroMQ2.2.0 --with-zmq-lib=C:/utils/ZeroMQ2.2.0/include
checking for zmq.h... yes
checking for zmq_init() in -lzmq... no
checking for zmq_init() in -lzmq... no
extconf.rb:36:in `<main>': Couldn't find zmq library. try setting --with-zmq-dir=<path> to tell me where it is. (RuntimeError)
这是我的ZeroMq文件夹
C:\utils\ZeroMQ2.2.0>
+---bin
+---doc
+---include
+---lib
\---src