View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011633CMakeCMakepublic2010-12-20 10:482011-01-12 08:02
ReporterPetr Petrov 
Assigned ToBrad King 
PriorityhighSeverityblockReproducibilityalways
StatusclosedResolutionfixed 
PlatformMicrosoft Visual C++ 2008OSWindows VistaOS Version6.0
Product VersionCMake 2.8.3 
Target VersionCMake 2.8.4Fixed in VersionCMake 2.8.4 
Summary0011633: Incorrect generator for VC2008
DescriptionPlease download the latest night build of cmake.
I have used the following: http://www.cmake.org/files/dev/cmake-2.8.3.20101217-gbed32-win32-x86.exe [^]

Using provided trivial example try to generate VC2008 project files.

Then try build by vcbuild.exe program, such as:
vcbuild.exe Test.sln

VCBuild.exe utility shows the following error:
Error: project 'ZERO_CHECK.vcproj' could not be found...

I think that this problem of VC2008 or vcbuild.exe utility from VC2008 - it DOES NOT support full project paths in .sln files.

This problem relates to the following bug - http://public.kitware.com/Bug/view.php?id=11598, [^]
which was fixed by Brad King. In this fix the full project file paths are written into solution\project files. It is OK for VC2010 generator, by for VC2008 generator it causes additional problems.

I think that this patch should be applied only for VS2010 generator, not for VS2008 generator. VC2008 generator should generate project's paths from the current directory ".\SomePath" and etc (as before http://public.kitware.com/Bug/view.php?id=11598 [^] fix).
Steps To Reproduce1) Unpack the provided .zip archive with test example (very simple example)
2) Generate VC2008 project files, by the following cmake version - http://www.cmake.org/files/dev/cmake-2.8.3.20101217-gbed32-win32-x86.exe [^]
3) Try to build by vcbuild.exe utility, such as vcbuild.exe TestPetrPetrov.sln
4) You will see the error message, the project building will be stop
Additional InformationThanks to Brad King for fixing bugs!
TagsNo tags attached.
Attached Fileszip file icon cmake_small_test.zip [^] (556 bytes) 2010-12-20 10:48

 Relationships
related to 0011594closedBrad King Incorrect generator for VC2010 

  Notes
(0024283)
Brad King (manager)
2010-12-20 11:14

It's the fix to 0011594 that caused this, not 11598.
(0024286)
Brad King (manager)
2010-12-20 12:42

I reverted the bug fix that caused this:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=42a2e9d9 [^]

and re-opened the original bug.

 Issue History
Date Modified Username Field Change
2010-12-20 10:48 Petr Petrov New Issue
2010-12-20 10:48 Petr Petrov File Added: cmake_small_test.zip
2010-12-20 10:53 Bill Hoffman Assigned To => Brad King
2010-12-20 10:53 Bill Hoffman Status new => assigned
2010-12-20 11:09 Brad King Relationship added related to 0011598
2010-12-20 11:13 Brad King Relationship added related to 0011594
2010-12-20 11:14 Brad King Relationship deleted related to 0011598
2010-12-20 11:14 Brad King Note Added: 0024283
2010-12-20 12:42 Brad King Note Added: 0024286
2010-12-20 12:42 Brad King Status assigned => closed
2010-12-20 12:42 Brad King Resolution open => fixed
2011-01-12 08:02 David Cole Fixed in Version => CMake 2.8.4
2011-01-12 08:02 David Cole Target Version => CMake 2.8.4


Copyright © 2000 - 2018 MantisBT Team