Building Physx 4.0

Hi guys,

I got some trouble when trying to generate cmakelist with It gives me the following error after inputting the preset:

$ sh
Preset parameter required, available presets:
(0) android <--- Android-19, armeabi-v7a with NEON PhysX SDK
(1) vc12win32 <--- VC12 Win32 PhysX general settings
(2) vc12win64 <--- VC12 Win64 PhysX general settings
(3) vc14win32 <--- VC14 Win32 PhysX general settings
(4) vc14win64 <--- VC14 Win64 PhysX general settings
(5) vc15win32 <--- VC15 Win32 PhysX general settings
(6) vc15win64 <--- VC15 Win64 PhysX general settings
Enter preset number: vc15win64
Traceback (most recent call last):
  File "./buildtools/", line 349, in <module>
  File "./buildtools/", line 336, in main
    presetName = noPresetProvided()
  File "./buildtools/", line 62, in noPresetProvided
    mode = int(input('Enter preset number: '))
ValueError: invalid literal for int() with base 10: 'vc15win64'

“vc15win64” is the preset I input; seems like it is not the right format? Pretty sure it is not working since there is no cmakelist generated under /compiler as indicated by the doc. I may be missing something really stupid; I’d appreciate any help. Thanks!

The is intended for linux/mac machines, we actually never tried that script on windows. On windows you should use generate_projects.bat script.

Hmm now that I look at your stack, you should also use the number before the preset, not the preset name. So for vc15win64 you should input 6, thats what the error says it cannot make an int from vc15win64.