Page 1 of 1

Hit "Error -1073741515" during compilation.

Posted: Thu Jun 21, 2012 8:02 pm
by wongyikfoong

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!

Re: Hit "Error -1073741515" during compilation.

Posted: Fri Jun 22, 2012 12:28 pm
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.

Re: Hit "Error -1073741515" during compilation.

Posted: Fri Jun 22, 2012 12:47 pm
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 :-) )...