2

我使用LispWorks7.0在装有 windows 10 的 PC 上加载zeromq,并收到如下错误消息:

    CL-USER 13 > (ql:quickload :zeromq)
To load "zeromq":
  Load 1 ASDF system:
    zeromq
; Loading "zeromq"
; gcc -o C:\Users\chaoqi\AppData\Local\common-lisp\cache\lw-7.0.0-win-x64\g\third_codes\quicklisp\dists\quicklisp\software\cl-zmq-20160318-git\src\grovel__grovel-tmpXOBV8AQ3.obj -c -m64 -Ig:\third_codes\quicklisp\dists\quicklisp\software\cffi_0.19.0\ C:\Users\chaoqi\AppData\Local\common-lisp\cache\lw-7.0.0-win-x64\g\third_codes\quicklisp\dists\quicklisp\software\cl-zmq-20160318-git\src\grovel__grovel.c

Error: Subprocess run with command ("gcc" "-o" "C:\\Users\\chaoqi\\AppData\\Local\\common-lisp\\cache\\lw-7.0.0-win-x64\\g\\third_codes\\quicklisp\\dists\\quicklisp\\software\\cl-zmq-20160318-git\\src\\grovel__grovel-tmpXOBV8AQ3.obj" "-c" "-m64" "-Ig:\\third_codes\\quicklisp\\dists\\quicklisp\\software\\cffi_0.19.0\\" "C:\\Users\\chaoqi\\AppData\\Local\\common-lisp\\cache\\lw-7.0.0-win-x64\\g\\third_codes\\quicklisp\\dists\\quicklisp\\software\\cl-zmq-20160318-git\\src\\grovel__grovel.c") exited with error code 1
  1 (continue) Retry PROCESS-OP on #<CFFI-GROVEL:GROVEL-FILE "zeromq" "src" "grovel">.
  2 Continue, treating PROCESS-OP on #<CFFI-GROVEL:GROVEL-FILE "zeromq" "src" "grovel"> as having been successful.
  3 Retry ASDF operation.
  4 Retry ASDF operation after resetting the configuration.
  5 (abort) Give up on "zeromq"
  6 Return to level 0.
  7 Return to top loop level 0.

Type :b for backtrace or :c <option number> to proceed.
Type :bug-form "<subject>" for a bug report template or :? for other options.

CL-USER 14 : 1 > 

我敢肯定,我使用我的 Vistual Studio 2015 并编译了x64 版本的 libzmq.dll并设置了 cffi 路径。
因为我使用 lispbox 的 ccl 安装 zeromq 并且工作正常,输出消息如下:

CL-USER> (ql:quickload :zeromq)
To load "zeromq":
  Load 1 ASDF system:
    zeromq
; Loading "zeromq"

(:ZEROMQ)
CL-USER> 

我想知道,为什么会出现 gcc 错误消息以及如何解决此问题。
据我所知,它只是加载cffi: foreign-library-directories指向的dll。

任何帮助将不胜感激。

4

0 回答 0