Open ozerkon opened 3 years ago
Hello,
To build on Win10, I ended up generating src/webdriver/webdriver_version.cc
by hand:
namespace webdriver {
extern const char kProductName[] = "WebDriver-cisco-cmt";
extern const char kVersionNumber[] = "1.3.3";
extern const char kBuildTime[] = __TIME__;
extern const char kBuildDate[] = __DATE__;
extern const char kLastChanges[] = "whatever";
}
Then I removed python generate_wdversion.py
in build.bat
After that you also need to remove some lines in src/third_party/mongoose/mongoose.c
struct timespec {
long tv_nsec;
long tv_sec;
};
Finally, I needed to add macro definition in generated chromium_base.vcxproj
& WebDriver_core.vcxproj
<PreprocessorDefinitions>_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS;......
For the moment, I only succeeded to compile on vs2019, i'll ry to use it now :)
Hope it helps, Vincent
Hi, Following the instructions here I wanted to install the qtwebdriver but failed.
Here is the "C:\Program Files\Git\qtwebdriver\generate_wdversion.py" file
And here is the "C:\Program Files\Git\qtwebdriver\build.sh" file: