1 2 3 4 5 6 7 | F:\ "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\cl.exe" chrAprMax_byAdd.c Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64 Copyright (C) Microsoft Corporation. All rights reserved. chrAprMax_byAdd.c chrAprMax_byAdd.c(1): fatal error C1034: stdio.h: no include path set |
- Please make sure you run "Developer Command Prompt for VS 20xx" or set Path variable includes "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\" before that and run cl.exe in the window opened by "Developer Command Prompt for VS 20xx".
or
-> So now you can compile C/C++ source file without error: "fatal error C1034: stdio.h: no include path set" :)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | F:\>cl chrAprMax.c Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x86 Copyright (C) Microsoft Corporation. All rights reserved. chrAprMax.c Microsoft (R) Incremental Linker Version 14.10.25019.0 Copyright (C) Microsoft Corporation. All rights reserved. /out:chrAprMax.exe chrAprMax.obj F:\>chrAprMax Enter a string: just for fun The character that appears the most frequently is "u" with 2 matched. F:\>cl chrAprMax.cpp -o chrAprMaxpp Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x86 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9035 : option 'o' has been deprecated and will be rem oved in a future release chrAprMax.cpp Microsoft (R) Incremental Linker Version 14.10.25019.0 Copyright (C) Microsoft Corporation. All rights reserved. /out:chrAprMax.exe /out:chrAprMaxpp.exe chrAprMax.obj F:\>chrAprMaxpp Enter a string: just for fun The character that appears the most frequently is "u" with 2 matched. |