crosire / blink

A tool which allows you to edit source code of any MSVC C++ project live at runtime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'cl.exe' is not recognized as an internal or external command

kochol opened this issue · comments

Hi I'm sure I set /ZI (not /Zi) compile flag but I get cl.exe error with vs 2019.

You need to run blink from the VS command-line or have cl.exe (the C++ compiler) in your PATH.

image
Same error and the cl is in path.

Right, sorry, that should have been: You need to run the target application from the VS command-line (or use VC++ 2017, which does not suffer from this problem, or hardcode the path as per #31 (comment)). It's the same problem as noted in multiple issues: the original compile command-line is no longer written by VC++ 2019, so blink has to fall back to a custom one.