installed visual code and its giving me include error | path/crtdbg - c++

so i have installed visual code after trying to learn some basics. i have installed visual studio 2022 before so i have that on my computer. i tried changing the path but im still getting the same error. i have installed vs code on another drive. i was wondering if anyone know how to fix this or whats causing it. i attached a screenshot of terminal to so you can see the error for yourself.
Image
Thanks

Related

How to fix error with SFML ln VS 2017?

Hi i followed this video to set-up VS2017 for sfml using.
Youtube Video
I did what he says but when i debug project i get this error:
Error MSB6006 "CL.exe" exited with code -1073741515.
I find out on google that this is some sort of compiler error but not how to fix this. Can someone help me or point me to answer?
I'm using Visual Studio 2017 and i downloaded SFML: Visual C++ 14 (2015) - 32-bit
Indeed, you compiler crashed. The status code -1073741515 translates to 0xC0000135 which in turn translates to STATUS_DLL_NOT_FOUND. That is bad. That is not about the SFML dlls, but a library Visual Studio itself uses. Something is very wrong with your Visual Studio installation.
Chances are you will get the same error without using SFML.
I don't know what the tutorial did and I'm not going to watch a video to find out. Your best chance is to do a clean reinstall of your Visual Studio installation and then follow the official guide from the SFML homepage. That works.

LNK1124 error debugger cannot find .exe file

image of error
I'm having an error with visual studio every time I'm trying to use cin to get the guess of the user without that it works fine.
code
console message with error
this happening to me since I install visual studio 2017 just a couple of days ago.
I'm trying to learn c++ for unreal engine just started learning and i came across
that error anyone who have this error maybe this can be helpful for them.
first, let me tell you wah t the problem was i was trying to run a 32bit debugger on my 64bit pc cause visual studio install it that way so if you are getting this error on any of your projects all you have to do is change the project to an x64 bit project.
go to the Top bar "Build"
then go to "Configuration manager"
in there change it to x64 bit instead of 32bit
hopefully this can help someone
the link to the page that i read to fix is here.
after all the changes code runs well and no error anymore.

unable to install OpenCV

Hi guys really new to Visual Studio 2017 and im trying to get openCV into it to play around with the stuff, tried following the instructions from this How to can I install/configure OpenCV3.2.0 with Visual Studio 2017?
but my cmake keeps showing the error that the cmakelist is not in the folder, not sure what i should do any ideas?
I have encountered the same problem. I just comment # ocv_update(CUDA_LINK_LIBRARIES_KEYWORD "PRIVATE") in the file cmake/OpenCVDetectCUDA.cmake

Missing MFC42D.dll in c++ project

I have an old project that has been written for managing IP cameras. It was written in an old version of Visual Studio. When I load it to compile again and upgrade it in VS 2012. There is: missing MFC42D.dll error How can i fix it?
The error is:
The program can't start because MFC42D.dll miising from your computer .Try reinstalling the program to fix this problem.

The application was unable to start correctly (0xc00007b)

I've searched at a lot of places, asked a lot of people, but didn't found an answer to fix this issue..
I've just created a game in C++ with SFML in Visual Studio Community 2015. My project settings are set like they have to (followed this guide).
When I runu the game on my pc, it works totally fine. If it runs on a pc without Visual Studio 2015, it will crash and returns the following error:
The application was unable to start correctly (0xc00007b)
I've also downloaded Dependency Walker, to check the .exe on errors and it results a couuple of errors. They can be seen in this screenshot. Sorry for the dutch error after Error opening file. It says: The system can't find the given file.
These are the dll's I'm icluding in the root folder of my game:
I'm hoping you guys can help me out.. Thanks in advance!
This error code rings a bell - have you installed the visual c++ redistributable package on the PCs where VS is not installed? You should be able to find the package in your VS folder (program files).