Skip to content

fatal error LNK1104: cannot open file 'pthread.lib'  #4

@a-borella

Description

@a-borella

I'm trying to build MCNP tools on Widnows with
MSVC 19.0
cmake version 3.25.2

I'm getting the following errors

LINK : fatal error LNK1104: cannot open file 'pthreads.lib' [D:\TOOLS\MCNP_TOOLS\mcnptools-main\mcnptools-main\CMakeFiles\CMakeScratch\TryCompile-rx3low\cmTC_e47a5.vcxproj]

LINK : fatal error LNK1104: cannot open file 'pthread.lib' [D:\TOOLS\MCNP_TOOLS\mcnptools-main\mcnptools-main\CMakeFiles\CMakeScratch\TryCompile-do7z8r\cmTC_e1da9.vcxproj]

error log attached

Could you please help?

CMakeError.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions