View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001673 | CMake | public | 2005-03-15 12:43 | 2005-04-06 13:21 | |||||
Reporter | Simon Warfield | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | high | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | duplicate | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001673: cmake fails on x86_64 platforms | ||||||||
Description | 1. precompiled cmake has incompatible code on x86_64, an x86_64 binary must be used. 2. cmake 2.0.5 finds 32 bit but not 64 bit versions of libraries. Especially X11, OpenGL and tcl/tk. It should look in /usr/X11R6/lib64 and /usr/lib64 3. There should be some design changes to support 64 bit builds on a 64 bit platform and 32 bit builds on a 64 bit platform. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0002306) Bill Hoffman (manager) 2005-04-05 17:06 |
I added a try compile for sizeof void* and in the FindLibrary code I added this: (do you think that will be enough?) (Please try cvs cmake and see if it works for you.) std::string voidsize = this->GetRequiredDefinition("CMAKE_SIZEOF_VOID_P"); int size = atoi(voidsize.c_str()); if(size == 8) { path.push_back("/usr/X11R6/lib64"); path.push_back("/usr/local/lib64"); path.push_back("/usr/lib64"); } if(size == 4) { path.push_back("/usr/X11R6/lib32"); path.push_back("/usr/local/lib32"); path.push_back("/usr/lib32"); } |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |