View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001673CMakepublic2005-03-15 12:432005-04-06 13:21
ReporterSimon Warfield 
Assigned ToBill Hoffman 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001673: cmake fails on x86_64 platforms
Description1.
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.
TagsNo tags attached.
Attached Files

 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");
      }

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team