<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Brad,<br>
      <br>
      I am no expert on this part, but it seems that the creation of the
      export file is not performed using an absolute path, but a local
      one from the corresponding binary tree [1].<br>
      <br>
      Also I am not sure if it could be related, but I use cmake 2.8.7
      (which is the default cmake for ubuntu LTS), and BUILD_SHARED_LIBS
      is turned OFF...<br>
      <br>
      Thanks,<br>
      Arnaud<br>
      <br>
      [1] <a
href="https://github.com/Kitware/ITK/commit/e4b526a67e6ddc98a8f3e97298a5e04fa9426aed#L0R141">https://github.com/Kitware/ITK/commit/e4b526a67e6ddc98a8f3e97298a5e04fa9426aed#L0R141</a><br>
      <br>
      On 07/29/2013 03:10 PM, Bradley Lowekamp wrote:<br>
    </div>
    <blockquote
      cite="mid:CBAB5907-2F00-4709-8D42-CFB75073E9B4@mail.nih.gov"
      type="cite">
      <pre wrap="">Arnaud,

The "Export" headers are intentionally all placed into the Common binary directory. On some platforms all the includes needed for ITK are too long and too many already. To remove the need to potentially double the number of include paths needed( include a binary and source dir for each module), I thought it was best to place them all in the common binary module[1,2]. I believed that all modules and tests already included the common module.

If I do a clean build with shared libraries turned on, I don't get this error in the ImageIOBase module, nor is it on the "primary" dashboard section. So we need to figure out what's different to reveal this issue.

Brad

[1] <a class="moz-txt-link-freetext" href="https://github.com/Kitware/ITK/commit/e4b526a67e6ddc98a8f3e97298a5e04fa9426aed#L0R140">https://github.com/Kitware/ITK/commit/e4b526a67e6ddc98a8f3e97298a5e04fa9426aed#L0R140</a>
[2] <a class="moz-txt-link-freetext" href="https://github.com/Kitware/ITK/commit/e4b526a67e6ddc98a8f3e97298a5e04fa9426aed">https://github.com/Kitware/ITK/commit/e4b526a67e6ddc98a8f3e97298a5e04fa9426aed</a>

On Jul 29, 2013, at 1:18 AM, Arnaud Gelas <a class="moz-txt-link-rfc2396E" href="mailto:arnaudgelas@gmail.com">&lt;arnaudgelas@gmail.com&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Hi all,

I have exactly the same compilation error as it appears on the dashboard for Xiaoxiao's machine:

   <a class="moz-txt-link-freetext" href="http://open.cdash.org/viewBuildError.php?buildid=2980274">http://open.cdash.org/viewBuildError.php?buildid=2980274</a>

The compiler could not find ITK${module}Export.h

When looking for it on my machine, I can see that these headers were generated but most probably not where they were expected:

$ find . -name *Export*h
./Modules/Core/Common/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKCommonExport.h
./Modules/IO/SpatialObjects/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKIOSpatialObjectsExport.h
./Modules/IO/BioRad/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKIOBioRadExport.h
./Modules/IO/ImageBase/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKIOImageBaseExport.h
./Modules/IO/Mesh/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKIOMeshExport.h
./Modules/IO/BMP/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKIOBMPExport.h
./Modules/IO/Siemens/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKIOSiemensExport.h
./Modules/IO/Stimulate/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKIOStimulateExport.h
./Modules/IO/VTK/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKIOVTKExport.h
./Modules/IO/GIPL/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKIOGIPLExport.h
./Modules/IO/GE/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKIOGEExport.h
./Modules/IO/PNG/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKIOPNGExport.h
./Modules/IO/IPL/home/ajg23/DEVEL/ITK/Debug/Modules/Core/Common/ITKIOIPLExport.h

Any help to fix this bug would be appreciated

Best
Arnaud
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at
<a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Kitware offers ITK Training Courses, for more information visit:
<a class="moz-txt-link-freetext" href="http://kitware.com/products/protraining.php">http://kitware.com/products/protraining.php</a>

Please keep messages on-topic and check the ITK FAQ at:
<a class="moz-txt-link-freetext" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-developers">http://www.itk.org/mailman/listinfo/insight-developers</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
  </body>
</html>