View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007467 | CMake | CMake | public | 2008-08-07 10:49 | 2008-11-28 16:25 | ||||
Reporter | Fernando Lemos | ||||||||
Assigned To | Miguel Figueroa | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | WIN32 | OS | Windows | OS Version | Vista, 2000 | ||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | CMake-2-6 | |||||||
Summary | 0007467: FindwxWidgets.cmake shouldn't look for build.cfg | ||||||||
Description | The file FindwxWidgets.cmake bundled with CMake 2.6.1 looks in WX_ROOT_DIR for msw/build.cfg or mswd/build.cfg. However, those files are not generated if wxWidgets has been compiled with Visual C++ (tested in both VS2005 and VS2008). | ||||||||
Steps To Reproduce | 1. Compile wxWidgets with Visual Studio. 2. Try to use FIND_PACKAGE to look for wxWidgets and use REQUIRED. 3. It'll fail to locate wxWidgets. | ||||||||
Additional Information | CMake 2.4.8 shipped with a version of FindwxWidgets.cmake that didn't have that problem (it didn't look for build.cfg), so this might be considered a regression. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | vc_lib.zip [^] (26,642 bytes) 2008-10-20 07:22 FindwxWidgets.cmake [^] (36,835 bytes) 2008-10-20 09:18 | ||||||||
Relationships | |
Relationships |
Notes | |
(0013901) Miguel Figueroa (developer) 2008-10-19 20:53 |
Fernando, I suppose you compile with VisualStudio as opposed to nmake. Does VisualStudio create any of these dirs? wxWidgets/lib/vc_lib/msw wxWidgets/lib/vc_lib/mswu wxWidgets/lib/vc_lib/mswd wxWidgets/lib/vc_lib/mswud If so can you send me the contents of this directory? If not can you send me the contents of the wxWidgets/lib/vc_lib directory? --Miguel |
(0013903) Fernando Lemos (reporter) 2008-10-20 07:26 |
Hello, Correct, I'm compiling it through the IDE, not using nmake directly. Yes, VisualStudio creates these dirs. In my specific case, it did not create the mswu and mswud directories because I didn't compile wxWidgets with Unicode support. I've attached a zip file containing /lib/vc_lib/msw and mswd. TIA, |
(0013904) Miguel Figueroa (developer) 2008-10-20 09:21 |
Fernando, Can you test the uploaded FindwxWidgets.cmake file? It should be a matter of simply replacing the current one with this one (backup the old one of course). I believe that your problem should be addressed with this patch and I'll proceed to apply it to cmake cvs if you can confirm it. Thanks, --Miguel |
(0013906) Fernando Lemos (reporter) 2008-10-20 11:28 |
Yes, that did the trick! Thanks! |
(0013917) Miguel Figueroa (developer) 2008-10-20 18:45 |
Resolved in FindwxWidgets rev. 1.26 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-08-07 10:49 | Fernando Lemos | New Issue | |
2008-08-19 13:54 | Bill Hoffman | Status | new => assigned |
2008-08-19 13:54 | Bill Hoffman | Assigned To | => Miguel Figueroa |
2008-10-19 20:53 | Miguel Figueroa | Note Added: 0013901 | |
2008-10-20 07:22 | Fernando Lemos | File Added: vc_lib.zip | |
2008-10-20 07:26 | Fernando Lemos | Note Added: 0013903 | |
2008-10-20 09:18 | Miguel Figueroa | File Added: FindwxWidgets.cmake | |
2008-10-20 09:21 | Miguel Figueroa | Note Added: 0013904 | |
2008-10-20 11:28 | Fernando Lemos | Note Added: 0013906 | |
2008-10-20 18:45 | Miguel Figueroa | Note Added: 0013917 | |
2008-10-20 18:45 | Miguel Figueroa | Status | assigned => resolved |
2008-10-20 18:45 | Miguel Figueroa | Resolution | open => fixed |
2008-11-28 16:25 | Miguel Figueroa | Status | resolved => closed |
2008-11-28 16:25 | Miguel Figueroa | Fixed in Version | => CMake-2-6 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |