I have a problem during C++ project build in VS2015 update 3. the error message is as follow:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(1318,5): error MSB6006: "midl.exe" exited with code -1073741515
Edit:
This is a project which using SDK 10.0.150310.
On Windows 10 the build succeeded but on Windows 7 failed with the error as described.
The error -1073741515 == 0xC0000135 == STATUS_DLL_NOT_FOUND:
STATUS_DLL_NOT_FOUND ntstatus.h
The program can't start because %hs is missing from your computer. Try reinstalling the program to fix this problem.
So a dll is missing. Use ProcessMonitor, capture the activity and filter for DLL loading events. Now look in Result column where you see an error. Now look which DLL is missing.
using missins DLL or installing win8 SDK didn't helped. only compiling it on windows10 or windows server2016 solved the issue (stopped fighting with it because originally the code wrote on win10..)
Related
I am trying to run a certain application but when i get the following error whilel loading a dll:
"Windows API LoadLibraryEx returened error # 14001 ( 0x36B1)..."
I opened windows event viewer and got this error:
Dependent Assembly Microsoft.VC90.DebugMFC could not be found and Last Error was The referenced assembly is not installed on your system.
My question is, what is Microsoft.VC90.DebugMFC ?
Installing Visual studio professional 2008 SP1 solved the problem
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.
I am trying to compile a new c++ project in Visual Studio 2015.
I can compile perfectly in 32 bit configuration but when I change the configuration to 64 bit, compilation crashes with a dialogue box showing message "Microsoft c/c++ Compiler Driver has stopped working"
This is the error showing in the logs
Error MSB6006 "CL.exe" exited with code -1073741701.
I tried repairing and reinstalling VS several times but did no good to me.
This the behaviour of any file I am trying to compile. Projects which were working on Visual Studio 2013 are now not compilable.
Please help. I am stuck in this issue for weeks
EDIT: I found that the compiler used in 64 is x86_amd64\cl.exe, if this means anything to you
EDIT: I tried to compile using x86_amd64\cl.exe through command line and it succeeded there
I try to run the code from calibration, and i'm stuck with this error:
Debug Assertion Failed!
Program:
C:\Users\openCV\Desktop\Git\AzTest\Debug\AzTest.exe
File: c:\program files (x86)\microsoft visual studio 14.0\vc\include\xmemory0
Line: 94
Expression: "_Count <= (size_t)(-1) / _Sz" && 0
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
To be honest I don't know what else should I do, or why is this error happening.
What is to be noted is that the code used to work on the same PC.
I've modified the code (when it worked, and it worked after I done the changes), code can be found here (The project is there, also it is configured for having the OpenCV directory on C:\opencv.
After hours of digging I found the answer. It was a miss configuration imported from another project.
*Project properties -> Linker -> Input -> Additional Dependencies:
opencv_ts300d.lib;opencv_world300d.lib;; (the right way for opencv3).
Mine was:
opencv_ts300d.lib;opencv_world300.lib;
Afterwards I get intro "missing MSVCR120D.dll", I fixed that by changing the opencv version to OpenCV310.
Tried to fix that missing dll problem by uninstalling and reinstalling all the redistributable that I could find on Microsoft website.
Also if you will have "opencv_world310d.dll" missing, just copy&paste it into the project release/debug folder.
I am building a project with cmake using ms visual studio. I am getting this error from MS visual studio (2010):
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets(146,5): error MSB6006: "CL.exe" exited with code -1073740777
I have not been able to find anything about this error (obv I've googled it), but I can't find a description! I also tried the error lookup tool and it didn't bring anything up.
Any idea what this error means?
I moved the project generation to a different dir (much smaller path) and the error went away, and everything compiled fine. It appears this has to do with the path length and length of the CL command.
This Link was helpful in diagnosing the problem.
Since my original question was "what is this error?" Here is the answer courtesy of #WhozCraig
0xC0000417, equivalent to STATUS_INVALID_CRUNTIME_PARAMETER.