I got the build to compile. Thanks for the suggestion. I noticed that the APPDIR and LOCALAPPDIR was different from the build machine, When I changed those two values it compiled with no errors.
On Monday, May 5, 2014 10:51:27 AM UTC-4, Aaron Stokes wrote: > > We are now in the process of updating our IDE to C++ builder XE5. We > needed to recreate all of our projects from scratch. The project compiles > in both MSBuild (on the actual machine) and the IDE but when we try to run > MSBuild through jenkins, MSbuild does not know how to find certain > resources. I think I'm missing a step but I don't know what I'm missing. > > Here is what I tried. > I tried calling rsvars from a command line and then tried to run msbuild. > Tried setting %PATH% using inject environment variables. > Tried calling a batch file located on the actual build machine same result. > Tried updating the MSBuild plugin to the latest version and checking Pass > build variables as properties. Unfortunately it did not include any thing > defined in inject environment variables. > > We are currently using the following > MSBuild plugin 1.2.1 > Jenkins: 1.455 > > The components that are throwing errors are all third party components. > Madexcept 4.0.9 > TMScomponents 7.1.6.1 > > Here are some examples of the errors I'm getting. > > vat.cpp(16): error E2209: Unable to open include file 'madExcept.hpp' > vat.cpp(56): error E2293: ) expected > vatmain.cpp(85): error E2209: Unable to open include file 'AdvGrid.hpp' > > ..\CommonClasses\MPTIFontSelector.h(5): error E2209: Unable to open include > file 'AdvOfficeComboBox.hpp' > ..\CommonClasses\MPTIFontSelector.h(6): error E2209: Unable to open include > file 'AsgCombo.hpp' > ..\CommonClasses\MPTIFontSelector.h(7): error E2209: Unable to open include > file 'ColorCombo.hpp' > ..\CommonClasses\MPTIFontSelector.h(19): error E2303: Type name expected > ..\CommonClasses\MPTIFontSelector.h(19): error E2139: Declaration missing ; > ..\CommonClasses\MPTIFontSelector.h(21): error E2303: Type name expected > ..\CommonClasses\MPTIFontSelector.h(21): error E2139: Declaration missing ; > ..\CommonClasses\MPTIFontSelector.h(24): error E2303: Type name expected > ..\CommonClasses\MPTIFontSelector.h(24): error E2139: Declaration missing ; > ..\CommonClasses\MPTIFontSelector.h(19): error E2109: Not an allowed type > ..\CommonClasses\MPTIFontSelector.h(21): error E2109: Not an allowed type > ..\CommonClasses\MPTIFontSelector.h(24): error E2109: Not an allowed type > ..\CommonClasses\MPTIFontSelector.cpp(36): error E2451: Undefined symbol > 'AdvOfficeFontSizeSelector1' in function TMPTIFont::updateFont() > ..\CommonClasses\MPTIFontSelector.cpp(38): error E2451: Undefined symbol > 'AdvOfficeFontSelector1' in function TMPTIFont::updateFont() > ..\CommonClasses\MPTIFontSelector.cpp(79): error E2451: Undefined symbol > 'AdvOfficeFontSelector1' in function _fastcall > TMPTIFont::AdvOfficeFontSelector1Change(TObject *) > ..\CommonClasses\MPTIFontSelector.cpp(97): error E2451: Undefined symbol > 'AdvOfficeFontSizeSelector1' in function _fastcall > TMPTIFont::AdvOfficeFontSizeSelector1Change(TObject *) > ..\CommonClasses\MPTIFontSelector.cpp(113): error E2451: Undefined symbol > 'AdvColorComboBox1' in function _fastcall > TMPTIFont::AdvColorComboBox1Change(TObject *) > ..\CommonClasses\MPTIFontSelector.cpp(189): error E2451: Undefined symbol > 'AdvColorComboBox1' in function TMPTIFont::setComboColor(TColor) > > > > > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
