'A dependent dll was not found' on winrt

1,204 views
Skip to first unread message

Ariel Manzur

unread,
Dec 9, 2014, 12:15:46 AM12/9/14
to anglep...@googlegroups.com
Hi.

I compiled the latest angle from "ms open tech" branch, and I was able
to compile my "windows store" binary (using
/DWINAPI_FAMILY=WINAPI_FAMILY_APP, /ZW, /APPCONTAINER, etc), but when
I launch I get the error "the app didn't start" and this output on
Visual Studio:

'godot.winrt.tools.exe' (Win32): Loaded
'C:\Users\ariel\Documents\Visual Studio
2013\Projects\App2\x64\Release\App2.Windows\AppX\godot.winrt.tools.exe'.
Symbols loaded.
'godot.winrt.tools.exe' (Win32): Loaded
'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'godot.winrt.tools.exe' (Win32): Loaded
'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'godot.winrt.tools.exe' (Win32): Loaded
'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB
file.
'godot.winrt.tools.exe' (Win32): Loaded
'C:\Users\ariel\Documents\Visual Studio
2013\Projects\App2\x64\Release\App2.Windows\AppX\libEGL.dll'. Cannot
find or open the PDB file.
'godot.winrt.tools.exe' (Win32): Loaded
'C:\Windows\System32\vccorlib110d.dll'. Symbols loaded.
'godot.winrt.tools.exe' (Win32): Loaded
'C:\Windows\System32\msvcp110d.dll'. Symbols loaded.
'godot.winrt.tools.exe' (Win32): Loaded
'C:\Windows\System32\msvcr110d.dll'. Symbols loaded.
'godot.winrt.tools.exe' (Win32): Loaded
'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file.
'godot.winrt.tools.exe' (Win32): Loaded
'C:\Windows\System32\combase.dll'. Cannot find or open the PDB file.
'godot.winrt.tools.exe' (Win32): Loaded
'C:\Users\ariel\Documents\Visual Studio
2013\Projects\App2\x64\Release\App2.Windows\AppX\libGLESv2.dll'.
Cannot find or open the PDB file.
'godot.winrt.tools.exe' (Win32): Loaded
'C:\Windows\System32\d3d11.dll'. Cannot find or open the PDB file.
'godot.winrt.tools.exe' (Win32): Loaded
'C:\Windows\System32\dxgi.dll'. Cannot find or open the PDB file.
The thread 0x1c40 has exited with code -1073741515 (0xc0000135).
The program '[2552] godot.winrt.tools.exe' has exited with code
-1073741515 (0xc0000135) 'A dependent dll was not found'.

Is there any way to find out exactly which dll is missing? Do I need
to add anything other than libGLESv2.dll and libEGL.dll to my package?
(those 2 seem to be recognized and loaded).

Thanks!

Ariel.

Austin Kinross

unread,
Dec 9, 2014, 12:28:15 AM12/9/14
to anglep...@googlegroups.com
Hi Ariel,

It's probably D3DCompiler that's failing to load. Are you able to figure out which version of D3DCompiler your libGLESv2.dll is linking against? "dumpbin /imports" in the Visual Studio command prompt should be able to do this, or you could use a tool like Dependency Walker.

Also, which operating system are you running on? Our version of ANGLE should link against D3DCompiler_47.dll, which can be found in System32 in Windows 8.1. If you're running Windows 8.1 then it's surprising that you're hitting this problem.

Thanks!
Austin

Ariel Manzur

unread,
Dec 9, 2014, 12:46:58 AM12/9/14
to Austin Kinross, anglep...@googlegroups.com
Control panel says "Windows 8.1 Pro" (on a Surface Pro 1), but I don't
know how to get a more specific version. I get this from dumpbin:

$ dumpbin -imports godot.winrt.tools.exe |grep dll$
KERNEL32.dll
libEGL.dll
MSVCP110D.dll
MSVCR110D.dll
ole32.dll
api-ms-win-core-winrt-string-l1-1-0.dll
libGLESv2.dll

and

$ dumpbin -imports ../platform/winrt/x64/bin/libGLESv2.dll |grep dll$
Dump of file ../platform/winrt/x64/bin/libGLESv2.dll
msvcp120d_app.dll
msvcr120d_app.dll
api-ms-win-core-winrt-l1-1-0.dll
api-ms-win-core-winrt-string-l1-1-0.dll
KERNEL32.dll
d3d11.dll
D3DCOMPILER_47.dll
dxgi.dll

I do have a d3dcompiler_47.dll, the only ones from this list that I
don't see on c:\windows\system32 are "msvcp120d_app.dll" and
"msvcr120d_app.dll". Could those be somewhere else? I have some stuff
that start with "msvcp120", but nothing with "d" or "_app".

Thanks.

Ariel.
> --
> You received this message because you are subscribed to the Google Groups
> "angleproject" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angleproject...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Austin Kinross

unread,
Dec 11, 2014, 5:31:51 PM12/11/14
to anglep...@googlegroups.com, auki...@microsoft.com
Hi Ariel,

Sorry for the delayed reply. Did you have any luck fixing this issue?

From your DLL dependencies, it looks less likely that this is an issue with D3DCompiler. Which versions of Visual Studio are you using to compile your application? Also, is "godot.winrt.tools.exe" definitely a Windows Store application? As you point out, it depends on msvcr110d.dll, which implies that it's a desktop application.

Thanks!
Austin

Ariel Manzur

unread,
Dec 11, 2014, 5:47:37 PM12/11/14
to Austin Kinross, anglep...@googlegroups.com
Yes! Sorry. So I looked all over my hard drive for the files
msvcp120d_app.dll and msvcr120d_app.dll, and they didn't exist. After
searching around, I found them in this package
https://www.microsoft.com/en-us/download/details.aspx?id=40784 . After
installing it, I had to fish the files out of c:\Program
Files\WindowsApp on a directory that was unable to access due to
permissions (I had to use cmd.exe as Administrator), and add them to
my package. I'm not sure that was the correct thing to do since they
made it so hard to retrieve those files out of their installed
location, but it worked :-) Thanks.
Reply all
Reply to author
Forward
0 new messages