在 Windows 中开始使用 LISP 的 ZeroMQ

Gettin ZeroMQ working with LISP in Windows

有人 ZeroMQ 在 Windows 中使用过 LISP 吗?

我正在使用 LispBox 0.7

我已经安装了ZeroMQ

  1. (ql:quickload "zeromq")
Unable to load foreign library (ZEROMQ).
Error opening shared library libzmq.dll: The specified module could not be found.
     [Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]
  1. 添加 libzmq-v120-mt-gd-4_0_4.dll dll到lispbox文件夹,
    编辑它的名字到libzmq.dll
    再次调用(ql:quickload "zeromq")
Unable to load foreign library (ZEROMQ).
Error opening shared library libzmq.dll: %1 is not a valid Win32 application.
      [Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]

知道如何启动它吗运行?

您需要确保您的dll所在的目录出现在您的PATH环境变量中。您可以在系统控制面板中设置 PATH 变量。您可能应该在设置后重新启动,以便您的 lisp 接受更改。

终于找到答案了。

我用错了库。切换到 64 位版本解决了这个问题。