Hit "Error -1073741515" during compilation.

General questions regarding the usage of CodeLite
wongyikfoong
CodeLite Curious
Posts: 2
Joined: Thu Jun 21, 2012 7:52 pm
Genuine User: Yes
IDE Question: C++
Contact:

Hit "Error -1073741515" during compilation.

Post by wongyikfoong »

Hi,

I'm using the CodeLite, v4.0.5589, on Windows 7, Microsoft Visual C++ 2010 compiler. I hit the "Error -1073741515" during compilation. I had tried to use MingW GNU C compiler to compile my project, I didn't have any problems. May I know how should I resolve this problem? Thanks!
User avatar
Jarod42
CodeLite Expert
Posts: 237
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Hit "Error -1073741515" during compilation.

Post by Jarod42 »

according to google,
It is a issue with your PATH to find some dll used by Microsoft Visual C++ 2010 compiler.
See content of vcvarsall.bat (vsvars.bat ?) in your MSVC directory to know the good value to set.

Settings -> Build Settings... : (vc compiler) : PATH environment variable.
wongyikfoong
CodeLite Curious
Posts: 2
Joined: Thu Jun 21, 2012 7:52 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Hit "Error -1073741515" during compilation.

Post by wongyikfoong »

Thanks for the reply. I have solved the problem.

Below are my partial compilation error message:

mingw32-make[1]: *** [Release_MSVC/main.obj] Error -1073741515
mingw32-make[1]: *** Waiting for unfinished jobs....
mingw32-make[1]: *** [Release_MSVC/Helper_SharedFunctions.obj] Error -1073741515
mingw32-make.exe: *** [All] Error 2

The error was caused by the missing "mspdb100.dll" file (C/C++ compiler cl.exe needs it) that required by Visual C++ compiler. I manually copied the dll file from "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE" into the compiler (cl.exe) folder "C:\Program Files\Microsoft Visual Studio 10.0\VC\bin", then I could compile my project without any problems. I don't know if this is the correct method to solve this, anyway it is just a DLL file, though I believe there should be proper way to do it (may be should force the make file to execute the "vcvarsall.bat" or "vsvars.bat" before compiling the project, but I dont know how to do it inside CodeLite :-) )...
Post Reply