[Ctk-developers] missing file build error
Sascha Zelzer
s.zelzer at dkfz-heidelberg.de
Wed May 25 09:02:25 UTC 2011
Hi,
Just to let you know, I pushed a fix for the problem you described below
today.
Thanks,
Sascha
On 05/18/2011 05:42 PM, Sascha Zelzer wrote:
> Hi,
>
> 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.
>
> Best,
> Sascha
>
> On 05/18/2011 04:36 PM, Jean-Christophe Fillion-Robin wrote:
>> The difference with VTK is that CTK relies on Superbuild to
>> download/configure/build its dependencies.
>>
>> Recently I pushed a fix
>> <https://github.com/commontk/CTK/commit/c67f5dd797b744170e8902a5338618aa76fb228c>
>> to use a shorter directory layout .. but it obviously didn't work
>> for you.
>>
>> May be we could add some sort of mechanism to warn the user by
>> checking the max length for the current base folder.
>>
>> Jc
>>
>> On Wed, May 18, 2011 at 10:06 AM, Dean Inglis <dean.inglis at camris.ca
>> <mailto:dean.inglis at camris.ca>> wrote:
>>
>> Hi Sascha,
>>
>> works with build dir as D:\build, source dir as D:\CTK
>>
>> I have the same (long) path structure with VTK which
>> builds without err.
>>
>> Dean
>>
>> ----- Original Message ----- From: "Sascha Zelzer"
>> <s.zelzer at dkfz-heidelberg.de <mailto:s.zelzer at dkfz-heidelberg.de>>
>> To: <ctk-developers at commontk.org
>> <mailto:ctk-developers at commontk.org>>
>> Sent: Wednesday, May 18, 2011 6:53 AM
>> Subject: Re: [Ctk-developers] missing file build error
>>
>>
>>
>> Hi Dean,
>>
>> could you please try again with the source and build
>> directory directly located under D:\ ? This way we could rule
>> out path-length issues.
>>
>> Thanks,
>> Sascha
>>
>> On 05/17/2011 03:49 PM, Dean Inglis wrote:
>>
>> Hi,
>>
>> Im getting the following fatal error due to a missing file:
>> (Win7 x86, shared release, VS2010 nmake, CMake 2.8.3,
>> qt 4.7.1)
>>
>>
>> Scanning dependencies of target pluginAttrPwd_test
>> [ 94%] Building CXX object
>> Libs/PluginFramework/Testing/MetaTypeTestPlugins/plug
>> inAttrPwd_test/CMakeFiles/pluginAttrPwd_test.dir/ctkTestPluginMTAttrPwdActivator
>> .cpp.obj
>> ctkTestPluginMTAttrPwdActivator.cpp
>> [ 95%] Building CXX object
>> Libs/PluginFramework/Testing/MetaTypeTestPlugins/plug
>> inAttrPwd_test/CMakeFiles/pluginAttrPwd_test.dir/moc_ctkTestPluginMTAttrPwdActiv
>> ator_p.cxx.obj
>> moc_ctkTestPluginMTAttrPwdActivator_p.cxx
>> D:\Developer\VS10\x86\SHARED\release\ctk\CTK-build\Libs\PluginFramework\Testing\
>> MetaTypeTestPlugins\pluginAttrPwd_test\moc_ctkTestPluginMTAttrPwdActivator_p.cxx
>> (10) : fatal error C1083: Cannot open include file:
>> '../../../../../../../../../
>> ../../Sources/CTK/Libs/PluginFramework/Testing/MetaTypeTestPlugins/pluginAttrPwd
>> _test/ctkTestPluginMTAttrPwdActivator_p.h': No such file
>> or directory
>> NMAKE : fatal error U1077:
>> 'C:\PROGRA~2\MICROS~2.0\VC\bin\cl.exe' : return
>> code
>> '0x2'
>> Stop.
>> NMAKE : fatal error U1077: '"C:\Program Files
>> (x86)\Microsoft Visual Studio
>> 10.0
>> \VC\BIN\nmake.exe"' : return code '0x2'
>> Stop.
>> NMAKE : fatal error U1077: '"C:\Program Files
>> (x86)\Microsoft Visual Studio
>> 10.0
>> \VC\BIN\nmake.exe"' : return code '0x2'
>> Stop.
>> NMAKE : fatal error U1077: '"C:\Program Files
>> (x86)\Microsoft Visual Studio
>> 10.0
>> \VC\BIN\nmake.exe"' : return code '0x2'
>> Stop.
>> NMAKE : fatal error U1077: '"C:\Program Files
>> (x86)\Microsoft Visual Studio
>> 10.0
>> \VC\BIN\nmake.exe"' : return code '0x2'
>> Stop.
>> NMAKE : fatal error U1077: '"C:\Program Files
>> (x86)\Microsoft Visual Studio
>> 10.0
>> \VC\BIN\nmake.exe"' : return code '0x2'
>> Stop.
>>
>>
>> in my build tree there is no such file but there is
>> moc_ctkTestPluginMTAttrPwdActivator_p.cxx
>> moc_ctkTestPluginMTAttrPwdActivator_p.cxx_parameters
>>
>> and in my source tree the .h file is there, and it
>> appears the number of
>> path
>> redirects in the above error to the file is correct.
>>
>> Dean
>>
>> _______________________________________________
>> Ctk-developers mailing list
>> Ctk-developers at commontk.org
>> <mailto:Ctk-developers at commontk.org>
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>>
>>
>> _______________________________________________
>> Ctk-developers mailing list
>> Ctk-developers at commontk.org <mailto:Ctk-developers at commontk.org>
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>>
>>
>>
>> _______________________________________________
>> Ctk-developers mailing list
>> Ctk-developers at commontk.org <mailto:Ctk-developers at commontk.org>
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>>
>>
>>
>>
>> --
>> +1 919 869 8849
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20110525/57deba79/attachment.htm>
More information about the Ctk-developers
mailing list