-
Notifications
You must be signed in to change notification settings - Fork 66
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
Invalid subtyping #327
Comments
I've created a full MWE here (https://github.com/torrance/cxxtest), which includes the BinaryBuilder My workflow looks like this:
Then inside Julia:
The error message:
|
This error often happens when running and building with different julia / libjulia versions. You need to build separate binaries for each minor julia version using |
That's it! For anyone else encountering this problem when doing local development with
For supporting a range of versions, see the search listing @benlorenz provided: https://github.com/JuliaPackaging/Yggdrasil/search?q=libjulia |
Just adding my comment for others who might come across this. Make sure that the version of julia you are using is the one that comes out of your $PATH variable. I.e. I ran /opt/julia-1.x.0/bin/julia but my default julia in my $PATH is /opt/julia-1.y.0/bin |
@benlorenz Thank you so much, I admire your comment so much, u have no idea how much time i spent headbutting this issue, until i finally realised it was simply a julia version compat issue, hope u have an awesome day on your side of the screen :) |
I've seen this error elsewhere (e.g. #326) but in my case I am on Julia 1.8.
I have the following toy C++:
I am building this using binary builder and installing a local dev module (
casacorejl_jll
). When I include this in my module as such:I get the following error:
I'm at a loss what I am doing wrong here. Any help?
The text was updated successfully, but these errors were encountered: