Skip to content

Link Error with static-dxc #6655

@cwfitzgerald

Description

@cwfitzgerald

Description

I'm getting after a clean target compile with cargo build --all-features

note: libmach_dxcompiler_rs-b2bb2d356feefa37.rlib(LoopUnroll.obj) : error LNK2019: unresolved external symbol __std_replace_8 referenced in function "bool __cdecl llvm::UnrollLoop(class llvm::Loop *,unsigned int,unsigned int,bool,bool,unsigned int,class llvm::LoopInfo *,class llvm::Pass *,class llvm::LPPassManager *,class llvm::AssumptionCache *)" (?UnrollLoop@llvm@@YA_NPEAVLoop@1@II_N1IPEAVLoopInfo@1@PEAVPass@1@PEAVLPPassManager@1@PEAVAssumptionCache@1@@Z)
          F:\Programming\wgpu\target\debug\deps\wgpu_core-f3ab96544fb31140.exe : fatal error LNK1120: 1 unresolved externals

cc @DouglasDwyer

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend: dx12Issues with DX12 or DXGIplatform: windowsIssues with integration with windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions