Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using bls-signatures as a dependency does not work on Windows #100

Open
ktechmidas opened this issue Oct 17, 2024 · 0 comments
Open

Using bls-signatures as a dependency does not work on Windows #100

ktechmidas opened this issue Oct 17, 2024 · 0 comments

Comments

@ktechmidas
Copy link

ktechmidas commented Oct 17, 2024

My understanding is that this is caused by no quotes around the post-build task, making it fail with a strange error

echo VCTargetsPath=C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\ :VCEnd The network path was not found.

Caused by:
  process didn't exit successfully: `C:\dash-evo-tool\target\release\build\bls-dash-sys-38d764f1db0bcbff\build-script-build` (exit code: 101)
  --- stdout
  root \\?\C:\Users\Administrator\.cargo\git\checkouts\bls-signatures-e0755d81beabafa6\1c2fc79
  bls_dash_build_path \\?\C:\Users\Administrator\.cargo\git\checkouts\bls-signatures-e0755d81beabafa6\1c2fc79\build
  bls_dash_src_path \\?\C:\Users\Administrator\.cargo\git\checkouts\bls-signatures-e0755d81beabafa6\1c2fc79\src
  Run cmake:
  -- Building for: Visual Studio 17 2022
  -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.20348.
  -- Configuring incomplete, errors occurred!

  --- stderr
  CMake Error at CMakeLists.txt:15 (project):
    Failed to run MSBuild command:

      C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe

    to get the value of VCTargetsPath:

      MSBuild version 17.11.9+a69bbaaf5 for .NET Framework
      Build started 10/17/2024 2:10:46 PM.

      Project "\\?\C:\Users\Administrator\.cargo\git\checkouts\bls-signatures-e0755d81beabafa6\1c2fc79\build\CMakeFiles\3.30.5\VCTargetsPath.vcxproj" on node 1 (default targets).
      PrepareForBuild:
        Creating directory "VCTargetsPath\x64\Debug\".
        Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
        Creating directory "\\?\C:\Users\Administrator\.cargo\git\checkouts\bls-signatures-e0755d81beabafa6\1c2fc79\build\CMakeFiles\3.30.5\x64\Debug\".
        Creating directory "VCTargetsPath\x64\Debug\VCTargetsPath.tlog\".
      InitializeBuildStatus:
        Creating "VCTargetsPath\x64\Debug\VCTargetsPath.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
        Touching "VCTargetsPath\x64\Debug\VCTargetsPath.tlog\unsuccessfulbuild".
      PostBuildEvent:
        echo VCTargetsPath=C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\
        :VCEnd
        The network path was not found.
        VCTargetsPath=C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: The command "echo VCTargetsPath=C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\ [\\?\C:\Users\Administrator\.cargo\git\checkouts\bls-signatures-e0755d81beabafa6\1c2fc79\build\CMakeFiles\3.30.5\VCTargetsPath.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: :VCEnd" exited with code 1. [\\?\C:\Users\Administrator\.cargo\git\checkouts\bls-signatures-e0755d81beabafa6\1c2fc79\build\CMakeFiles\3.30.5\VCTargetsPath.vcxproj]
      Done Building Project "\\?\C:\Users\Administrator\.cargo\git\checkouts\bls-signatures-e0755d81beabafa6\1c2fc79\build\CMakeFiles\3.30.5\VCTargetsPath.vcxproj" (default targets) -- FAILED.

      Build FAILED.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant