-
Notifications
You must be signed in to change notification settings - Fork 29
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
Python 3.6 - doesn't compile on either MSVC or mingw #52
Comments
So, I had some time to dig into this and after lots of googling and applying some patches to my python installation to make cygwincompiler behave better, this is as far as I got:
Help? |
After a bit more googling I found that using this:
And then moving the generated files to python/libs/ gets me yet another bit further. At this point I'm just documenting my steps in case someone else finds this. Current problem:
|
Made a 180, instead of getting mingw to work, which apparently ever since python 3.5 is rather defunct and there was a mingwpy project to revive it which quickly also died - I made the switch to chipmunk 7 - which among other things has now support for MSVC. My current progress is here: Notable changes: corrected a bunch of types, such as cpFloat should be a double, not float. However, something goes wrong in the cython -> C conversion. This may actually be a bug in Cython, as it fails to report this error prior to compilation, which it should. The error I'm now stuck on, on the MSVC rail:
|
I'm having problems getting cymunk to compile too... I have to use msvc because I am running 3.6 this is my console log. I am wanting to install kiv_ent but kiv_ent is also having similar problems... Not sure what to do...
|
I was managed to install cymunk twice on different machines. Here're the errors I faced and the solutions, hope it will help somebody.
That happened to me when MinGW bin directory was missing from the PATH. If you don't want it in path permanently, just run in terminal:
That was because of I had 32-bit minGW and 64-bit python. I solved it by installing 64-bit mingw from msys2 with the help of this
Here it is said that the according dll does not exists anymore. I used this to solve that problem (but I put vcruntime140.dll into Anaconda3/libs instead of the mingw's libs, though it's unimportant). |
Currently Cymunk doesnt install in windows/python3.5+ environments, which is a dealbreaker for KivEnt/modules/cymunk working in modern envionments. Remove testing of cymunk until cymunk is fixed (see kivy/cymunk#52)
cannot find -lmsvcr140 |
So, following the install guide you get this on windows using python 3.6:
if you just google for
if self.ld_version >= "2.10.90":
you will find plenty of other modules with the same-ish issue. Some modules will work if you patch distutils to not have None there, but for the majority of packages, the maintainers recommend using MSVC. Which doesn't work here, because you don't have alternate pxi files set up. "alloca.h" vs. "_alloca.h" for example.The text was updated successfully, but these errors were encountered: