-
Notifications
You must be signed in to change notification settings - Fork 65
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
Windows Build Failure with Gtest #885
Comments
Are you testing locally on Windows, or only via our GitHub actions workflows? My best guess is that something has changed with the GitHub build environment and not the code itself. |
I haven't tested it on my local Windows. The tests were conducted only through our GitHub actions workflows. Yes, I am also guessing the same thing. I have found a conflicting definitions of the same class which located in two different files.
|
The |
More information: The Windows build currently installed
Notably, the previous version (v0.6.3) used Long term solutions include some combination of:
|
Amazing!!! It worked!!! I tried various methods, but it turns out that |
I've raised an issue on the |
I believe the most robust approach is to remove the I tried the following method: # Add the include directories for Google Test to the gtest target
target_include_directories(gtest PRIVATE ${GTEST_DIR})
target_include_directories(gtest PRIVATE ${GTEST_DIR}/include) Despite these changes, the custom header path didn't take precedence as expected. |
Issue Description:
Overview:
I and @gonuke have encountered a persistent build failure on the Windows platform in our workflow file (#860, #869). Despite updating Gtest to version 1.13.0 and re-running the workflows, the problem persists. Interestingly, the Linux and Mac workflows have been successful with the latest Gtest version.
Affected Workflow:
Expected Behavior:
The Windows build should successfully pass, just like the Linux and Mac builds, after updating Gtest to v1.13.0.
Observed Behavior:
The Windows build is failing consistently, indicating there might be an issue specific to the Windows environment.
Error Message:
The error message encountered during the Windows builds can be found in the workflow log linked above.
Related Logs:
We would appreciate any assistance or insights from the community to identify and resolve this issue so that the Windows build can proceed successfully with Gtest v1.13.0. Thank you for your support!
Tagging: @makeclean (who mentioned the Gtest-related issue).
The text was updated successfully, but these errors were encountered: