Skip to content

Conversation

Mr-Leshiy
Copy link
Contributor

Fixes #15049

The reason of this problem is existance two similar lines in the libbitcoin_server.vcxproj file that appears after the executing the msvc-autogen.py script .

line 157

<ClCompile Include="..\..\src\rpc\net.cpp">
  <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)\netrpc.obj</ObjectFileName>
  <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)\netrpc.obj</ObjectFileName>
  <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)\netrpc.obj</ObjectFileName>
  <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)\netrpc.obj</ObjectFileName>
</ClCompile>

line 256

<ClCompile Include="..\..\src\rpc\net.cpp"> 
  <ObjectFileName>$(IntDir)rpc_net.obj</ObjectFileName>
</ClCompile>

@maflcko maflcko changed the title Fix the build problem in libbitcoin_server build_msvc: Fix the build problem in libbitcoin_server Jan 5, 2019
@fanquake
Copy link
Member

fanquake commented Jan 5, 2019

tACK c98f886

Prior to this change, the libbitcoin_server "solution" is unusable:
screen shot 2019-01-06 at 12 48 56 am

After applying c98f886 and regenerating the project files it works correctly:
vstudio

@practicalswift
Copy link
Contributor

@Mr-Leshiy Very nice first-time contribution! Welcome as a contributor! :-)

You might want to check out, test and review #14151 if you have access to MSVC. That would be awesome!

@Mr-Leshiy
Copy link
Contributor Author

@practicalswift thank you.
Of course, i will check it.

@laanwj laanwj merged commit c98f886 into bitcoin:master Jan 7, 2019
laanwj added a commit that referenced this pull request Jan 7, 2019
c98f886 Fix the build problem in libbitcoin_server (Alexey Poghilenkov)

Pull request description:

  Fixes #15049

  The reason of this problem is existance two similar lines in the libbitcoin_server.vcxproj file that appears after the executing the msvc-autogen.py script .

  line 157
  >   <ItemGroup>
      <ClCompile Include="..\..\src\rpc\net.cpp">
        <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)\netrpc.obj</ObjectFileName>
        <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)\netrpc.obj</ObjectFileName>
        <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)\netrpc.obj</ObjectFileName>
        <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)\netrpc.obj</ObjectFileName>
      </ClCompile>

  line 256

  >   <ItemGroup>
      <ClCompile Include="..\..\src\rpc\net.cpp">
        <ObjectFileName>$(IntDir)rpc_net.obj</ObjectFileName>
      </ClCompile>

Tree-SHA512: 0f2841a32253c503731c9007fa2a02d330ab4b670c154dcfce6fd0919752317bc3133f074d21e90f73054ab3c0a8a3d222b4fadc34fbcecd3e8af093eea38b49
linuxsh2 pushed a commit to linuxsh2/dash that referenced this pull request Sep 16, 2021
…server

c98f886 Fix the build problem in libbitcoin_server (Alexey Poghilenkov)

Pull request description:

  Fixes bitcoin#15049

  The reason of this problem is existance two similar lines in the libbitcoin_server.vcxproj file that appears after the executing the msvc-autogen.py script .

  line 157
  >   <ItemGroup>
      <ClCompile Include="..\..\src\rpc\net.cpp">
        <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)\netrpc.obj</ObjectFileName>
        <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)\netrpc.obj</ObjectFileName>
        <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)\netrpc.obj</ObjectFileName>
        <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)\netrpc.obj</ObjectFileName>
      </ClCompile>

  line 256

  >   <ItemGroup>
      <ClCompile Include="..\..\src\rpc\net.cpp">
        <ObjectFileName>$(IntDir)rpc_net.obj</ObjectFileName>
      </ClCompile>

Tree-SHA512: 0f2841a32253c503731c9007fa2a02d330ab4b670c154dcfce6fd0919752317bc3133f074d21e90f73054ab3c0a8a3d222b4fadc34fbcecd3e8af093eea38b49
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The project "libbitcoin_server" can not load successfully in VS2017
4 participants