Quantcast

compile Windows CE 6.0 project by Jenkins batch file

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

compile Windows CE 6.0 project by Jenkins batch file

YenCheng Wang
Hi all,
    I have a windows ce 6.0 project, and I want to use jenkins to do regular build.
    but it always fails with these error messages :
    LINK : fatal error LNK1101: incorrect MSPDB80.DLL version; recheck installation of this product NMAKE : fatal error U1077: 'link' : return code '0x44d' Stop.
    NMAKE : fatal error U1077: 'D:\MyCodes\WINCE600-test\sdk\bin\i386\nmake.exe' : return code '0x2' Stop.
    NMAKE : fatal error U1077: 'D:\MyCodes\WINCE600-test\sdk\bin\i386\nmake.exe' : return code '0x2' Stop.

    here is my jenkins' setting
@ECHO off
set __PROJECTNAME__=AM35x_OSDesign
set __PLATFORMNAME__=AM35x_BSP
set CPU=ARMV4I
set _WINCEROOT=D:\MyCodes\WINCE600-test
set PBWORKSPACEROOT=%_WINCEROOT%\OSDesigns\%__PROJECTNAME__%\%__PROJECTNAME__%
set _PROJECTROOT=%PBWORKSPACEROOT%\WINCE600\%__PLATFORMNAME__%_%CPU%
set PBWORKSPACE=%PBWORKSPACEROOT%\%__PROJECTNAME__%.pbxml
set WINCE_BAT=%_WINCEROOT%\Public\Common\Oak\misc\wince.bat 
set PBXMLUTILS="D:\Program Files\Microsoft Platform Builder\6.00\cepb\IdeVS\pbxmlutils.exe"
set __CONFIG__=1
call %WINCE_BAT% %CPU% %__PROJECTNAME__% %__PLATFORMNAME__%
%PBXMLUTILS% /config %__CONFIG__% /getbuildenv > %_WINCEROOT%\Build%__PROJECTNAME__%.bat
call %_WINCEROOT%\Build%__PROJECTNAME__%.bat
blddemo -q

    and it works if I create a windows console ( not platform builder console ), and run the above batch file.
    my system is XP.
    any information would be appreciated.
    thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: compile Windows CE 6.0 project by Jenkins batch file

slide
Are you running as the same user when you build from the command line? Jenkins might be running as the Local System account depending on how you are running it. So, are you running as a service?


On Tue, Jul 16, 2013 at 7:52 PM, YenCheng Wang <[hidden email]> wrote:
Hi all,
    I have a windows ce 6.0 project, and I want to use jenkins to do regular build.
    but it always fails with these error messages :
    LINK : fatal error LNK1101: incorrect MSPDB80.DLL version; recheck installation of this product NMAKE : fatal error U1077: 'link' : return code '0x44d' Stop.
    NMAKE : fatal error U1077: 'D:\MyCodes\WINCE600-test\sdk\bin\i386\nmake.exe' : return code '0x2' Stop.
    NMAKE : fatal error U1077: 'D:\MyCodes\WINCE600-test\sdk\bin\i386\nmake.exe' : return code '0x2' Stop.

    here is my jenkins' setting
@ECHO off
set __PROJECTNAME__=AM35x_OSDesign
set __PLATFORMNAME__=AM35x_BSP
set CPU=ARMV4I
set _WINCEROOT=D:\MyCodes\WINCE600-test
set PBWORKSPACEROOT=%_WINCEROOT%\OSDesigns\%__PROJECTNAME__%\%__PROJECTNAME__%
set _PROJECTROOT=%PBWORKSPACEROOT%\WINCE600\%__PLATFORMNAME__%_%CPU%
set PBWORKSPACE=%PBWORKSPACEROOT%\%__PROJECTNAME__%.pbxml
set WINCE_BAT=%_WINCEROOT%\Public\Common\Oak\misc\wince.bat 
set PBXMLUTILS="D:\Program Files\Microsoft Platform Builder\6.00\cepb\IdeVS\pbxmlutils.exe"
set __CONFIG__=1
call %WINCE_BAT% %CPU% %__PROJECTNAME__% %__PLATFORMNAME__%
%PBXMLUTILS% /config %__CONFIG__% /getbuildenv > %_WINCEROOT%\Build%__PROJECTNAME__%.bat
call %_WINCEROOT%\Build%__PROJECTNAME__%.bat
blddemo -q

    and it works if I create a windows console ( not platform builder console ), and run the above batch file.
    my system is XP.
    any information would be appreciated.
    thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Website: http://earl-of-code.com

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: compile Windows CE 6.0 project by Jenkins batch file

YenCheng Wang
Hi slide,
    I have opened a console, and use "set" instruction to list all environment variables and copy it before my below jenkins' setting.
    but the problem still exist.

slide於 2013年7月17日星期三UTC+8上午10時54分47秒寫道:
Are you running as the same user when you build from the command line? Jenkins might be running as the Local System account depending on how you are running it. So, are you running as a service?


