easy-cpp-projects icon indicating copy to clipboard operation
easy-cpp-projects copied to clipboard

c1xx: fatal error

Open guilhermehfmiranda opened this issue 7 years ago • 2 comments

Installed VS Code, C/C++ Extension, Easy C++ Project Extension. Already had Working VS 2017.

C++ new project w/ msvc

Literally created it and tried to build it:

Executing task: .\build.bat <


** Visual Studio 2017 Developer Command Prompt v15.0 ** Copyright (c) 2017 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x64' Microsoft (R) C/C++ Optimizing Compiler Version 19.12.25835 for x64 Copyright (C) Microsoft Corporation. All rights reserved.

*.cpp c1xx: fatal error C1083: Cannot open source file: 'src*.cpp': No such file or directory The system couldn't find the specified file. The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

Relative directory: Exist; File: Exist.

guilhermehfmiranda avatar Jan 16 '19 19:01 guilhermehfmiranda

That > src*.cpp < is the problem, it gets fixed when I change it in build.bat to the full path of the folder. Any way to make it work w/o doing that?

guilhermehfmiranda avatar Jan 16 '19 23:01 guilhermehfmiranda

I've just checked if there was any problem with the build script but both x86 and x64 and both MSVC 2017 and 2019 seem to be working fine.

Can you try again and see if the problem persists with the updated extension?

acharluk avatar Jun 26 '19 16:06 acharluk