View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014783CMakeModulespublic2014-03-03 06:042014-10-06 10:32
Reporterphilrosenberg 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformPCOSWindows 8 63 bitOS Version8
Product Version 
Target VersionFixed in Version 
Summary0014783: nightly build problem with findwxWidgets
DescriptionHi
I previously reported a bug with the findwxWidgets module where CMake never found the 64 bit version of wxWidgets on Windows - http://www.cmake.org/Bug/view.php?id=14642 [^]
I notice in the latest nightly build that some changes have been made to try to fix this. However, now if I use the 32 bit Visual Studio generator I get the 64 bit version of wxWidgets, so the problem is now reversed - i.e. CMake always finds the 64 bit version even when it should find the 32 bit version.

To fix this you can use if( ${CMAKE_GENERATOR} MATCHES "Win64$" ) to set the 64 bit prefix, rather than if(CMAKE_CL_64)

Phil
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0014642closedKitware Robot CMAKE does not find the 64 bit versions of wxWidgets on Windows 
related to 0014393closedBrad King FindwxWidgets.cmake doesn't look for x64 wxWidgets (MSVC) directories. 

  Notes
(0035228)
Brad King (manager)
2014-03-03 08:52

CMAKE_CL_64 is set here:

 http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/Platform/Windows-MSVC.cmake;hb=v3.0.0-rc1#l116 [^]

based on the target architecture for the current build tree.
(0035229)
Brad King (manager)
2014-03-03 08:57

Since issue 0014642 is about the same problem we can resume discussion over there. I'm resolving this as a duplicate of that.
(0036925)
Robert Maynard (manager)
2014-10-06 10:32

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

 Issue History
Date Modified Username Field Change
2014-03-03 06:04 philrosenberg New Issue
2014-03-03 08:49 Brad King Relationship added related to 0014393
2014-03-03 08:52 Brad King Note Added: 0035228
2014-03-03 08:53 Brad King Relationship added related to 0014642
2014-03-03 08:56 Brad King Relationship replaced duplicate of 0014642
2014-03-03 08:57 Brad King Note Added: 0035229
2014-03-03 08:57 Brad King Status new => resolved
2014-03-03 08:57 Brad King Resolution open => duplicate
2014-10-06 10:32 Robert Maynard Note Added: 0036925
2014-10-06 10:32 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team