Category : visual-studio-code

I have a C file named main.c (In windows machine, in visual studio code) which contains main() function and I also have headers : header1.h ,header2.h ,header3.h for that main file. header1.c ,header2.c ,header3.c has the function definitions of the functions declared in header1.h ,header2.h ,header3.h respectively. Now to compile these file I would have ..

Read more

I have a C file named main.c (In windows machine, in visual studio code) which contains main() function and I also have headers : header1.h ,header2.h ,header3.h for that main file. header1.c ,header2.c ,header3.c has the function definitions of the functions declared in header1.h ,header2.h ,header3.h respectively. Now to compile these file I would have ..

Read more

My code: #include<iostream> int main() { std::cout<<"Hello Sandeep!"; return 0; } after that this message is displaying in the output: [Running] cd "e:Internships and CoursesCoding" && g++ Demo1.cpp -o Demo1 && "e:Internships and CoursesCoding"Demo1 c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../libmingw32.a(main.o):(.text.startup+0xc0): undefined reference to `[email protected]′ collect2.exe: error: ld returned 1 exit status may I know why this error is shown? ..

Read more

#include <QApplication> Gives me the squiggles and compiling gives me an error. fatal error: QApplication: No such file or directory #include <QApplication> My c_cpp_properties.json file looks like this { "configurations": [ { "name": "Win32", "includePath": [ "${workspaceFolder}/**", "C:Qt6.1.0mingw81_64includeQtWidgets**" // line I added ], "defines": [ "_DEBUG", "UNICODE", "_UNICODE" ], "compilerPath": "C:Program Files (x86)mingw-w64i686-8.1.0-posix-dwarf-rt_v6-rev0mingw32bingcc.exe", "cStandard": "gnu17", ..

Read more

I am building chromium on windows by following this chromium docs for the very first time and got this error. See the attached while building chromium in VScode. This the error where the build stopped. fatal error: ‘atlsecurity.h’ file not found #include <atlsecurity.h> ^~~~~~~~~~~~~~~ 1 error generated. [27/34527] CXX obj/base/base/logging.obj ninja: build stopped: subcommand failed. ..

Read more

I am trying to build the simulator for movesense using the link hereenter link description here. [email protected]:/movesense/simbuild# cmake -G "Visual Studio 15 2017" -DMOVESENSE_CORE_LIBRARY=../MovesenseCoreLib/ -DCMAKE_BUILD_TYPE=Release ../samples/blinky_app I get the following error: CMake Error: Could not create named generator Visual Studio 15 2017 Generators * Unix Makefiles = Generates standard UNIX makefiles. Green Hills MULTI = ..

Read more