Unable to use on Windows using sbcl 2.3.2
simendsjo opened this issue · comments
simendsjo commented
I'm having problems using deploy on Windows. Looks like a missing library, but I'm having problems finding out what.
* (asdf:make :passish)
STYLE-WARNING:
Generic function FSET:ITERATOR clobbers an earlier FTYPE proclamation
(FUNCTION (T &KEY &ALLOW-OTHER-KEYS) (VALUES FUNCTION &REST T)) for the same
name with (FUNCTION (T &KEY &ALLOW-OTHER-KEYS) *).
#P"C:/Users/simend/quicklisp/local-projects/passish/bin/passish"
==> Running load hooks.
==> Gathering system information.
-> Will load the following foreign libs on boot:
(#<DEPLOY:LIBRARY DEFAULT-435>)
==> Deploying files to C:/Users/simend/quicklisp/local-projects/passish/bin/
debugger invoked on a SIMPLE-ERROR in thread
#<THREAD "main thread" RUNNING {1000228073}>:
#<LIBRARY DEFAULT-435> does not have a known shared library file path.
* (defparameter l (car (deploy:list-libraries)))`
* l
#<DEPLOY:LIBRARY DEFAULT-435>
* (deploy:library-system l)
NIL
* (deploy:library-path l)
NIL
* (deploy:library-sources l)
NIL
simendsjo commented
simendsjo commented
There's a restart where I'm able to add a path myself, adding c:/windows/system32/user32.dll
, it works. But it seems like the source should already account for this..?
Yukari Hafner commented
This has nothing to do with Deploy and everything with whatever libraries you're making use of that badly configure the foreign library instances.
Deploying on Windows with SBCL works just fine, even when using User32.
simendsjo commented
What's the correct way of loading libraries? Guess it's this line from
trivial-clipboard failing
https://github.com/snmsts/trivial-clipboard/blob/master/src/windows.lisp#L7
…On Sun, Apr 2, 2023, 13:25 Nicolas Hafner ***@***.***> wrote:
This has nothing to do with Deploy and everything with whatever libraries
you're making use of that badly configure the foreign library instances.
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACV2H4VTJVGFXQCCGVOGZDW7FO2PANCNFSM6AAAAAAWOONMS4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
Yukari Hafner commented
Using cffi:define-foreign-library
instead of an ad-hoc definition like that.