-
Notifications
You must be signed in to change notification settings - Fork 22
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
Uninformative error when using gecode from Windows cmd #206
Comments
I wonder if this is the same issue that's causing MiniZinc/minizinc-python#174 Could you try running that command with |
Sorry that I haven't mentioned that I had already tried running this with --verbose. It stops in the same place as in the linked issue, only difference is that there is also:
I get an error when I try just open fzn-gecode.exe from File Explorer too. |
Could you try running And if you're using powershell, could you run Thanks |
Actually, after doing some thinking - I suspect what's happening is that we package a version of Gecode which requires the Qt DLLs to be available. Running from the IDE happens to allow them to be found since they're in the same folder as the IDE application, but then when running from the command line, the OS can't find them. As a workaround, could you try adding the MiniZinc install directory to your $env:Path = $env:ProgramFiles + '\MiniZinc;' + $env:Path Or if you installed just for your user: $env:Path = $env:LocalAppData + '\Programs\MiniZinc;' + $env:Path |
Thanks, adding the MiniZinc directory to |
I've encountered a problem while trying to use gecode from Windows cmd, like in the Basic Usage example here: https://docs.minizinc.dev/en/stable/command_line.html
Only output is
=====ERROR=====
.Running the same model from MiniZinc IDE with gecode works. Also running the command with other solvers works.
I've tried reinstalling the whole MiniZinc bundle but this hasn't fixed the problem.
The text was updated successfully, but these errors were encountered: