Skip to content

Build VS2010 - LINK : fatal error LNK1104: cannot open file 'libzmq.lib' #2341

@dcube9

Description

@dcube9

Hi,
during build versione 4.2.1 with VS2010 (Both Batch and VStudio) error LNK1104 occours in all "perf" tools.
To fix the problem : modify paths in AdditionalLibraryDirectories and SourceFiles of file .....builds\msvc\vs2015\libzmq.import.props

AdditionalLibraryDirectories
Original : $(ProjectDir)..\..\..\..\..\libzmq\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libzmq)\
Modify in : $(ProjectDir)..\..\..\..\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libzmq)\

SourceFiles in Target Name="Linkage-libzmq-dynamic"
All : $(ProjectDir)..\..\..\..\..\libzmq\bin\$(PlatformName)\Debug\$(PlatformToolset)\dynamic\
Modify in : $(ProjectDir)..\..\..\..\bin\$(PlatformName)\Release\$(PlatformToolset)\dynamic\

Regards
P

PS : Why all VS201x use the file libzmq.import.props in VS2015 path ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions