-
Notifications
You must be signed in to change notification settings - Fork 369
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
Fix Windows (MSVC) builds for GPU simulators #787
Comments
What fixes are you looking for in pybind11? I have a Windows machine I could use to get it working. Yeah, I see the travis tests are failing. That's a drag. |
Here is one issue: C:\Users\MarcusDaniels.conda\envs\QiskitDevEnv\Include\pybind11\cast.h(1495): error: expression must be a pointer to a complete object type That's an operator defined like this: explicit operator type&() { return *(this->value); } |
Ah, I see it has been fixed on their master branch: |
With pull request #859 and this change, and copying pybind11 headers to a toplevel include/ directory, and applying the patch above to cast.h, this build problem can be fixed. I'll make another pull request if you are willing to temporarily copy the latest pybind11 headers as a workaround until Conda updates its pybind11 package.
|
Informations
What is the current behavior?
There are build errors in GPU code while trying to build on Windows (MSVC).
Steps to reproduce the problem
> python setup.py bdist_wheel
What is the expected behavior?
We should be able to build without problems
Suggested solutions
We need to wait for
pybind11
to release their new version and after testing that everything is still working and there are no regressions whatsoever, upgrade our dependencies.There seems to be other errors related to the OpenMP version supported by MSVC and the presence of
unsgined
indices in parallelized loops.The text was updated successfully, but these errors were encountered: