From 909162324349a6f254f981d341a8d526ab30fb4a Mon Sep 17 00:00:00 2001 From: mlodew Date: Sun, 19 Mar 2017 17:50:33 +0100 Subject: [PATCH] Fixed lib and dll paths in visual studio build (#2375) Fixed path to lib and dll files. --- builds/msvc/readme.txt | 2 +- builds/msvc/vs2015/libzmq.import.props | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/builds/msvc/readme.txt b/builds/msvc/readme.txt index b424394b..d7a369b2 100644 --- a/builds/msvc/readme.txt +++ b/builds/msvc/readme.txt @@ -3,7 +3,7 @@ For building on Windows, use: cd build ./build.bat -This requires that the CMD.EXE be created using the DevStudio Tools link to create a CMD.EXE window. +This requires that the CMD.EXE be created using the DevStudio Tools link to create a CMD.EXE window. Also, make sure that the name of the project folder is libzmq (not e.g. libzmq-master) as this is required for correct linking. Visual Studio product and C++ compiler Versions: diff --git a/builds/msvc/vs2015/libzmq.import.props b/builds/msvc/vs2015/libzmq.import.props index 66ae2753..26176e8d 100644 --- a/builds/msvc/vs2015/libzmq.import.props +++ b/builds/msvc/vs2015/libzmq.import.props @@ -27,13 +27,13 @@ - $(ProjectDir)..\..\..\..\..\libzmq\include\;%(AdditionalIncludeDirectories) + $(ProjectDir)\..\..\..\..\..\libzmq\include\;%(AdditionalIncludeDirectories) ZMQ_STATIC;%(PreprocessorDefinitions) libzmq.lib;%(AdditionalDependencies) - $(ProjectDir)..\..\..\..\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libzmq)\;%(AdditionalLibraryDirectories) - $(ProjectDir)..\..\..\..\bin\$(PlatformName)\Release\$(PlatformToolset)\$(Linkage-libzmq)\;%(AdditionalLibraryDirectories) + $(ProjectDir)\..\..\..\..\..\libzmq\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libzmq)\;%(AdditionalLibraryDirectories) + $(ProjectDir)\..\..\..\..\..\libzmq\bin\$(PlatformName)\Release\$(PlatformToolset)\$(Linkage-libzmq)\;%(AdditionalLibraryDirectories) @@ -41,15 +41,15 @@