[Ctk-developers] missing file build error

Dean Inglis dean.inglis at camris.ca
Wed May 18 14:06:17 UTC 2011


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>
To: <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
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers 




More information about the Ctk-developers mailing list