Closed zcream closed 3 years ago
For reference, I was able to build a number of other libs. Is the pixman build broken on windows 7 vcpkg?
@DeveloperPaul123 VCPKG_FORCE_SYSTEM_BINARIES is not set. The build uses downloaded tools for all except ninja. The only set env is VCPKG_DEFAULT_TRIPLET with x64-windows-static
VCPKG_FORCE_SYSTEM_BINARIES works in the other direction, IIUC.
@zcream @dg0yt Yes looking back at the original comment it seems that I misunderstood what OP was after; sorry about that. I'm not sure if it's possible honestly with the given options that are currently available with vcpkg
.
As a method of debug I wish to tell vcpkg to ignore the system ninja and download its own copy. I'm not sure how to do that.
If the system ninja is taken from the PATH, it should be possible to change the PATH before running vcpkg.
Its odd. I cannot find it in my path. I get an error if I type ninja in cmd or powershell.
Also, pixman seems to fail using both x86 and x64 triplets while I can build many other libs. I do believe the issues is not ninja, pixman current build is broken at least on Windows 7.
@JackBoosY I have opened a build failure report at https://github.com/microsoft/vcpkg/issues/17924
I believe these issues are related to a build failure. The version of ninja is not the issue.
vcpkg will find the path of the ninja in the PATH, if it cannot find it, it will download the appropriate version and use it.
@zcream
Is this still a problem for you now?
@NancyLi1013 I have posted a general question https://github.com/microsoft/vcpkg/issues/18352 about using Visual Studio as generator instead of ninja. Some of my problems may be due to documented build failure after ninja 1.10
As you can see here https://github.com/microsoft/vcpkg/pull/10964#issuecomment-656362040, for the problem caused by Ninja, it would be better to fix on ports sides.
The original problem is different from the one in #10964. I also noticed that you opened another issue #17924, but you closed it. So please let me know if you have other concerns about the original problem in this issue.
I am facing a build error that I would like to debug. I see that vcpkg is using ninja from my system.
-- Found external ninja('1.10.2').
As a method of debug I wish to tell vcpkg to ignore the system ninja and download its own copy. I'm not sure how to do that.
Build Error.