[Openmcl-devel] CFFI testsystem fails to load dll
Louis Höfler
louis.hoefler at gmx.de
Fri Jul 30 04:03:28 PDT 2010
It seems that the testsystem empties :*foreign-library-directories*.
I added the directories to PATH.
Now this happens:
(require 'asdf)
(setf asdf:*central-registry*
'(*default-pathname-defaults*
#P"C:\\Users\\Lis\\Documents\\work\\trivial-features\\"
#P"C:\\Users\\Lis\\Documents\\work\\babel\\"
#P"C:\\Users\\Lis\\Documents\\work\\rt\\"
#P"C:\\Users\\Lis\\Documents\\work\\alexandria\\"
#P"C:\\Users\\Lis\\Documents\\work\\cffi\\"
))
(asdf:load-system 'trivial-features)
(asdf:load-system 'babel)
(asdf:load-system 'alexandria)
(asdf:load-system 'rt)
(asdf:load-system 'cffi)
(asdf:load-system 'cffi-tests)
(asdf:test-system 'cffi-tests)
;;;;;;;;;;;;;;;;;;;;;;;;OUTPUT
C:\Users\Lis\Documents\work\lisp_ccl>SET
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\Syst
em32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common
Files\Softimage;C:\Program Files\Common Files\Softimage;c:\Program Files
(x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
Server\100\DTS\Binn\;C:\Program Files\Intel\WiFi\bin\;C:\Program
Files\Common Files\Intel\WirelessCommon\;C:\Program Files\ThinkPad\Bluetooth
Software\;C:\Program Files\ThinkPad\Bluetooth
Software\syswow64;;C:\Users\Lis\Documents\work\cffi\tests\libtest\x64\Debug;
C:\Users\Lis\Documents\work\cffi\tests\libtest2\x64\Debug
C:\Users\Lis\Documents\work\lisp_ccl>C:\ccl\wx86cl64.exe -e "(load
\"C:\\Users\\Lis\\Documents\\work\\lisp_ccl\\cffi_test.lisp\")"
; loading system definition from
C:/Users/Lis/Documents/work/trivial-features/trivial-features.asd into
#<Package "ASDF0">
; registering #<SYSTEM TRIVIAL-FEATURES #x210076D07D> as TRIVIAL-FEATURES
; loading system definition from C:/Users/Lis/Documents/work/babel/babel.asd
into #<Package "ASDF0">
; registering #<SYSTEM BABEL #x21007FBAAD> as BABEL
; loading system definition from
C:/Users/Lis/Documents/work/alexandria/alexandria.asd into #<Package
"ASDF0">
; registering #<SYSTEM :ALEXANDRIA #x210080329D> as ALEXANDRIA
; loading system definition from C:/Users/Lis/Documents/work/rt/rt.asd into
#<Package "ASDF0">
; registering #<SYSTEM :RT #x2100AFC34D> as RT
; loading system definition from C:/Users/Lis/Documents/work/cffi/cffi.asd
into #<Package "ASDF0">
; registering #<SYSTEM CFFI #x2100B2CBFD> as CFFI
; loading system definition from
C:/Users/Lis/Documents/work/cffi/cffi-tests.asd into #<Package "ASDF0">
; registering #<SYSTEM CFFI-TESTS #x2100C426AD> as CFFI-TESTS
> Error: Trying to access undefined foreign variable "dll_version".
> While executing: CFFI::FS-POINTER-OR-LOSE, in process listener(1).
> Type :GO to continue, :POP to abort, :R for a list of available restarts.
> If continued: Skip evaluation of (load
"C:\\Users\\Lis\\Documents\\work\\lisp_ccl\\cffi_test.lisp")
> Type :? for other options.
1 > Welcome to Clozure Common Lisp Version 1.5-r13651 (WindowsX8664)!
?
More information about the Openmcl-devel
mailing list