Quantcast

MsDev Automation

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

MsDev Automation

Engler
I'm trying to automate a Visual Studi C++ 6 project build.  Runing the msdev.com command on the host computer's command prompt and the remote computers command prompt has no issues.  It when I try to run the command through jenkins as a post build windows batch command that causes me issues.  The compiler runs but then stops at "fatal error RC1015: cannot open include file 'afxres.h'" within the project.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MsDev Automation

Jason Swager
As part of that batch command, add a "SET" to show you all the environment variables.  Then compare to a SET from the command prompt.  I suspect that you'll see several differences which account for msdev not working as you would expect.
Jason

On Friday, October 19, 2012 2:29:47 PM UTC-7, Engler wrote:
I'm trying to automate a Visual Studi C++ 6 project build.  Runing the msdev.com command on the host computer's command prompt and the remote computers command prompt has no issues.  It when I try to run the command through jenkins as a post build windows batch command that causes me issues.  The compiler runs but then stops at "fatal error RC1015: cannot open include file 'afxres.h'" within the project.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MsDev Automation

Schalk Cronjé
I suspect you probably need to run vcvarsall.bat or something similar.

On Friday, 19 October 2012 23:00:34 UTC+1, Jason Swager wrote:
As part of that batch command, add a "SET" to show you all the environment variables.  Then compare to a SET from the command prompt.  I suspect that you'll see several differences which account for msdev not working as you would expect.
Jason

On Friday, October 19, 2012 2:29:47 PM UTC-7, Engler wrote:
I'm trying to automate a Visual Studi C++ 6 project build.  Runing the msdev.com command on the host computer's command prompt and the remote computers command prompt has no issues.  It when I try to run the command through jenkins as a post build windows batch command that causes me issues.  The compiler runs but then stops at "fatal error RC1015: cannot open include file 'afxres.h'" within the project.
Loading...