Comments (12)
Using advice from https://help.appveyor.com/discussions/problems/10014-false-build-fail-status I've changed how the build script is run from the AppVeyor.
The warning is now ignored and the first build using VS2019
as the default was successful.
https://ci.appveyor.com/project/cefsharp/cef-binary/builds/40187622
from cef-binary.
Reverted to using the previous build worker image in commit c510ba2
Build succeeded https://ci.appveyor.com/project/cefsharp/cef-binary/build/64.0.0-CI67
from cef-binary.
Builds are failing again.
from cef-binary.
According to https://www.appveyor.com/docs/windows-images-software/ the version of cmake
has been upgraded to 3.12.2
so appears the problem is something different than initially though.
Will test with Visual Studio 2017 Preview
and see if there's any change.
from cef-binary.
FWIW (and I'm sure you already saw this), here is the failure. VS2017 Preview doesn't seem to help, unfortunately:
Caught an exception: Cannot bind argument to parameter 'Path' because it is null.
Exception Type: System.Management.Automation.ParameterBindingValidationException
Stack Trace: at Msvs, C:\projects\cef-binary\build.ps1: line 270
at VSX, C:\projects\cef-binary\build.ps1: line 376
at <ScriptBlock>, C:\projects\cef-binary\build.ps1: line 714
at <ScriptBlock>, <No file>: line 1
Cannot bind argument to parameter 'Path' because it is null.
from cef-binary.
Building locally now fails with the same exception, just in a different place. So it appears VS2017 15.8.8
breaks something. Will likely have to deal with that at some point
from cef-binary.
Switching to latest cmake
in bdfb0a0 has made no effect. Local builds are working as expected. Will have to find a way to get cmake
to output more detailed info (it does running locally, that info is lost when running on appveyor).
from cef-binary.
Looking closer at the local output and I see the same warning, so It's probably not the root cause. Need to get cmake error output or be able to download it's log file.
CMake Warning (dev) at CMakeLists.txt:187 (find_package):
Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
CMake variable CEF_ROOT is set to:
C:/projects/cef-binary/cef_binary_3.y.z_windows32
from cef-binary.
Build https://ci.appveyor.com/project/cefsharp/cef-binary/builds/21030987 was successful when rolling back to cmake 3.11.4 (commit 55140b1)
It appears that CMake Policy CMP0074
writes a warning to stderr
which Appveyor
was treating as fatal and terminating the build.
For now build.ps1
is only usable if you have cmake.portable
installed using chocolatey
.
from cef-binary.
I am not sure if we want to try and modify the cmakelist file after it's generated to add something like:
if(POLICY CMP0074)
cmake_policy(SET CMP0074 OLD)
endif()
to disable the warning to allow it to work on Appveyor.
from cef-binary.
I'd largely forgotten about this, builds have been working.
Long term it would be better to have CEF
clearly define the expected behaviour and avoid the warning.
From my point of view this really isn't even on my TODO
list, if the cmake
requirements suddenly change then I'll do something about it.
If it's causing you problems then by all means submit a PR
with a different workaround.
from cef-binary.
CMake-3.14
would be required to build VS2019
with AppVeyor
, if we are to look into that further then yes we'd need to implement a different workaround for this.
from cef-binary.
Related Issues (20)
- 'CEF' folder inside NuGet package, despite 'lib' as standard. HOT 2
- Adding cefsharp to the project adds both x64 and x86 HOT 1
- VS2019 not found with VS2022 target HOT 1
- Deploy app with cefsharp as ClickOnce HOT 1
- MacOS packages missing HOT 4
- Request for 116.0.27+gd8c85ac+chromium-116.0.5845.190 HOT 2
- Could you also build Ungoogled ones? From Ungoogled-chromium HOT 2
- cef.redist.x64 is missing NuGet package README file HOT 1
- cef.redist.x64 and cefredist.x86 missing version > 120.2.7 on Nuget HOT 1
- Build.ps1 - Update chromiumembeddedframework.runtime.json version number
- Add license to cef.redist HOT 2
- Cef sharp x64, x86 cef redist update error HOT 4
- How to use cef.sdk.mp4support? HOT 1
- Deprecate cef.redist packages HOT 14
- cef.redist x86/x64 make props transitive
- Adding all supported runtimes? HOT 1
- CEF now requires Visual Studio 2019 HOT 3
- CEF binaries v92.0.14 missing from myget HOT 3
- build.ps1 - Add option to package a subset of the support architectures HOT 1
- Missing cef_library_loader.h HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cef-binary.