-
Notifications
You must be signed in to change notification settings - Fork 184
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
Adding Special Flags for windows environment. #760
Comments
Hi, I have resolved the issue on my end, Would recommend adding two things to simplify for future users:
Thanks, |
Ah, glad you managed to compile under Windows! Can you maybe create a pull request for the changes you mention? I'd be happy to merge it :) |
Raised the pull request like mentioned above ^ For future windows users Ill mention the sequence I use for building using wsl here (tried and tested) although a simpler way is likely to exist:
* - edit after more building |
Hi @msoos , I tried recompiling after pulling for the other memory issue : #761 After failing there I tried using the new release you recently put up.
I retried the same steps as above with release 5.11.21 and it works, not sure what change is breaking. Thanks, P.S. Can you tell me the last release without the memory bug you fixed recently so I can use that for my project in the meantime.? |
I am working on this. Will be done by today. Sorry. |
Hi, I have now uploaded a pypi package. However, I cannot make Windows work. CaDiCaL and Cadiback would need to somehow work on windows, and then the GMP bignum library would need to be compiled for windows, too. All of these are SUPPOSED to work, but it'd take me several days to do it, and I don't have the Windows environment to be able to do that. If you'd like to experiment and make it work, you are more than welcome. If you have a look at the latest pypi build script, it's actually VERY simple. So it may be very easy to fix for windows:
|
The changes relative to the old one are:
With Linux this is fine. Windows and Mac are always special in their ways :) |
I have very little time left to do things. So if you create a Pull Request that fixes the issue with Windows, I'd be super happy. However, I can't do this myself, it's just too much work. I hope that's understandable, Mate |
Thanks for the quick response as always, I think thats likely similar to what im facing since the build was previously working in windows (with Cadical and Cadiback built using wsl) and I'm having the same error. Ill try that one the coming Tuesday. I'll close this issue once I verify its working as expected ill check the pypi thing then as well, however I'm also busy with a project (the one where im using this library) so it might take me a while to get to the actual solution. I recommend recording the last known stable version for windows being 5.11.21 in the meanwhile. Thanks, |
Hi,
Im facing difficulty modifying the setup.py for the python port on a windows machine since an install of the dependency gmp (gmpxx.h linked with gmp.h) is not straightforward.
Additionally. Even on taking roundabout ways to install it like using WSL, im getting this error (and similar ones):
error C2039: 'end_getting_small_clauses': is not a member of 'CMSat::SATSolver'
Not sure how to approach debugging this, any advice is appreciated.
Thanks,
The text was updated successfully, but these errors were encountered: