tanghong123 / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

VC8.0 vcbuild fails to build msvc/gtest.sln #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd msvc
2. vcbuild gtest.sln

What is the expected output? What do you see instead?
Expected vcbuild to build the solution. Instead it prints this:

Error: project file 'gtest.sln' was not found or not a valid project file.

Original issue reported on code.google.com by vladlosev on 11 Dec 2008 at 7:52

GoogleCodeExporter commented 9 years ago
Could this also be due to the line endings?

Original comment by zhanyong...@gmail.com on 22 Feb 2009 at 5:09

GoogleCodeExporter commented 9 years ago
As it turns out, VC7.1 doesn't have vcbuild. So the vcbuild in question is from
VC8.0, and gtest.sln is for VC7.1. Using '<path-to-VS-71>/Common7/IDE/devenv
gtest.sld /build Debug' compiles the solution fine.

What we really need is to be able to build this solution with VC8.0 vcbuild. 
Which
involves automatically converting it to 8.0, I'm afraid.

Original comment by vladlosev on 11 Mar 2009 at 9:29

GoogleCodeExporter commented 9 years ago
I suggest to close this as "Won't Fix".  We should spend our resources on
functionalities instead.  Will close it after 5 days if no one objects.

Original comment by zhanyong...@gmail.com on 23 Mar 2009 at 8:01

GoogleCodeExporter commented 9 years ago
I object. We need a way to test the projects with Visual Studio 2005, which is 
more
popular now then VS 2003.

Original comment by vladlosev on 23 Mar 2009 at 8:48

GoogleCodeExporter commented 9 years ago
It doesn't seem trivial to auto convert the vc7.1 project to vc8.0.  There's no
evidence that vc 8.0 will fail to compile the converted project.  We shouldn't 
be
testing MS's conversion logic.

We have very limited resources and should use them judiciously.  In this case, I
think it's more effective to rely on the users to report problems if they cannot
build the converted project, and then we fix it, as I expect the problem will 
be very
rare.

Original comment by zhanyong...@gmail.com on 23 Mar 2009 at 9:08

GoogleCodeExporter commented 9 years ago
I think the effort will be better spent if we work on a unifying build script 
instead.

Original comment by zhanyong...@gmail.com on 23 Mar 2009 at 9:31

GoogleCodeExporter commented 9 years ago
Closed as discussed.  Please re-open it if you feel strongly about it.

Original comment by zhanyong...@gmail.com on 31 Mar 2009 at 7:44