-
Notifications
You must be signed in to change notification settings - Fork 12
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
install cmxs files #27
Comments
I am surprised that they are not installed. The build (besides generating the c++ stubs) is a rather standard dune build. Does it require a special dune rule? |
i'm certainly no expert so i might have done something incorrectly. my
|
I don’t know, maybe you can ask on dune repository, in the thread in the forum or on the discord channel. I have never dealt with cmxs or this issue before. If you use the trick suggested in the thread to manually create the cmxs, In case we need to change anything to add support here, feel free to send a pr |
no, that did not work.
|
i can try asking elsewhere, thanks for now. |
ok, the missing |
Mmh, that function is in the c stubs, I am surprised it does not find it. Is the ldpath added by opam pointing at the stublibs folder? |
do you mean this:
in that folder:
|
Yes, that looks correct and the stubs are there |
hmm. could it be a bug/limitation of the Omod loader? |
insights from @dbuenzli : the |
Just to make things clear:
|
Thanks for the clarifications. I could open |
That won't solve the problem of not having the stubs in the |
Could someone check whether this also happens on Linux (more precisely are the symbols of |
it does seem to happen on linux, see the dune issue. |
a solution for linking stubs in such a way that the library can be dynamically loaded has been found in ocaml/dune#3908 . it's in nojb/eigen@8de3f76 |
Thanks for the update and sorry for the slow reactions. I’d be happy to merge the fix and draft a new release |
CHANGES: * Fix bug in linking cmxs files ([owlbarn/eigen#27](owlbarn/eigen#27) @nojb @nilsbecker @dbuenzli)
hi, i was trying to load owl into a native
ocamlnat
toplevel, using dbuenzli'somod
package. this fails when trying to load eigen. (see e.g. https://discuss.ocaml.org/t/interim-report-on-experience-with-ocamlnat/833/8)It would be great if Eigen could install its
cmxs
libaries in order to be able to explore usage of owl/eigen with the native toplevel.The text was updated successfully, but these errors were encountered: