carla icon indicating copy to clipboard operation
carla copied to clipboard

'C:\Program" is not recognized as internal or external command error when running "make PythonAPI"

Open ymoghadd opened this issue 10 months ago • 2 comments

Hi,

When I run "make PythonAPI" I get the error below. If you anyone has a solution to this issue please let me know.

The C compiler

"C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: 'C:/Users/yasi4/carla/Build/zlib-source/build/CMakeFiles/CMakeScratch/TryCompile-cjtqnx'

Run Build Command(s): "C:/Program Files/CMake/bin/cmake.exe" -E env VERBOSE=1 nmake -f Makefile /nologo cmTC_cfbf2\fast
    C:\Program Files (x86)\GnuWin32\bin  -f CMakeFiles\cmTC_cfbf2.dir\build.make /nologo -L                  CMakeFiles\cmTC_cfbf2.dir\build
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\Program' : return code '0x1'
Stop.

ymoghadd avatar Apr 19 '24 22:04 ymoghadd

Are you using x64 Native Tool Command Prompt to run "make PythonAPI"?

Blyron avatar Apr 20 '24 10:04 Blyron

Yes, specifically for VS 2019

ymoghadd avatar Apr 21 '24 17:04 ymoghadd

Same problem, have you solve this?

Yes, specifically for VS 2019

BaoJie456 avatar May 29 '24 07:05 BaoJie456