Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

o.OM Windows dll compiled #2

Open
charlesneimog opened this issue Jan 7, 2022 · 1 comment
Open

o.OM Windows dll compiled #2

charlesneimog opened this issue Jan 7, 2022 · 1 comment

Comments

@charlesneimog
Copy link

Hi Jean, With the possibility to compile the DLL for Windows I was finally able to do o.OM work in Windows. But for some weird reason you need to put libgcc_s_sjlj-1.dll inside the OM-Sharp folder (I do not understand why, but it works).

I updated the code of Sources/load.lisp:

(defun load-o-lib ()
  (setf odot::libo
        (om-fi::om-load-foreign-library 
         "libo"
         `(
            (:macosx ,(merge-pathnames 
                      "lib/mac/libo.dylib" 
                      (om::mypathname (om::find-library "odot"))))
            (:windows ,(merge-pathnames 
                      "lib/win/libo.dll" 
                      (om::mypathname (om::find-library "odot"))))
           (t (:default "libo"))))))

Here is libo.dll and libgcc_s_sjlj-1.dll.

libo and libgcc_s_sjlj-1.zip

@charlesneimog charlesneimog changed the title o.OM to work in Windows. o.OM Windows dll compiled Jan 7, 2022
@j-bresson
Copy link
Member

j-bresson commented Jan 25, 2022

Thanks! I think this could also be adjusted in the libo side, by linking this missing library statically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants