View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011363CMakeCMakepublic2010-10-26 10:422011-03-10 14:41
ReporterNils Gladitz 
Assigned ToPhilip Lowman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.4Fixed in VersionCMake 2.8.4 
Summary0011363: FindBoost.cmake fails to find debug libraries in tagged layout boost installation
DescriptionI did a --layout=tagged build of Boost 1.42.0 on windows.
The resulting installed libraries are named like this:

libboost_filesystem-mt.lib
libboost_filesystem-mt-gd.lib

FindBoost.cmake picks up libboost_filesystem-mt.lib for both debug and release.

To properly detect the debug library the following name seems to be missing from the list of possible debug names:
${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG}
TagsNo tags attached.
Attached Filesdiff file icon FindBoost_tagged.diff [^] (835 bytes) 2010-10-28 02:39 [Show Content]

 Relationships

  Notes
(0022713)
Philip Lowman (developer)
2010-10-26 20:31

I believe the FindBoost included with CMake 2.8.3 RC3 resolves this issue.
http://www.cmake.org/files/v2.8/?C=M;O=D [^]

Could you give it a try and let me know if it still isn't working for you?
(0022714)
Nils Gladitz (developer)
2010-10-27 03:48

I'm not currently at work to test this but the FindBoost.cmake file in 2.8.3 rc3 (which I think is also what I originally tested with) does not contain the appropriate debug name as described above. (I also checked git master which seems to be identical)
(0022725)
Nils Gladitz (developer)
2010-10-28 02:41

I just tested at work and I had cmake 2.8.3 rc2 installed but the problem still persists in 2.8.3 rc3.
The attached patch fixes it for me.
(0022740)
Philip Lowman (developer)
2010-10-28 22:58

Sorry, you are right. I was looking at the wrong bit of code.

I've checked your patch into the staging area. I don't control what gets merged into the next release (2.8.3), so it's possible this may not make it in which case it would be in 2.8.4. I will update the release status as soon as I know.

Thanks again.
(0023115)
Philip Lowman (developer)
2010-11-09 21:15

It will be fixed in 2.8.4, thanks for the bug report.
(0025733)
David Cole (manager)
2011-03-10 14:41

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2010-10-26 10:42 Nils Gladitz New Issue
2010-10-26 20:29 Philip Lowman Status new => assigned
2010-10-26 20:29 Philip Lowman Assigned To => Philip Lowman
2010-10-26 20:31 Philip Lowman Note Added: 0022713
2010-10-27 03:48 Nils Gladitz Note Added: 0022714
2010-10-28 02:39 Nils Gladitz File Added: FindBoost_tagged.diff
2010-10-28 02:41 Nils Gladitz Note Added: 0022725
2010-10-28 22:58 Philip Lowman Note Added: 0022740
2010-11-09 21:14 Philip Lowman Target Version => CMake 2.8.4
2010-11-09 21:15 Philip Lowman Note Added: 0023115
2010-11-09 21:15 Philip Lowman Status assigned => resolved
2010-11-09 21:15 Philip Lowman Fixed in Version => CMake 2.8.4
2010-11-09 21:15 Philip Lowman Resolution open => fixed
2011-03-10 14:41 David Cole Note Added: 0025733
2011-03-10 14:41 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team