Visual Studio 2022 make file project with debugging - c

I'm trying to run the debugger with the “make file project” in Visual Studio 2022 but is showing me an error. The same project builds without an option “make file” work fine.

Related

LINK : fatal error LNK1146: no argument specified with option '/MT'

I'm using Visual Studio 2019 and trying to compile a program that was compatible with Windows XP 32-bit.
When I first ran my .exe on my VM it said that it wasn't compatible with Win32.
I've then changed the Platform Toolset to Visual Studio 2017 - Windows XP (v141_xp).
Now it says I'm missing a VCRUNTIME140d.dll, and following instructions that said to change my Runtime Library to /MT I get the error stated in the title.
Any suggestions would be very much appreciated.
VCRUNTIME140d.dll is Visual C++ Redistributable for Visual Studio 2015.You need to download and install. And this is Debug versions of DLL. You must compile in Release mode.

"Please remove DXGIDebug.dll from folder C:\WINDOWS\SysWOW64. It is unsecure to run CL.exe until it is done

I cannot compile any C project in Visual Studio, I always get the error:
Please remove DXGIDebug.dll from folder C:\WINDOWS\SysWOW64. It is unsecure to run CL.exe until it is done.
I got this error before in Visual Studio 2015 and after trying to repair the installation several times I decided to install VIsual Studio 2017 but the issue persists.
I have got another PC with the same installation and it works fine there. I have already checked if the DLL is corrupted or shouldn't be there but the other PC has the exact same file in the exact same place and it works. I couldn't find anything regarding this issue or anything similar on the internet, as I do not know what to do now to be able to compile a C project.

Visual Studio 2015 WDK Not Working

I installed yesterday the WDK 10 for my visual studio 2015 enterprise.
Today I tried to make a project, but first of all it couldn't find the include directories, so I manually added it (C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\km)
After this visual studio's intelli sense prompted me that there are too many errors for even to be displayed, around 2200. Something fucked up the headers really bad, how do I fix this?
WDK has its own compiler. See readme and examples. You can use VS 2015 as source editor and then compile from command prompt.

visual Studio 2010: The application has failed to start because its side-by-side configuration is incorrect

I built a project in visual studio 2010 using c and got a DLL and was trying to use the DLL in postgresql 9.2. but i am getting this error:
ERROR: could not load library "C:\projmpt.dll": The application has failed to start because its side-by-side configuration is incorrect.
I installed the latest version of Visual C++ Redistributable Packages but still not working.anyone who has any idea about this problem?

Opening an Existing MakeFile Project in VS2010 or VS 2008 for debugging

I am exploring the code of an open source project..The project has its own directory structure and has several makefiles for building it on different platforms. I am working on the windows and want to pull it's source code in Visual Studio 2008 or 2010 by making visual studio project..I am able to build the project with Nmake utility of visual studio but I don't know how to debug if I don't have any .vcproj files or solution.
So can someone has some link or provide me some guidance about how can one make a visual studio project from make file. For more information the project I am trying to build is webP api project..
http://code.google.com/speed/webp/docs/api.html
To anwser your embedded question rather than your headline question - you can debug the output of the NMake process simply by invoking 'devenv' and passing it the the executable as an argument. I typically do this in the output directory of the build process so that devenv can find related DLLs and PDB files with debugging information.
My devenv (on a 32-bit VS2010 system) lives in "c:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com"
Hopefully this can get you debugging!

Resources