Skip to content
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_EXE-NOTFOUND when python is in PATH #152

Closed
httpdigest opened this issue Feb 24, 2016 · 2 comments
Closed

PYTHON_EXE-NOTFOUND when python is in PATH #152

httpdigest opened this issue Feb 24, 2016 · 2 comments

Comments

@httpdigest
Copy link

OS: Windows 7 x64
Compiler: MSVC 14 "2015" x64
CMake: 3.5.0-rc3
Python: 2.7.11

There seem to be currently two different CMake properties/defines for where the Python exe is located.
My generated CMakeCache.txt looks like this:

//Path to a program.
PYTHON_EXE:FILEPATH=PYTHON_EXE-NOTFOUND

//Path to a program.
PYTHON_EXECUTABLE:FILEPATH=C:/Programme/Python27/python.exe

The CMake -G "Visual Studio 14 2015 Win64" runs successfully and also finds Python.
It seems that the vcxproj files only use the above property PYTHON_EXE:FILEPATH when they should've used the other one.

This causes the build to fail.
When I patch the above property in all vcxproj files to use the found python path, the whole build works and everything is fine.

@AWoloszyn
Copy link
Contributor

Thanks for the report. I see what is wrong, and should have a fix up very soon.

@AWoloszyn
Copy link
Contributor

This should be fixed by #154. There is a related change in spirv-tools that will be up soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants