• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved vcpkg building issues

zbizu

Legendary OT User
Joined
Nov 22, 2010
Messages
3,161
Solutions
23
Reaction score
2,313
Location
Poland
GitHub
Zbizu
I tried to obtain libraries to compile RME, but vcpkg just refuses to work.
Anyone knows how to fix that? Windows 7, visual studio 2019.
I tried with a fresh vcpkg too but it broke even harder and I had to return to my previous vcpkg folder.

Input:
Code:
./vcpkg install wxwidgets:x64-windows boost:x64-windows libarchive:x64-windows freeglut:x64-windows

I have tried cmd, powershell and git bash, the result is identical.

output from part where it breaks:
Code:
Building package boost-type-erasure[core]:x64-windows... done
Installing package boost-type-erasure[core]:x64-windows...
Installing package boost-type-erasure[core]:x64-windows... done
Elapsed time for package boost-type-erasure:x64-windows: 20.75 s
Starting package 2/19: python3:x64-windows
Building package python3[core]:x64-windows...
-- Using cached C:/vcpkg/downloads/python-cpython-v3.7.3.tar.gz
-- Extracting source C:/vcpkg/downloads/python-cpython-v3.7.3.tar.gz
-- Using source at C:/vcpkg/buildtrees/python3/src/v3.7.3-1161ad7a91
-- Building C:/vcpkg/buildtrees/python3/src/v3.7.3-1161ad7a91-Lib-Win/PCBuild/pythoncore.vcxproj for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: msbuild C:/vcpkg/buildtrees/python3/src/v3.7.3-1161ad7a91-Lib-Win/PCBuild/pythoncore.vcxproj /p:Configuration=Release /t:Rebuild /p:UseEnv=True /p:Platform=x64 /p:PlatformToolset=v142 /p:VCPkgLocalAppDataDisabled=true /p:UseIntelMKL=No /p:WindowsTargetPlatformVersion=10.0.22000.0 /m
    Working Directory: C:/vcpkg/buildtrees/python3/x64-windows-rel
    Error code: 1
    See logs for more information:
      C:\vcpkg\buildtrees\python3\build-x64-windows-rel-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_msbuild.cmake:120 (vcpkg_execute_required_process)
  ports/python3/portfile.cmake:46 (vcpkg_build_msbuild)
  scripts/ports.cmake:90 (include)


Error: Building package python3:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: python3:x64-windows
  Vcpkg version: 2020.02.04-nohash-external

Additionally, attach any relevant sections from the log files above.
Post automatically merged:

Update: The issue was CMake delivered with this visual studio version.
Uninstalling vs19, installing vs17 and running the command through git bash solved that.
 
Last edited:
Top