-
Notifications
You must be signed in to change notification settings - Fork 957
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
Cmake version 3.12 and greater cannot find PythonInterp #556
Comments
This is strange. I use CMake 3.14 on Arch Linux and have no issues with finding
I have also tried building RetDec in Docker on Ubuntu 18.10 that has CMake 3.12 and had no issues with To be able to reproduce the issue, can you please provide the following information?
|
BTW, CMake 3.12 has made FindPythonInterp deprecated. This does not mean it is completely gone. It just means that it should not be used in new projects that require CMake >= 3.12. The minimal required version of CMake in RetDec is 3.6. |
Unfortunately, in my copy of visual studio, cmake does not understand it properly at all, and somehow only finds a python version 1.4 or something, a version which DEFINITELY does not exist on my system. Os: Windows 10
Complete Output:
|
Also, I don't know why it only finds the cygwin python when visual studio has it's own python installed |
Okay, I've managed to manually add:
to the command line arguments and things so far are going well... |
Okay, I tried to build and now I get
|
Oh, the problem is that "external" does not exist. Wtf? |
RetDec currently does not support the Ninja generator (see #8). On Windows 10 with Visual Studio 2017, we suggest using the following steps, which we know should work (if the
If any of the step fails, please let us know which one and attach output from that step. |
Visual studios is being stupid and only seeing the python from cygwin. I have to manually add an argument for that. Everything worked after I ended up having to manually update my flex installation |
Ok, seems like it is working for you now. If not, re-open. To summarize:
|
Cmake version 3.12 and greater cannot find PythonInterp. Variable has been changed to simply Python in version 3.12.
See https://stackoverflow.com/a/53368098/7723054 for more details
The text was updated successfully, but these errors were encountered: