Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load PDB helper DLL #90

Open
aritosteles opened this issue Mar 26, 2024 · 2 comments
Open

Cannot load PDB helper DLL #90

aritosteles opened this issue Mar 26, 2024 · 2 comments

Comments

@aritosteles
Copy link

I'm trying to use cv2pdb without installing Visual studio. Because I successfully tested it in a pc with VS19 installed, I tried using the 5 files mentioned in the Installation instructions, replacing mspdb100.dll with mspdb140.dll and so on for each file, since the 100..s files are not being installed by VS19. I tried this with both 32 and 64 version of the files with no luck.
Microsoft has discontinued both support and download of VS2010, so I don't know if there's a way to come by all 5 files. Can you point me to the right direction or at least tell me if there's no chance? Thanks!!

@rainers
Copy link
Owner

rainers commented Mar 31, 2024

The documentation is a bit dated. When running the 64-bit version under VS2019 in a debugger, I see that cv2pdb loads

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\mspdb140.dll

and the spawned mspdbsrv.exe has these DLL dependencies:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x64\mspdbsrv.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x64\mspdbcore.dll
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x64\msvcp140.dll
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x64\msvcp140_atomic_wait.dll
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x64\tbbmalloc.dll
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x64\vcruntime140.dll	
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x64\msobj140.dll

Maybe a proper installation of the VC 2019 runtime is required, but I have not tested that.

@galkinvv
Copy link

I've stubled the similar problem. Ended up downloading dlls from random sites, that eventually worked (32bit version) - worked OK. Thats a security nightmare, but was ok for a tetsing machine haing zero sensitive data or access. Files at least seems to be signed by MS. Attaching here for other users convinience

mspdb100_32bit.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants