[Insight-users] Problem installing ITK 4.2.0 on Mac OS 10.8

Rehan Ali ali.bobby at gmail.com
Fri Sep 7 16:24:57 EDT 2012


That was indeed the problem, thanks! Taking the +s out let me build successfully.

Cheers,

Rehan


On Sep 7, 2012, at 5:48 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:

> Are there any unprintable characters in the path /Users/rehanali/Code/C++/InsightToolkit-4.2.0/build/InstallTest
> 
> 
> On Fri, Sep 7, 2012 at 5:43 AM, Rehan Ali <ali.bobby at gmail.com> wrote:
> I'm having trouble building the ITK 4.2.0 source (downloaded from the
> ITK site) on a Macbook Pro with Mountain Lion. I've tried using
> cmake-2.8.8 (Macports version) and cmake-2.8.9 (downloaded GUI from
> official site), and both generate the same issue.
> 
> I've set up a 'build' subdirectory in the ITK directory as my target.
> When I press "configure" in the cmake GUI, I get the following error
> message:
> 
> Error in configuration process, project files may be invalid
> 
> The log at the bottom ends with the following:
> 
> [snip]
> Enabled ITKVideoFiltering, requested by ITK_BUILD_ALL_MODULES.
> Filter ZLIB is ON
> CMake Error at Utilities/InstallTest/CMakeLists.txt:2 (if):
>   if given arguments:
>     "x/usr/local" "MATCHES"
> "^x/Users/rehanali/Code/C++/InsightToolkit-4.2.0/build/InstallTest\$"
>   Regular expression
>   "^x/Users/rehanali/Code/C++/InsightToolkit-4.2.0/build/InstallTest$" cannot
>   compile
> Configuring incomplete, errors occurred!
> 
> Does this mean I have to build into /usr/local? I didn't see anything
> about this in the accompanying installation instructions.
> 
> When I run
>    cmake -G "Unix Makefiles" ..
> using the command line version, I get the above error again, but the
> output is more detailed and I find other issues appearing before that.
> I'm not sure whether or not these are related:
> 
> -- Performing Test C_HAS_WARNING-Wno-long-double - Failed
> -- Performing Test CXX_HAS_WARNING-Wstrict-null-sentinel - Failed
> -- Checking whether struct stat has st_mtim member - no
> -- Checking whether C++ compiler has '__int64' - no
> -- Check size of __int64 - failed
> -- Checking whether CXX compiler has environ in stdlib.h - no
> -- Performing Test VCL_STATIC_CONST_INIT_NO_DEFN - Failed
> -- Performing Test VCL_STATIC_CONST_INIT_FLOAT - Failed
> -- Performing Test VCL_OVERLOAD_CAST - Failed
> -- Performing Test VCL_NULL_TMPL_ARGS - Failed
> -- Performing Try-Run Test VCL_HAS_TEMPLATE_SYMBOLS - Test Compilation Failed
> -- Performing Test VCL_NEEDS_NAMESPACE_STD - Failed
> -- Performing Test VXL_APPLE_HAS_ISNAND - Failed
> -- Performing Test VXL_HAS_ALIGNED_MALLOC
> -- Performing Test VXL_HAS_ALIGNED_MALLOC - Failed
> -- Performing Test VXL_HAS_MINGW_ALIGNED_MALLOC - Failed
> -- Performing Test VXL_HAS_POSIX_MEMALIGN - Failed
> -- Looking for finitef - not found.
> -- Looking for finitel - not found.
> -- Looking for finite - not found.
> -- Looking for 96-bit float. Not found.
> -- Looking for tell - not found
> -- Looking for C++ include type_traits - not found
> -- Looking for include files sys/time.h, winsock.h - not found.
> -- Looking for include files sys/time.h, byteswap.h - not found.
> -- Looking for _stricmp - not found
> -- Looking for _strnicmp - not found
> -- Looking for _snprintf - not found
> -- Performing Test GDCM_HAVE_WCHAR_IFSTREAM - Failed
> RegularExpression::compile(): Nested *?+.
> RegularExpression::compile(): Error in compile.
> 
> Any ideas on how to resolve this?
> 
> All the best,
> 
> Rehan
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 
> 
> -- 
> Unpaid intern in BillsBasement at noware dot com
> 



More information about the Insight-users mailing list