Hi Ruben,
Thanks for your help so far.
Googling the warning leads me to think that is inherent in VS 2010 that
this warning will be there(i have the VS2010 on my system). Below are some
of the links i followed:
*https://connect.microsoft.com/VisualStudio/feedback/details/532236/visual-studio-2010-c-project-project-is-permanently-out-of-date-build-necessary
*http://stackoverflow.com/questions/11950493/unresolved-externals-and-some-warnings-while-building-the-qt-solution
The step given in the second link is already in place and other links also
suggest that this warning should not affect the build.The build does not
get affected when i build it from msbuild , but when i call the msbuild on
the vcxproj with help of a batch file thru ccnet, then it fails. Attached
is the bat file. Please suggest on the same.
Regards,
SuvraJyoti
On Monday, January 6, 2014 7:41:03 PM UTC+5:30, Ruben Willems wrote:
>
> Hi
>
> "D:\Project\ESI\Code\trunk\gui\mosquito.vcxproj" (Build target) (1) ->
> (CustomBuild target) ->
> C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5):
> warning MSB8017: A circular dependency has been detected while executing
> custom build commands for item "qtcolorpicker\qtcolorpicker.moc". This may
> cause incremental build to work incorrectly.
> [D:\Project\ESI\Code\trunk\gui\mosquito.vcxproj]
>
>
> I still see that circular dependency problem there
>
>
> with kind regards
> Ruben Willems
>
>
>
>
>
> On 6 January 2014 14:58, Suvro Jyoti <[email protected] <javascript:>>wrote:
>
>> Hi Ruben,
>>
>> Attached is the log file with msbuild verbosity set to
>> detailed\diagonostic.
>>
>>
>> On Monday, January 6, 2014 3:42:06 PM UTC+5:30, Ruben Willems wrote:
>>
>>> Can you post the errorlog?
>>>
>>> with kind regards
>>> Ruben Willems
>>>
>>>
>>>
>>> On 6 January 2014 11:03, Suvro Jyoti <[email protected]> wrote:
>>>
>>>> This is what was suggested as well in blogs
>>>>
>>>>
>>>> On Monday, January 6, 2014 3:32:35 PM UTC+5:30, Suvro Jyoti wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I have tried adding the #include qtcolopicker.moc in the
>>>>> qtcolopicker.cpp fileand rebuilding it through ccnet service, stil i am
>>>>> getting the same issue.Please suggest
>>>>>
>>>>> On Monday, January 6, 2014 1:01:31 PM UTC+5:30, Ruben Willems wrote:
>>>>>>
>>>>>> Hi
>>>>>>
>>>>>> A circular dependency has been detected while executing custom build
>>>>>> commands for item "qtcolorpicker\qtcolorpicker.moc
>>>>>>
>>>>>> That is the root of your problem.
>>>>>>
>>>>>>
>>>>>> with kind regards
>>>>>> Ruben Willems
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 6 January 2014 07:59, Suvro Jyoti <[email protected]> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> There is a particular project mosquito.vcxproj..that when i am
>>>>>>> building through msbuild is building fine but the same when i am trying
>>>>>>> to
>>>>>>> build thru ccnet service, it failing. Below is the log file
>>>>>>>
>>>>>>> <message> Moc'ing qtcolorpicker\qtcolorpicker.h...</message>
>>>>>>> <message> The system cannot find the path specified.</message>
>>>>>>> <message> Moc'ing qtcolorpicker\qtcolorpicker.cpp...</message>
>>>>>>> <message> The system cannot find the path specified.</message>
>>>>>>> <message>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4
>>>>>>> .0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe"
>>>>>>> exited with code 3. [D:\Project\ESI\Code\trunk\gui
>>>>>>> \mosquito.vcxproj]</message>
>>>>>>> <message>Done Building Project
>>>>>>> "D:\Project\ESI\Code\trunk\gui\mosquito.vcxproj"
>>>>>>> (Build target(s)) -- FAILED.</message>
>>>>>>> <message>Build FAILED.</message>
>>>>>>> <message>"D:\Project\ESI\Code\trunk\gui\mosquito.vcxproj" (Build
>>>>>>> target) (1) -></message>
>>>>>>> <message>(CustomBuild target) -> </message>
>>>>>>> <message> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4
>>>>>>> .0\Microsoft.CppCommon.targets(151,5): warning MSB8017: A circular
>>>>>>> dependency has been detected while executing custom build commands for
>>>>>>> item
>>>>>>> "qtcolorpicker\qtcolorpicker.moc". This may cause incremental build
>>>>>>> to work incorrectly. [D:\Project\ESI\Code\trunk\gui
>>>>>>> \mosquito.vcxproj]</message>
>>>>>>> <message>"D:\Project\ESI\Code\trunk\gui\mosquito.vcxproj" (Build
>>>>>>> target) (1) -></message>
>>>>>>> <message>(CustomBuild target) -> </message>
>>>>>>> <message> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4
>>>>>>> .0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe"
>>>>>>> exited with code 3. [D:\Project\ESI\Code\trunk\gui
>>>>>>> \mosquito.vcxproj]</message>
>>>>>>> <message> 1 Warning(s)</message>
>>>>>>> <message> 1 Error(s)</message>
>>>>>>> <message>Time Elapsed 00:00:00.64</message>
>>>>>>> </buildresults>
>>>>>>>
>>>>>>> <buildresults>
>>>>>>> <task><buildArgs /><buildTimeoutSeconds>10800</buildTimeoutSeconds><
>>>>>>> baseDirectory>D:\Project\ESI\Code\trunk\releaseFiles</baseDirectory><dynamicValues
>>>>>>>
>>>>>>> /><environment /><executable>IncrementalBuildNewVersion.
>>>>>>> bat</executable><priority>Normal</priority><successExitCodes>0</
>>>>>>> successExitCodes></task>
>>>>>>> <message level="Error">The system cannot find the drive
>>>>>>> specified.</message>
>>>>>>> </buildresults>
>>>>>>> </build>
>>>>>>> </cruisecontrol>
>>>>>>>
>>>>>>> It says it cannot find the drive specified, but the drive is
>>>>>>> present.Please suggest what the issue is ASAP
>>>>>>>
>>>>>>> Regards,
>>>>>>> SuvraJyoti
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> ---
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "ccnet-user" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>> send an email to [email protected].
>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>
>>>>>>
>>>>>> --
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "ccnet-user" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "ccnet-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
--
---
You received this message because you are subscribed to the Google Groups
"ccnet-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
set buildEnviron="%1"
SET verFileName=..\lastVersion.txt
::call "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
call "D:\Program Files\VC\vcvarsall.bat"
if %buildEnviron%=="Dev" (
echo "Clean the projects for dev"
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild
..\Security\SecurityLib\SecurityLib.vcxproj /t:clean
/p:PlatformToBuild="Win32";BuildType="build";Configuration="Release"
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild
..\engine\src\tort.vcxproj /t:clean
/p:PlatformToBuild="Win32";BuildType="build";Configuration="Release"
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild
..\gui\mosquito.vcxproj /t:clean
/p:PlatformToBuild="Win32";BuildType="build";Configuration="Release"
echo "Build the projects for dev"
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild
..\Security\SecurityLib\SecurityLib.vcxproj /t:Build
/p:PlatformToBuild="Win32";BuildType="build";Configuration="Release"
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild
..\Security\LicenseCheck\LicenseCheck.vcxproj /t:Build
/p:PlatformToBuild="Win32";BuildType="build";Configuration="Release"
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild
..\engine\src\tort.vcxproj /t:Build
/p:PlatformToBuild="Win32";BuildType="build";Configuration="Release"
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild
..\gui\mosquito.vcxproj /t:Build
/p:PlatformToBuild="Win32";BuildType="build";Configuration="Release"
) else (
echo "Into Else"
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild
..\Security\SecurityLib\SecurityLib.vcxproj /t:clean
/p:PlatformToBuild="Win32";BuildType="build";Configuration="Release";PlatformToolset=Windows7.1SDK
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild
..\engine\src\tort.vcxproj /t:clean
/p:PlatformToBuild="Win32";BuildType="build";Configuration="Release";PlatformToolset=Windows7.1SDK
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild
..\gui\mosquito.vcxproj /t:clean
/p:PlatformToBuild="Win32";BuildType="build";Configuration="Release";PlatformToolset=Windows7.1SDK
echo "Build the projects for build server"
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild
..\gui\mosquito.vcxproj /t:Build /fl
/flp:logfile=MyProjectOutput.log;verbosity=diagnostic
/p:PlatformToBuild="Win32";BuildType="build";Configuration="Release";PlatformToolset=Windows7.1SDK
)
EXIT %ErrorLevel%