On Tue, Jul 16, 2013 at 7:52 PM, YenCheng Wang <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="ZlSRB7AhzvQJ">yenche...@...> wrote:
Hi all,
    I have a windows ce 6.0 project, and I want to use jenkins to do regular build.
    but it always fails with these error messages :
    LINK : fatal error LNK1101: incorrect MSPDB80.DLL version; recheck installation of this product NMAKE : fatal error U1077: 'link' : return code '0x44d' Stop.
    NMAKE : fatal error U1077: 'D:\MyCodes\WINCE600-test\sdk\bin\i386\nmake.exe' : return code '0x2' Stop.
    NMAKE : fatal error U1077: 'D:\MyCodes\WINCE600-test\sdk\bin\i386\nmake.exe' : return code '0x2' Stop.

    here is my jenkins' setting
@ECHO off
set __PROJECTNAME__=AM35x_OSDesign
set __PLATFORMNAME__=AM35x_BSP
set CPU=ARMV4I
set _WINCEROOT=D:\MyCodes\WINCE600-test
set PBWORKSPACEROOT=%_WINCEROOT%\OSDesigns\%__PROJECTNAME__%\%__PROJECTNAME__%
set _PROJECTROOT=%PBWORKSPACEROOT%\WINCE600\%__PLATFORMNAME__%_%CPU%
set PBWORKSPACE=%PBWORKSPACEROOT%\%__PROJECTNAME__%.pbxml
set WINCE_BAT=%_WINCEROOT%\Public\Common\Oak\misc\wince.bat 
set PBXMLUTILS="D:\Program Files\Microsoft Platform Builder\6.00\cepb\IdeVS\pbxmlutils.exe"
set __CONFIG__=1
call %WINCE_BAT% %CPU% %__PROJECTNAME__% %__PLATFORMNAME__%
%PBXMLUTILS% /config %__CONFIG__% /getbuildenv > %_WINCEROOT%\Build%__PROJECTNAME__%.bat
call %_WINCEROOT%\Build%__PROJECTNAME__%.bat
blddemo -q

    and it works if I create a windows console ( not platform builder console ), and run the above batch file.
    my system is XP.
    any information would be appreciated.
    thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="ZlSRB7AhzvQJ">jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Website: http://earl-of-code.com

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: compile Windows CE 6.0 project by Jenkins batch file

slide

Yes, but how are you running Jenkins? As a service?

On Jul 16, 2013 7:59 PM, "YenCheng Wang" <[hidden email]> wrote:
Hi slide,
    I have opened a console, and use "set" instruction to list all environment variables and copy it before my below jenkins' setting.
    but the problem still exist.

slide於 2013年7月17日星期三UTC+8上午10時54分47秒寫道:
Are you running as the same user when you build from the command line? Jenkins might be running as the Local System account depending on how you are running it. So, are you running as a service?


On Tue, Jul 16, 2013 at 7:52 PM, YenCheng Wang <[hidden email]> wrote:
Hi all,
    I have a windows ce 6.0 project, and I want to use jenkins to do regular build.
    but it always fails with these error messages :
    LINK : fatal error LNK1101: incorrect MSPDB80.DLL version; recheck installation of this product NMAKE : fatal error U1077: 'link' : return code '0x44d' Stop.
    NMAKE : fatal error U1077: 'D:\MyCodes\WINCE600-test\sdk\bin\i386\nmake.exe' : return code '0x2' Stop.
    NMAKE : fatal error U1077: 'D:\MyCodes\WINCE600-test\sdk\bin\i386\nmake.exe' : return code '0x2' Stop.

    here is my jenkins' setting
@ECHO off
set __PROJECTNAME__=AM35x_OSDesign
set __PLATFORMNAME__=AM35x_BSP
set CPU=ARMV4I
set _WINCEROOT=D:\MyCodes\WINCE600-test
set PBWORKSPACEROOT=%_WINCEROOT%\OSDesigns\%__PROJECTNAME__%\%__PROJECTNAME__%
set _PROJECTROOT=%PBWORKSPACEROOT%\WINCE600\%__PLATFORMNAME__%_%CPU%
set PBWORKSPACE=%PBWORKSPACEROOT%\%__PROJECTNAME__%.pbxml
set WINCE_BAT=%_WINCEROOT%\Public\Common\Oak\misc\wince.bat 
set PBXMLUTILS="D:\Program Files\Microsoft Platform Builder\6.00\cepb\IdeVS\pbxmlutils.exe"
set __CONFIG__=1
call %WINCE_BAT% %CPU% %__PROJECTNAME__% %__PLATFORMNAME__%
%PBXMLUTILS% /config %__CONFIG__% /getbuildenv > %_WINCEROOT%\Build%__PROJECTNAME__%.bat
call %_WINCEROOT%\Build%__PROJECTNAME__%.bat
blddemo -q

    and it works if I create a windows console ( not platform builder console ), and run the above batch file.
    my system is XP.
    any information would be appreciated.
    thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Website: http://earl-of-code.com

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: compile Windows CE 6.0 project by Jenkins batch file

