Lots of commands (e.g. g.proj, g.region, g.remove) on my instalation of Windows GRASS 6.4.0 and the latest SVN snapshot (WinGRASS-6.4.SVN-r43430-1-Setup.exe) fail to run and an error window pops up (attached), saying:
"The application failed to initialize properly (0xc0150002)."
This a Virtulabox (3.2.8 non-free) running Windows Prof. SP3 32bit under Debian Squeeze amd64. I don't have a "real" Windows box at hand if the problem takes place on my system only. Does anybody experience similar errors on Windows?
---
Error: The Side-by-Side configuration information for "c:\program
files\grass-64\extralib\LIBPQ.DLL" contains errors. This application has
failed to start because the application configuration is incorrect.
Reinstalling the application may fix this problem (14001).
Error: At least one required implicit or forwarded dependency was not found.
[ ? ] MSVCR80.DLL Error opening file. The system cannot find the file
specified (2).
[D? ] IESHIMS.DLL Error opening file. The system cannot find the file
specified (2).
[D? ] WER.DLL Error opening file. The system cannot find the file
specified (2).
---
Full output attached (g.region.txt.bz2).
I found a copy of MSVCR80.DLL in
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd
and copied it to C:\WINDOWS\system. This got rid of that one missing
dependency, still the other two remain.
And there is no trace of them on my system.
By google they seem to be related to some MS Movie Maker issue (I
haven't tried searching hard I admit). Time to reinstall Windows :)?
>>> Ideas, anybody?
>
>> Another possibility is an incompatible version of one of the
>> (many) libraries which GDAL uses. Do the GDAL utilities (gdalinfo
>> etc) work?
>
> They don't. Same error.
---
Error: The Side-by-Side configuration information for "c:\program
files\grass-64\extralib\LIBPQ.DLL" contains errors. This application has
failed to start because the application configuration is incorrect.
Reinstalling the application may fix this problem (14001).
Error: At least one required implicit or forwarded dependency was not found.
[ ? ] MSVCR80.DLL Error opening file. The system cannot find the file
specified (2).
[D? ] IESHIMS.DLL Error opening file. The system cannot find the file
specified (2).
[D? ] WER.DLL Error opening file. The system cannot find the file
specified (2).
---
Full output attached (g.region.txt.bz2).
I found a copy of MSVCR80.DLL in
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd
and copied it to C:\WINDOWS\system.
It should be system32.
This got rid of that one missing
dependency, still the other two remain.
And there is no trace of them on my system.
By google they seem to be related to some MS Movie Maker issue (I
haven't tried searching hard I admit). Time to reinstall Windows :)?
Apparently, IESHIMS.DLL and WER.DLL are specific to Vista and later.
They shouldn't be required (and probably won't even work) on other
platforms, but Dependency Walker complains about any DLLs which it
can't find, regardless of whether they're actually required. All of my
GRASS executables cause Dependency Walker to complain about a missing
MSJAVA.DLL (required by MSHTML.DLL), but they still work.
The missing MSVCR80.DLL would be a real problem. This file is part of
the Visual Studio 2005 runtime. People often forget to bundle the
MSVCRxx.DLL files because so many systems already have them (although
they aren't part of the OS install), so the error is only discovered
when installing on a relatively clean system.
---
Error: The Side-by-Side configuration information for "c:\program
files\grass-64\extralib\LIBPQ.DLL" contains errors. This application has
failed to start because the application configuration is incorrect.
Reinstalling the application may fix this problem (14001).
Error: At least one required implicit or forwarded dependency was not found.
[ ? ] MSVCR80.DLL Error opening file. The system cannot find the file
specified (2).
[D? ] IESHIMS.DLL Error opening file. The system cannot find the file
specified (2).
[D? ] WER.DLL Error opening file. The system cannot find the file
specified (2).
Apparently, IESHIMS.DLL and WER.DLL are specific to Vista and later.
They shouldn't be required (and probably won't even work) on other
platforms, but Dependency Walker complains about any DLLs which it
can't find, regardless of whether they're actually required. All of my
GRASS executables cause Dependency Walker to complain about a missing
MSJAVA.DLL (required by MSHTML.DLL), but they still work.
The missing MSVCR80.DLL would be a real problem. This file is part of
the Visual Studio 2005 runtime. People often forget to bundle the
MSVCRxx.DLL files because so many systems already have them (although
they aren't part of the OS install), so the error is only discovered
when installing on a relatively clean system.
I have scratch-installed Windows XP SP3, fetched all updates, installed GRASS 6.4.0. As expected, many commands crashed with an "The application failed to initialize properly" error. According to Dependency Walker, missing were MSVCR80.DLL, MSVCR90.DLL, IESHIMS.DLL and WER.DLL.
Installing MS Visual C++ 2008 SP1 Redistributable Package [1] and the 2005 one [2] fixed the issue.
IESHIMS.DLL and WER.DLL are still missing but it doens't do any harm to my GRASS instalation, AFAICT.
Can Win GRASS installer ship MSVCR80.DLL and MSVCR90.DLL?
I just installed latest WinGRASS on Win7 64bit, run 2 of mentioned by
you commands and they worked as they should.
Milena
PS. See you on Monday
2010/9/11 Maciej Sieczka <msieczka@sieczka.org>:
Hi,
Lots of commands (e.g. g.proj, g.region, g.remove) on my instalation of
Windows GRASS 6.4.0 and the latest SVN snapshot
(WinGRASS-6.4.SVN-r43430-1-Setup.exe) fail to run and an error window pops
up (attached), saying:
"The application failed to initialize properly (0xc0150002)."
This a Virtulabox (3.2.8 non-free) running Windows Prof. SP3 32bit under
Debian Squeeze amd64. I don't have a "real" Windows box at hand if the
problem takes place on my system only. Does anybody experience similar
errors on Windows?