-
Notifications
You must be signed in to change notification settings - Fork 46
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
In Julia 1.10, NLoptMathOptInterfaceExt errors on load #210
Comments
Huh, interesting. I have an idea about how to fix it - will report back later. |
@BioTurboNick I can't replicate at the moment -- I tried things in a clean environment with just NLopt and MathOptInterface on 1.10 and can load both without problems. Can you share more about your environment? |
I managed to create a MWE test project that should reproduce the error when loaded with |
thanks @BioTurboNick ! That shows it off even without clearing my precompilation cache -- it appears the problem first arises when everything is further wrapped in a module that gets precompiled. |
@BioTurboNick I think #211 fixes it. You can install it with |
Seems to work, thanks! I wonder if Julia should be erroring at the REPL for the previous version, or at least emitting a warning? |
I'm wondering if it's not a problem in the REPL because of the way precompilation works there -- you don't compile all of module |
I'm running into this problem frequently, usually requiring a restart of my REPL. Hopefully the fix will released soon. |
While loading NLopt in Julia 1.10, I got this error:
The text was updated successfully, but these errors were encountered: