lewissbaker / cppcoro

A library of C++ coroutine abstractions for the coroutines TS
MIT License
3.43k stars 472 forks source link

Windows build fails #118

Open Chlorie opened 5 years ago

Chlorie commented 5 years ago

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!

StepanPieshkin commented 4 years ago

I have the same issue

stevenybw commented 4 years ago

Have the same issue too

MattEding commented 4 years ago

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