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

Failing to run generate_projects.bat #252

Closed
nachocpol opened this issue Feb 22, 2020 · 2 comments
Closed

Failing to run generate_projects.bat #252

nachocpol opened this issue Feb 22, 2020 · 2 comments

Comments

@nachocpol
Copy link

Running generate_projects.bat generates this error:

exit /b 0
Hit ENTER to continue...

Branch: 4.1
CMake version: 3.17.0-rc1
Python version: 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:14:34)

I´m not getting any prompts to select a preset.
Any help would be appreciated.
Thanks.

@nachocpol
Copy link
Author

I had to change this line:

%PM_PYTHON% "%PHYSX_ROOT_DIR%/buildtools/cmake_generate_projects.py" %1

to this:

py "%PHYSX_ROOT_DIR%/buildtools/cmake_generate_projects.py" %1

%PM_PYTHON% was evaluating to python.exe, so not quite sure why it wasn't working. Anyways, I can work with this. Closing.

@lyonb96
Copy link

lyonb96 commented Mar 1, 2020

Just had the same issue, python.exe doesn't work as a command but py does, and this causes the script to silently fail. Anyway, thanks for the work around, hopefully they'll resolve this because it's very annoying that a CMake script, which is made to avoid such annoying issues with C++, would require tweaking out of the box.

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