Comments (11)
Please provide more info on what errors you saw. Thanks.
Original comment by [email protected]
on 5 Aug 2008 at 7:13
- Added labels: OpSys-Windows, Priority-Low
- Removed labels: Priority-Medium
from googletest.
[deleted comment]
from googletest.
[deleted comment]
from googletest.
[deleted comment]
from googletest.
I have the same problem. Do you have a suggestion or solution for the errors?
Original comment by [email protected]
on 19 Aug 2008 at 9:01
from googletest.
[deleted comment]
from googletest.
[deleted comment]
from googletest.
[deleted comment]
from googletest.
Working solution:
1. Convert solution and all the projects by opening it in Visual Studio
2. gtest_main properties -> Librarian -> Output file -> set to gtest_main.lib
(Debug
and Release)
3. Tools -> Options -> Projects and Solutions -> Build and run -> Maximum
number of
parallel project builds set to 1
4. To remove LNK4204 select all project and open properties -> General ->
Intermediate Directory -> Change from Debug to Debug\$(TargetName) and from
Release
to Release\$(TargetName)
The following errors and warnings appear when building solution on
multiprocessor
machine and the above setting is set to 2 or more:
Command line error D8022 : cannot open
'gtest-1.0.1\msvc\Release\RSP00015340523284.rsp'
Could not delete file 'gtest-1.0.1\msvc\Release\vc90.pdb'.
fatal error LNK1181: cannot open input file '.\release\gtest_main.lib'
Build log could not be opened for writing.
Solution now builds with zero errors an zero warnings in Debug and Release.
Original comment by [email protected]
on 19 Aug 2008 at 8:16
from googletest.
We still don't know what error messages you saw, but it looks like an error we
already fixed in the head revision. It should be part of the next release. I'm
gonna close the issue for now. Please reopen it if you still see the problem
in the
next release (1.1.0, I think), which should occur in a couple of weeks.
Original comment by [email protected]
on 8 Sep 2008 at 11:33
- Changed state: Fixed
from googletest.
This issue is still present. I had to manually follow step #3 to set Max
number of
parallel builds to 1 with VS2k8 Pro.
Maybe this isn't an issue that shows up with VS2k8 Express. I don't believe it
supports parallel builds.
Original comment by [email protected]
on 8 Sep 2009 at 5:57
from googletest.
Related Issues (20)
- [Bug]: Please title this bug report
- [Bug]: Again, Google, wtf is wrong with you
- [Bug]: Google has a wicked infested mindset and it is going down because of it. HOT 1
- [Bug]: Double free or corruption detected in first parameterized test HOT 3
- [FR]: Expose SetUpTestSuite and TearDownTestSuite getters and setters. HOT 1
- [Bug]: gtest_main.so doesn't contain symbols from gtest.so HOT 2
- [Bug]: Flaky infinite `AddressSanitizer:DEADLYSIGNAL` loop when using gtest in github CI HOT 5
- [Bug]: Cannot use structured binding in name generator lambda in INSTANTIATE_TEST_SUITE_P HOT 2
- [Bug]: A race condition exist between the Watcher thread and the main thread terminating.
- [Bug]: `ReturnRef` of type `shared_ptr<Mock<...>> const&` segfaults HOT 2
- [FR]: Add support for building GoogleTest on Xbox platforms HOT 2
- [Bug]: Improve compile-time checking of return values from actions in EXPECT_CALL HOT 11
- EXPECT_EXIT、ASSERT_EXITにてstderrの取得のため以下を実行するとシグナル6で異常終了する。 HOT 1
- [FR]: Skipped reasons in JSON output
- bazel Windows builds are currently failing for automated PR runs on GitHub
- Matchers for C++20 ranges
- [Bug]: Windows Death Tests have different behavior for CLI options compared to other platforms HOT 1
- [Bug]: Compile break for chrono timepoint formatting for macOS target < 13.3 and Xcode 15.3
- [Bug]: StrictMock construction crashed when included in benchmark fixture HOT 1
- What is the correct way to report an error from an Environment teardown?
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 googletest.