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