<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    <br>
    I had the same problem today when using CTK stuff inside MITK. The
    problem is actually specific to Visual Studio and source files
    generated by Qt's moc. I was able to fix it and will push it soon.<br>
    <br>
    Best,<br>
    Sascha<br>
    <br>
    On 05/18/2011 04:36 PM, Jean-Christophe Fillion-Robin wrote:
    <blockquote
      cite="mid:BANLkTik47ps_6Hdk9Q-+73fnmeCJRYkgDg@mail.gmail.com"
      type="cite">The difference with VTK is that CTK relies on
      Superbuild to download/configure/build its dependencies. <br>
      <br>
      Recently I pushed <a moz-do-not-send="true"
href="https://github.com/commontk/CTK/commit/c67f5dd797b744170e8902a5338618aa76fb228c">a
        fix</a> to use a shorter directory layout  .. but it obviously
      didn't work for you.<br>
      <br>
      May be we could add some sort of mechanism to warn the user by
      checking the max length for the current base folder.<br>
      <br>
      Jc<br>
      <br>
      <div class="gmail_quote">On Wed, May 18, 2011 at 10:06 AM, Dean
        Inglis <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:dean.inglis@camris.ca">dean.inglis@camris.ca</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">Hi Sascha,<br>
          <br>
          works with build dir as D:\build, source dir as D:\CTK<br>
          <br>
          I have the same (long) path structure with VTK which<br>
          builds without err.<br>
          <br>
          Dean<br>
          <br>
          ----- Original Message ----- From: "Sascha Zelzer" <<a
            moz-do-not-send="true"
            href="mailto:s.zelzer@dkfz-heidelberg.de" target="_blank">s.zelzer@dkfz-heidelberg.de</a>><br>
          To: <<a moz-do-not-send="true"
            href="mailto:ctk-developers@commontk.org" target="_blank">ctk-developers@commontk.org</a>><br>
          Sent: Wednesday, May 18, 2011 6:53 AM<br>
          Subject: Re: [Ctk-developers] missing file build error
          <div>
            <div class="h5"><br>
              <br>
              <br>
              <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
                0.8ex; border-left: 1px solid rgb(204, 204, 204);
                padding-left: 1ex;">
                Hi Dean,<br>
                <br>
                could you please try again with the source and build
                directory directly located under D:\ ? This way we could
                rule out path-length issues.<br>
                <br>
                Thanks,<br>
                Sascha<br>
                <br>
                On 05/17/2011 03:49 PM, Dean Inglis wrote:<br>
                <blockquote class="gmail_quote" style="margin: 0pt 0pt
                  0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
                  padding-left: 1ex;">
                  Hi,<br>
                  <br>
                  Im getting the following fatal error due to a missing
                  file:<br>
                  (Win7 x86, shared release, VS2010 nmake, CMake 2.8.3,<br>
                  qt 4.7.1)<br>
                  <br>
                  <br>
                  Scanning dependencies of target pluginAttrPwd_test<br>
                  [ 94%] Building CXX object<br>
                  Libs/PluginFramework/Testing/MetaTypeTestPlugins/plug<br>
inAttrPwd_test/CMakeFiles/pluginAttrPwd_test.dir/ctkTestPluginMTAttrPwdActivator<br>
                  .cpp.obj<br>
                  ctkTestPluginMTAttrPwdActivator.cpp<br>
                  [ 95%] Building CXX object<br>
                  Libs/PluginFramework/Testing/MetaTypeTestPlugins/plug<br>
inAttrPwd_test/CMakeFiles/pluginAttrPwd_test.dir/moc_ctkTestPluginMTAttrPwdActiv<br>
                  ator_p.cxx.obj<br>
                  moc_ctkTestPluginMTAttrPwdActivator_p.cxx<br>
D:\Developer\VS10\x86\SHARED\release\ctk\CTK-build\Libs\PluginFramework\Testing\<br>
MetaTypeTestPlugins\pluginAttrPwd_test\moc_ctkTestPluginMTAttrPwdActivator_p.cxx<br>
                  (10) : fatal error C1083: Cannot open include file:<br>
                  '../../../../../../../../../<br>
../../Sources/CTK/Libs/PluginFramework/Testing/MetaTypeTestPlugins/pluginAttrPwd<br>
                  _test/ctkTestPluginMTAttrPwdActivator_p.h': No such
                  file or directory<br>
                  NMAKE : fatal error U1077:
                  'C:\PROGRA~2\MICROS~2.0\VC\bin\cl.exe' : return<br>
                  code<br>
                  '0x2'<br>
                  Stop.<br>
                  NMAKE : fatal error U1077: '"C:\Program Files
                  (x86)\Microsoft Visual Studio<br>
                  10.0<br>
                  \VC\BIN\nmake.exe"' : return code '0x2'<br>
                  Stop.<br>
                  NMAKE : fatal error U1077: '"C:\Program Files
                  (x86)\Microsoft Visual Studio<br>
                  10.0<br>
                  \VC\BIN\nmake.exe"' : return code '0x2'<br>
                  Stop.<br>
                  NMAKE : fatal error U1077: '"C:\Program Files
                  (x86)\Microsoft Visual Studio<br>
                  10.0<br>
                  \VC\BIN\nmake.exe"' : return code '0x2'<br>
                  Stop.<br>
                  NMAKE : fatal error U1077: '"C:\Program Files
                  (x86)\Microsoft Visual Studio<br>
                  10.0<br>
                  \VC\BIN\nmake.exe"' : return code '0x2'<br>
                  Stop.<br>
                  NMAKE : fatal error U1077: '"C:\Program Files
                  (x86)\Microsoft Visual Studio<br>
                  10.0<br>
                  \VC\BIN\nmake.exe"' : return code '0x2'<br>
                  Stop.<br>
                  <br>
                  <br>
                  in my build tree there is no such file but there is<br>
                    moc_ctkTestPluginMTAttrPwdActivator_p.cxx<br>
                    moc_ctkTestPluginMTAttrPwdActivator_p.cxx_parameters<br>
                  <br>
                  and in my source tree the .h file is there, and it
                  appears the number of<br>
                  path<br>
                  redirects in the above error to the file is correct.<br>
                  <br>
                  Dean<br>
                  <br>
                  _______________________________________________<br>
                  Ctk-developers mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:Ctk-developers@commontk.org"
                    target="_blank">Ctk-developers@commontk.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers"
                    target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
                </blockquote>
                <br>
                _______________________________________________<br>
                Ctk-developers mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Ctk-developers@commontk.org"
                  target="_blank">Ctk-developers@commontk.org</a><br>
                <a moz-do-not-send="true"
                  href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers"
                  target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a>
                <br>
              </blockquote>
              <br>
              _______________________________________________<br>
              Ctk-developers mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:Ctk-developers@commontk.org"
                target="_blank">Ctk-developers@commontk.org</a><br>
              <a moz-do-not-send="true"
                href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers"
                target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      +1 919 869 8849<br>
      <br>
    </blockquote>
    <br>
  </body>
</html>