cppcoro icon indicating copy to clipboard operation
cppcoro copied to clipboard

Windows build fails

Open Chlorie opened this issue 4 years ago • 3 comments

I'm following the steps in the README file and after I run cake.bat it only outputs

Build succeeded.
Build took 0:00:00.xxx.

and nothing else. No new files are generated after this, and if I use the -l --debug=stack flag it raises an IndexError, apparently there is no build target specified:

(py27) C:\UserFiles\Documents\Code\Libraries\cppcoro>cake.bat -l --debug=stack


Unhandled Task Exception:
  File "C:\UserFiles\Documents\Code\Libraries\cppcoro\tools\cake\src\cake\engine.py", line 455, in _wrapper
    return func()
  File "C:\UserFiles\Documents\Code\Libraries\cppcoro\tools\cake\src\cake\runner.py", line 464, in <lambda>
    task = engine.createTask(lambda s=scripts: listTargets(scripts))
  File "C:\UserFiles\Documents\Code\Libraries\cppcoro\tools\cake\src\cake\runner.py", line 439, in listTargets
    path = scripts[0].path
IndexError: list index out of range
Build failed with 1 errors.
Build took 0:00:00.186.

The Python executable is from an activated Anaconda Python 2.7.16 environment, and Visual Studio version is 16.2.0. What could be wrong? Thanks!

Chlorie avatar Aug 04 '19 14:08 Chlorie

I have the same issue

StepanPieshkin avatar Feb 27 '20 12:02 StepanPieshkin

Have the same issue too

stevenybw avatar Apr 21 '20 09:04 stevenybw

I have the same issue but with extra output saying "Windows 10 SDK not found" even though it is installed on my computer

MattEding avatar May 03 '20 22:05 MattEding