YenCheng Wang
In reply to this post by YenCheng Wang
Hi slide,
    I just install it and I can use jenkins on browser.
    I'm not sure is it run as jenkins, I am going to check it.

YenCheng Wang於 2013年7月17日星期三UTC+8上午10時52分20秒寫道:
Hi all,
    I have a windows ce 6.0 project, and I want to use jenkins to do regular build.
    but it always fails with these error messages :
    LINK : fatal error LNK1101: incorrect MSPDB80.DLL version; recheck installation of this product NMAKE : fatal error U1077: 'link' : return code '0x44d' Stop.
    NMAKE : fatal error U1077: 'D:\MyCodes\WINCE600-test\sdk\bin\i386\nmake.exe' : return code '0x2' Stop.
    NMAKE : fatal error U1077: 'D:\MyCodes\WINCE600-test\sdk\bin\i386\nmake.exe' : return code '0x2' Stop.

    here is my jenkins' setting
@ECHO off
set __PROJECTNAME__=AM35x_OSDesign
set __PLATFORMNAME__=AM35x_BSP
set CPU=ARMV4I
set _WINCEROOT=D:\MyCodes\WINCE600-test
set PBWORKSPACEROOT=%_WINCEROOT%\OSDesigns\%__PROJECTNAME__%\%__PROJECTNAME__%
set _PROJECTROOT=%PBWORKSPACEROOT%\WINCE600\%__PLATFORMNAME__%_%CPU%
set PBWORKSPACE=%PBWORKSPACEROOT%\%__PROJECTNAME__%.pbxml
set WINCE_BAT=%_WINCEROOT%\Public\Common\Oak\misc\wince.bat 
set PBXMLUTILS="D:\Program Files\Microsoft Platform Builder\6.00\cepb\IdeVS\pbxmlutils.exe"
set __CONFIG__=1
call %WINCE_BAT% %CPU% %__PROJECTNAME__% %__PLATFORMNAME__%
%PBXMLUTILS% /config %__CONFIG__% /getbuildenv > %_WINCEROOT%\Build%__PROJECTNAME__%.bat
call %_WINCEROOT%\Build%__PROJECTNAME__%.bat
blddemo -q

    and it works if I create a windows console ( not platform builder console ), and run the above batch file.
    my system is XP.
    any information would be appreciated.
    thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: compile Windows CE 6.0 project by Jenkins batch file

YenCheng Wang
In reply to this post by YenCheng Wang
Hi slide,
    thank your for your information~
    the problem was solved after I corrected the login account of jenkins service ~

YenCheng Wang於 2013年7月17日星期三UTC+8上午10時52分20秒寫道:
Hi all,
    I have a windows ce 6.0 project, and I want to use jenkins to do regular build.
    but it always fails with these error messages :
    LINK : fatal error LNK1101: incorrect MSPDB80.DLL version; recheck installation of this product NMAKE : fatal error U1077: 'link' : return code '0x44d' Stop.
    NMAKE : fatal error U1077: 'D:\MyCodes\WINCE600-test\sdk\bin\i386\nmake.exe' : return code '0x2' Stop.
    NMAKE : fatal error U1077: 'D:\MyCodes\WINCE600-test\sdk\bin\i386\nmake.exe' : return code '0x2' Stop.

    here is my jenkins' setting
@ECHO off
set __PROJECTNAME__=AM35x_OSDesign
set __PLATFORMNAME__=AM35x_BSP
set CPU=ARMV4I
set _WINCEROOT=D:\MyCodes\WINCE600-test
set PBWORKSPACEROOT=%_WINCEROOT%\OSDesigns\%__PROJECTNAME__%\%__PROJECTNAME__%
set _PROJECTROOT=%PBWORKSPACEROOT%\WINCE600\%__PLATFORMNAME__%_%CPU%
set PBWORKSPACE=%PBWORKSPACEROOT%\%__PROJECTNAME__%.pbxml
set WINCE_BAT=%_WINCEROOT%\Public\Common\Oak\misc\wince.bat 
set PBXMLUTILS="D:\Program Files\Microsoft Platform Builder\6.00\cepb\IdeVS\pbxmlutils.exe"
set __CONFIG__=1
call %WINCE_BAT% %CPU% %__PROJECTNAME__% %__PLATFORMNAME__%
%PBXMLUTILS% /config %__CONFIG__% /getbuildenv > %_WINCEROOT%\Build%__PROJECTNAME__%.bat
call %_WINCEROOT%\Build%__PROJECTNAME__%.bat
blddemo -q

    and it works if I create a windows console ( not platform builder console ), and run the above batch file.
    my system is XP.
    any information would be appreciated.
    thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Loading...