[CMake] 32-bit mode on 64-bit machine

2011-05-26 Thread Sara Rolfe
Hello, I'd like to force a 64-bit machine to build a 32-bit program. Can I control this using CMake? Thanks, Sara ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] Handle lib64 library on Linux

2011-05-25 Thread Sara Rolfe
this) on that list. I'm sure there are people who have built 64-bit Linux programs using ITK and VTK over there. There must be an answer to this question from someone. HTH, David On Tue, May 24, 2011 at 2:56 PM, Sara Rolfe smro...@u.washington.edu wrote: I have also tried InsightToolkit-3.20.0

Re: [CMake] Handle lib64 library on Linux

2011-05-24 Thread Sara Rolfe
Is there some other way that I can force CMake to find /usr/lib/ libuuid.so? Like if I included it as an external library? Thanks, Sara On May 23, 2011, at 2:29 PM, Sara Rolfe wrote: Hi Eric, Yes, I believe it is a dependancy from ITK. I saw that wiki page and at the time did not have

Re: [CMake] Handle lib64 library on Linux

2011-05-24 Thread Sara Rolfe
) ADD_EXECUTABLE(SubsampleVolume SubsampleVolume.cxx ) TARGET_LINK_LIBRARIES(SubsampleVolume ITKNumerics ITKIO ITKBasicFilters vtkRendering vtkIO vtkWidgets vtkHybrid ${LIBVAR}) On May 24, 2011, at 9:24 AM, Sara Rolfe wrote: Is there some other way that I can force CMake to find /usr/lib/ libuuid.so

Re: [CMake] Handle lib64 library on Linux

2011-05-24 Thread Sara Rolfe
Hi David, I get: $ grep -i uuid CMakeCache.txt LIBVAR:FILEPATH=/usr/lib64/libuuid.so Sorry for the double email, I dropped the mailing list in the last one. Thanks, Sara On May 24, 2011, at 10:21 AM, David Cole wrote: On Tue, May 24, 2011 at 12:54 PM, Sara Rolfe smro...@u.washington.edu

Re: [CMake] Handle lib64 library on Linux

2011-05-24 Thread Sara Rolfe
Unfortunately, changing the variable name from LIBVAR to uuid does not fix this issue, so it may be that it is not used as a variable? I now get: $ grep -i uuid CMakeCache.txt libuuid:FILEPATH=/usr/lib64/libuuid.so Thanks, Sara On May 24, 2011, at 10:21 AM, David Cole wrote: the same

Re: [CMake] Handle lib64 library on Linux

2011-05-24 Thread Sara Rolfe
, Sara Rolfe smro...@u.washington.edu wrote: Unfortunately, changing the variable name from LIBVAR to uuid does not fix this issue, so it may be that it is not used as a variable? I now get: $ grep -i uuid CMakeCache.txt libuuid:FILEPATH=/usr/lib64/libuuid.so Thanks, Sara On May 24, 2011

Re: [CMake] Handle lib64 library on Linux

2011-05-24 Thread Sara Rolfe
source tree that references uuid. What version of ITK are you using? Is it built as 64-bit libraries? On Tue, May 24, 2011 at 1:33 PM, Sara Rolfe smro...@u.washington.edu wrote: Unfortunately, changing the variable name from LIBVAR to uuid does not fix this issue, so it may

Re: [CMake] Handle lib64 library on Linux

2011-05-23 Thread Sara Rolfe
FIND_LIBRARY_USE_LIB64_PATHS ON) TARGET_LINK_LIBRARIES(SubsampleVolume ITKNumerics ITKIO ITKBasicFilters vtkRendering vtkIO vtkWidgets vtkHybrid) On May 22, 2011, at 12:14 AM, Eric Noulard wrote: 2011/5/22 Sara Rolfe smro...@u.washington.edu: The latest version of CMake, cmake-2.8.4-Linux-i386.tar.gz does

Re: [CMake] Handle lib64 library on Linux

2011-05-23 Thread Sara Rolfe
of libuuid on my machine is: /usr/lib64/libuuid.so Thanks, Sara 2011/5/23 Sara Rolfe smro...@u.washington.edu: Hi Eric, Thanks for your reply. I tried setting the FIND_LIBRARY_USE_LIB64_PATHS property, but this did not resolve the problem. I will read through the bug report you linked

Re: [CMake] Handle lib64 library on Linux

2011-05-23 Thread Sara Rolfe
. I've also posted to the ITK mailing list, but so far no one there has had any ideas. Thanks, Sara On May 23, 2011, at 2:11 PM, Eric Noulard wrote: 2011/5/23 Sara Rolfe smro...@u.washington.edu: Hi Eric, Thanks for pointing this out. I changed the order, but am still getting the same

Re: [CMake] Handle lib64 library on Linux

2011-05-21 Thread Sara Rolfe
Hello, I think my main problem is that I don't understand how to apply a patch. This seems pretty basic, so I would think there would be documentation...which I'm not finding. Could someone point me to this information? Thanks, Sara On May 19, 2011, at 3:46 PM, Sara Rolfe wrote: Hello

Re: [CMake] Handle lib64 library on Linux

2011-05-21 Thread Sara Rolfe
/20 Sara Rolfe smro...@u.washington.edu: Hello, I am attempting to modify my make file so the linker will check for /usr/lib64 instead of /usr/lib. I found a patch for this problem here: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=126c993d#patch1 This commit is not related

Re: [CMake] Handle lib64 library on Linux

2011-05-21 Thread Sara Rolfe
The latest version of CMake, cmake-2.8.4-Linux-i386.tar.gz does not looking in /lib64 paths. Could you let me know which version of CMake you are referring to, that checks this path? Thanks, Sara On May 21, 2011, at 3:47 PM, Eric Noulard wrote: 2011/5/20 Sara Rolfe smro

[CMake] Handle lib64 library on Linux

2011-05-19 Thread Sara Rolfe
Hello, I am attempting to modify my make file so the linker will check for / usr/lib64 instead of /usr/lib. I found a patch for this problem here: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=126c993d#patch1 However, I'm pretty new to cmake and it's not clear to me how to apply