Skip to content

PDB files shipped with Boost/MSVC releases from sourceforge trigger ERROR when using dependency('boost') #8325

@andrzejc

Description

@andrzejc

Binary Boost releaases downloaded from https://sourceforge.net/projects/boost/files/boost-binaries/ include debbuging information in separete .pdb files stored alongside .lib and .dll files in lib<32|64>-msvc-<version> directories.

The error visible in the log looks like this:

meson.build:13:0: ERROR: Unable to process library extension "pdb" (C:\opt\moonlight-deps\boost_1_75_0\lib32-msvc-14.1\boost_atomic-vc141-mt-gd-x32-1_75.pdb)

which hints at the following code location:

raise DependencyException('Unable to process library extension "{}" ({})'.format(self.nvsuffix, self.path))

I think the official binary releases for MSVC should be consumable in the form they are shipped.
Workaround: currently I need to move .pdb files to separate directory, which requires write access to the lib... directory - not always available on CI systems with boost preinstalled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions