I just updated to revision 4 of CoppeliaSim and now when I try to compile a plugin I get the following
Code: Select all
>------ Build All started: Project: <projectname>, Configuration: x64-Release ------
[1/8] cmd.exe /C "cd /D C:\<projectdir>\out\build\x64-Release && python "C:/Program Files/CoppeliaRobotics/CoppeliaSimEdu/programming/libPlugin/simStubsGen/generate.py" --xml-file C:/<projectdir>/callbacks.xml --lua-file C:/<projectdir>/<projectname>.lua --gen-all C:/<projectdir>/out/build/x64-Release/generated"
FAILED: generated/stubs.cpp generated/stubs.h generated/lua_calltips.cpp
cmd.exe /C "cd /D C:\<projectdir>\out\build\x64-Release && python "C:/Program Files/CoppeliaRobotics/CoppeliaSimEdu/programming/libPlugin/simStubsGen/generate.py" --xml-file C:/<projectdir>/callbacks.xml --lua-file C:/<projectdir>/<projectname>.lua --gen-all C:/<projectdir>/out/build/x64-Release/generated"
File "C:/Program Files/CoppeliaRobotics/CoppeliaSimEdu/programming/libPlugin/simStubsGen/generate.py", line 50
print('error: program "{0}" is missing (hint: try "sudo apt install {0}")'.format(what), file=sys.stderr)
^
SyntaxError: invalid syntax
ninja: build stopped: subcommand failed.
Build All failed.
It seems to me like the error is in generate.py but I don't know python well. Commenting that row my plugin compiles fine.
I am on windows 10 using VS community 2019.