Knowledgebase
This issue only occurs for builds executed when using
the BuildConsole /command or ibconsole /command. This is because
the VBCScompiler only has AllowIntercept="true" in the build
profile when the build is executed from within Visual Studio.
To sol...
ISSUE:
This can usually happen with C# builds but can also occur with C++
builds and it is related to Devenv.exe way of work
In order to avoid this long phase, you can try to invoke the build
directly with MSBuild:
On the Initiator machine, pleas...
PROBLEM:
The error "The license for Visual Studio has expired." Our build
server normally just runs MSBuild without a license. The command
works on my local laptop with IncrediBuild installed and I have a
license for Visual Studio.
Do we need to...
Adding a preprocessor definition from cl command line is possible by
adding the "/cl_add" option to your build command in the following
way:
/cl_add="/D DEFNAME=VALUE"
This actually adds the specified parameter to the cl command line when
executed. /D s...
From IncrediBuild 6.0 onwards, there is a new acceleration feature
called "Predicted Execution," which can provide up to an additional
20% acceleration on your Builds.
The way Predicted Execution works is by performing nonchronological
executions on cer...
Additional manual configurations are required when IncrediBuild is
used with Microsoft Firewall over multiple network sub nets:
_Additional manual configurations are necessary when IncrediBuild
needs to pass through Windows Firewall through multiple net...
The AllowRemoteIf and DenyRemoteIf XML Profile parameters allow
you to control the way tasks are distributed.
Therefore, the parameter of these should be some unique part of the
task command.
EXAMPLE:
The AllowRemoteIf and DenyRemoteIf XML Profile parameters allow
you to control the way tasks are distributed.
Therefore, the parameter of these should be some unique part of the
task command.
ALLOWREMOTEIF EXAMPLE:
if the process reports an error by writing to the command console's
output - IncrediBuild can recover it.
IN ORDER TO SET THIS SAFEGUARD, PLEASE ADD THE FOLLOWING VALUES TO THE
REGISTRY:
*
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeXoreaxIncrediBuildBuil...
The main Benefits of IncrediBuild for Build Servers are the
following:
* With IncrediBuild installed on other machines, the build server
power is dramatically increased since it can use more cores for the
build process by harnessing idle CPU cores on...
Although in some scenarios incremental builds are short and won't get
the same benefits from IncrediBuild as a full rebuild, you should be
aware that this is not always the case.
When a change is made to core projects (projects that other projects
depen...
Sometimes a custom build step, build event or a build tool can be
further broken down to smaller tasks, and parallelized to achieve
further acceleration.
This method can be used in Visual Studio versions 2010 and higher, and
allows the distribution and ...
A build may fail without any real indication if either of the
following are true:
* More than one solution configuration is used
* 2 Projects with the same configuration are set to build as a batch
build.
Case example :
THE CONFIGURATIONS ...
Problem description:
After a successful build using IncrediBuild, when modifying one .cpp
file and trying to compile it by pressing Ctrl+F7 (Build/Compile of
Visual Studio), Visual Studio compiler fails with the following
message:
"g:projectssrcdllisorb...
Problem description:
After upgrading to V7.3, build fails right after the "preparing
build step" or doesnt do anything.
Build Monitor looks like this:
Cause:
This problem occurs with non English Visual Studio - usually: VS2015,
VS2017
The reason for ...
Symptoms:
IncrediBuild build might start failing on specific remote Win10
machines with the following error (or similar to it):
error: CreateProcess: No such file or directory
Reason:
The problem is caused due to the recent Win10 update - 1803 (Build
17...
Problem Description:
Visual Studio builds started to hang after recent Windows 10 update
(Anniversary Edition update)
Workaround:
In case of command line builds, it is possible to add the following
switch which will be relevant only for this specifi...
Sample Image:
It is possible that the cause for the failure is a corruption of the
history index file.
HistoryLocalHistoryIndex.dat.
Please try to clear the build history by opening the build history ->
File -> Clear History.
If t...
PROBLEM DESCRIPTION:
IncrediBuild fails to execute both through the Visual Studio IDE and
the command line, however standard Visual Studio builds execute
fine.
POSSIBLE CAUSES:
The warning is due to the fact that IncrediBuild adds the
/de...
If the build has large tasks – there is basically no limit for
the cache file size since it will damage the build.
However, once the build finish, the main Coordinator will monitor the
cache size on all Agents and reduce it to the defined limit. This
o...
IncrediBuild creates a temp folder within the IncrediBuild
Installation folder.
In order to modify the folder's location, please do the following:
Under "HKEY_LOCAL_MACHINESOFTWAREWow6432NodeXoreaxIncrediBuildBuilder"
add:
TempDir
for the valu...
Issue:
The build fails with "CL Wrapper (GL)" error message.
Cause:
This error message may be related to the IncrediBuild PDB file
synchronization mechanism.
Fix:
* On the machine hosting your main Coordinator, open up the
Coordinator Monitor....
FULL ERROR MESSAGE:
fatal error C1041: cannot open program database
'c:develop3rdparty_test_build_opencv_3_2opencv_3_2buildmodulescudaarithmcmakefilescuda_compile.dirsrccudavc120.pdb';
if multiple CL.EXE write to the same .PDB file, please use /FS
SCENA...
IncrediBuild doesn't yet support the new CMake feature in Visual
Studio 2017, so below is a general command line workaround that will
let you take advantage of the new feature.
For the sake of this demonstration, I have downloaded a CMake sample
project...
This is applicable to IncrediBuild versions 7.1 and before.
Issue:
Command line error D8037 : cannot create temporary il file
Usually happens on Helper machines
Cause:
This issue is related to the Windows OS update released on 9.2.2016 .
It happe...
CMD has a limit of 8192 characters.
Longer command line arguments require a script file to execute the
command.
CMD has a limit of 8192 characters.
Longer command line arguments require a script file to execute the
command.
Usually when there are connectivity issues between the Initiator Agent
and Helper Agents, the "failed to connect to port 31105 on…"
message appears in the Build Monitor.
In most cases this is related to the Windows Firewall settings. If the
relevant p...
Generally an IncrediBuild Coordinator does not consume a lot of system
resources, and there are two scenarios on how it can be set up:
* Coordinator Only – A simple minimal VM would do – there is
hardly requirements for disk space (200 –250 MB should...
NOTE:
A valid DevTools Solution license is required to use XML Profiles when
using IncrediBuild.
Sometimes there is a need to define specific exit codes since certain
programs don't always return 0 as a success code and 1 as a failure
code.
FOR VISU...
Currently, there is no setting to disable Predicted Execution for
specific projects, but there is a workaround.
Predicted Execution will automatically be disabled for projects
where you have specified a custom step. This happens because
IncrediBuild d...
Scons and many other Make tools
[http://www.incredibuild.com/webhelp/webframe.htm#IB_for_Make_and_Build_Tools1.html]
are supported by default with IncrediBuild
In order to run a Scons build, all you need to do is to run the
following command:
buildconso...
PROBLEM DESCRIPTION:
Error: Predicted execution general failure: C:Program Files
(x86)eaxIncrediBuildIBMSBHLP.DLL could not be loaded!
11:08:37 AM (+0:18)
Error: 0x000000C1
SOLUTION (WORKAROUND)
Currently the problem is related to the fact that 6...
ISSUE:
The following error appears:
Some errors occurred during migration. For more information, see the
migration report:
FIX:
* open the CMD in the location of devenv.exe of your
VS2013/2015/2017
* Run the following command: devenv /resetu...
ERRORS THAT MAY OCCUR:
* Failed to initiate build
* Failed to detect version of solution file
* Failed to load solution file
* Unknown file format
This may be related to the contents of your solution file. If the file
isn't formatt...
Issue:
The following error is shown when trying to perform a build:
Failed to detect version of solution/project file: C:xxxxxxxxxxxx.sln
Failed to load solution file: C:xxxxxxxxxxxx.sln (line 0)
Unknown file format signature.
Fix:
This issue tend...
ssue:
When building a Solution using BuildConsile build command - for
example:
BuildConsole mysln.sln /build /prj=NameOfMyProject /cfg="Release
Tool|Win32"
The following message appears:
Initializing...
--------------------Build System
Error------...
IncrediBuild can't automatically detect the sn.exe version, so it may
not find the file, or it may invoke the wrong one.
To solve this, just add the correct sn.exe file to the correct PATH.
TO DO SO:
* Find the relevant "sn.exe" fil...
This can happen if IncrediBuild was installed under the default path
(c:program files…) and the following folder also exists:
C:Program
The installation paths might confuse the Service when it wants to
start so it will look for it under C:Program an...
Problem:
When setting an environment variable in the following way:
SET
CL=;/DNTDDI_VERSION#0x06000200;/DWINVER#0x0600;/D_WIN32_WINNT#0x0600;/D_WIN32_IE#0x700;%CL%
The following error occurs:
fatal error C1083: Cannot open source file:
';/DNTDDI_VERSI...
This issue might be related to the "enable minimal directory
synchronization" settings when its settings aren't set correctly.
Please see:
http://www.incredibuild.com/webhelp/webframe.htm#agentsettings_buildsystem_advanced.html
[http://www.incredibu...
This error may occur in a random manner - usually when building large
Solutions.
There are 2 ways solving your LNK1318 error:
* Switching to the old PDB method - C7 (/Z7) since this error seems
to invoke when the regular "PDB for Edit And Contin...
Issue:
This warning message suggests that the process that is currently
assigned to a remote Helper doesn’t consume enough CPU resources -
hence IncrediBuild thinks it is stuck. Therefore an automatic recovery
mechanism is fired that reassigns this task...
Overview:
Incredibuild can accelerate Ninja builds in 2 ways:
* Running the ninja builds from Visual Studio IDE or command line as
part of Visual Studio build.
* Running the ninja build directly from the command line using the
ninja build command.
...
In order to mark a project to run locally right click the project in
Visual Studio, go to "Properties"->"Configuration
Properties"->"C/C++"->"Preprocessor Definitions" and add the string
-
"IB_RunLocal"
For VS2008 and below, use "Solution Settings"...
For each build, IncrediBuild creates a temp subfolder under TMP with
its own special temp files.
If there are two builds, one may generate a certain output that will
be kept in the 1st subfolder and the 2nd build may need to use these
files to successf...
The following three methods are easy ways to check if IncrediBuild is
currently building on your machine
* When IncrediBuild is running the following registry key is set
to the following value: XoreaxBuildContext=1
* If the machine you are using i...
Issue:
After the build seems to be completed, IncrediBuild just hangs for an
indefinite amount of time. If it continues to hang, it seems to
timeout and recognize the build as done. Looking at Process Explorer,
it looks like the spawned devenv.exe is re...
Problem description:
IncrediBuild tries to distribute the tasks to remote machines but some
(or all) remote tasks are canceled and executed locally.
Under the build monitor "Messages" tab the foollowing message can be
seen:
Automatic Recovery XX:XX:XX (...
Possible Causes:
The IncrediBuild service may not start due to the following reasons:
* There conflicting directory paths, such as "Program Files(x86)"
and "C:Program Files"
* The registry value to the directory in which IncrediBuild is stored
isn...
Issue:
The build starts correctly with the "Initializing..." phase however it
stops right after this phase. It is also possible that the build will
hang in the "Preparing build tasks" phase.
When clicking on the red vertical bar - there is no error in t...
Issue:
When a build starts with IncrediBuild it sometimes doesn't use all
available Helpers although there are many "ready tasks".
In addition, the IncrediBuild tray icon doesn't change to a
"building" state and the build can't be seen in the "Build His...
If the default versions of your operating system and Visual Studio are
not English, the IncrediBuild console output may read out
unrecognizable characters, such as question marks or may just output
"undefined characters."
IncrediBuild needs to writ...
This error occurs when trying to load the license:
EExternalException: External exception E0434F4D
If the 2013 redistributable is installed, but the above problem still
occurs, check if you have .NET 4.62 installed.
There might be a few other...
Problem description:
Loading the license fails with a pop up "Operation Aborted"
Reason:
This failure occurs when the main coordinator installed on Windows
Core OS (WCOS). Currently, the coordinator component is not supported
under this OS.
Starting from...
ISSUE:
Error loading mfp.dll (Error Code 126)
CAUSES:
This error is shown when trying to execute machineid.exe for the wrong
machine ID. (_SIC..)_ in order to generate a machine ID for the
offline license.
This can happen if the mfp.dll is corrup...
In version 5.5 IncrediBuild the licensing mechanism was updated. Due
to this change, it is important to pay attention to the following
information:
* Administrative privileges are required in order to load a license on
your IncrediBuild Coordinator.
* I...
If the build has no dependencies but it still looks like this:
It may be related to different output folders under:
C/C++ > Output Files > Object
If the option chosen is: "$(IntDir)%(RelativeDir)" the above build
result will be achi...
The full error looks like this:
Initializing...
--------------------Build System
Error-----------------------------------------
Failed to initialize Build System:
Failed to load build set.
MS Visual Studio 15.0 is not installed on t...
ISSUE:
Running BuildConsole command causes the following error:
--------------------Build System
Error-----------------------------------------
Failed to initialize Build System:
Failed to load build set.
MS Visual Studio 15.0 is not installed on th...
This error can happen whether or not you are executing your build
with IncrediBuild. It is usually related to
parallel MSBuild executions.
Since IncrediBuild parallelizes the majority of its processes, you
may face this error more often.
Try...
It seems that by default when IncrediBuild is being used it will spawn
tasks only relative to the number of local cores. If
the IncrediBuild Infrastructure has 100 cores but the initiator has
only 4, IncrediBuild will only run 4 tasks in parallel.
ACCO...
Problem Description:
Nintendo Switch tasks will use only the core amount of the Initiator
machine.
For example:
Local machine has 16 cores -> IncrediBuild will use only 16 cores. If
the "Avoid task execution on local machine when possible" is set, the
t...
Visual Studio 2010 and newer versions use the MSBuild engine which
executes all custom build tools and custom build rules within the
context of a single project in a sequential manner – on a single
CPU core
For example, in the following scenario: A cus...
This is regular behavior when executing builds with MSBuild rather
than Devenv.
This is not related to IncrediBuild.
Starting your build with pre and post build steps when
executing wth MSBuild will cause these steps to rebuild regardless
of wh...
IncrediBuild generates intermediary PDB files that go to the output
folder as your build executes. These intermediary files look like
this:
$(ProjectName)_ib_1.pdb, (ProjectName)_ib_2.pdb, and so on, until it
finally generates the final output file $...
In certain cases, regular Visual Studio builds may perform better
during the linking phase than builds executed with IncrediBuild. This
is due to the way IncrediBuild generates and synchronizes multiple
PDB and IDB files when exeecuting your build.
Bot...
It is possible to filter which files will be returned to the
Initiator machine.
TO DO SO, DO THE FOLLOWING:
* On the Coordinator machine, right click on theIncrediBuildtray
icon and open the Coordinator Monitor
* On the Coordinator Monitor , y...
Issue:
The "Preparing Build Tasks" phase is taking a very long time in some
/ all Solution.
Problem causes:
If the problem started to happen after upgrading from VS2008 / VS2005
to VS2010 or higher, then the reason for this problem is the
Devenv.ex...
Slow builds may be caused by AntiVirus software on your machine.
It is recommended that the Antivirus software will not be installed on
IncrediBuild machines. However, if there is no way of avoiding the
usage of Antivirus software, it is highly recomm...
Issue:
Visual Studio 2005/2008 solution with mixed projects (both C++ and C#)
fails with an out of memory error or with MSB4018: The "MSBuild" task
failed unexpectedly
Cause:
This problem may occur if the C# project is dependent on the C++
project(...
Description:
The build progress screen shows "csc" processes for source files which
are not part of the build - such as: hues4h05", "ylxo4ikd", etc...
Furthermore, the "csc" processes cannot be found in the output screen
of the build monitor.
Explanat...
ISSUE:
The build progress screen shows "csc" processes for source files which
are not a part of the build - such as: "bi5cu1dy", "ixgwolfz",
"pvcmod5x"…
Furthermore, the "csc" process cannot be found in the Output screen of
build monitor.
...
In some builds the tasks that are being executed on the Helper
machines produce special output files which are needed on the
Initiator machine.
In some cases, those special files are not being synchronized back to
the Initiator by default.
It is possib...
PROBLEM DESCRIPTION:
Build fails with a similar error:
TRACKER : error TRK0002: Failed to execute command: ""C:Program Files
(x86)Microsoft Visual Studio 14.0VCbinamd64CL.exe" /nologo "@C:Program
Files (x86)eaxIncrediBuildtempcmdfile.tmp"". The system c...
Besides this error, you may also see this one:
MSB4166: Child node "X" exited prematurel
This error only occurs when using Visual Studio 2005 or Visual Studio
2008, or when using their respective toolsets.
This is due to the fact that Incredi...
There can be multiple reasons why this happens:
* If you are using an older IncrediBuild version. Please check if
this still occurs when using the latest version.
* If your Visual Studio does not have the English Language pack
installed. IncrediBu...
When executing Unreal Engine 4 based builds, start the build process
using your usual build command or the regular "Build" option in Visual
Studio instead of using the IncrediBuild Build option. Once you
start your build the way you would without incrediB...
If this occurs during the linking phase, please try the following:
Key Name:
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeXoreaxIncrediBuildBuilder
String Value Name: DisableMonitorFileChanges
Value Type: String (REG_SZ)
Set the value Data to: 1
Issue:
Visual Studio is randomly / constantly crashing when trying to build
using IncrediBuild menu
Problem cause:
This problem can happen in Visual Studio 2010 / 2012 / 2013 and it is
related to the Windows "auto hide" feature (the small pin in the...
In certain cases after the initial IncrediBuild installation and
setup, there may be some issues related to the IncrediBuild menus.
Such as:
* The IncrediBuild dropdown menu doesn't appear in the Visual
Studio IDE.
* The dropdown menu is there...
Symptoms:
After upgrading IncrediBuild to version 4.5 or higher, the Build
Monitor displays the above warning message.
Reason:
The reason for this warning is that on the Initiator machine you have
4.5 .Net Framework on VS2012 / VS2013. Due to Micros...
Issue:
The build with IncrediBuild is not performed and only the "preparing
build tasks" phase is shown.
Cause:
This can happen with VS2017 Update 3 (15.3) using IncrediBuild version
9.0
The problem occurs since the "Lightweight Load" option was Enabl...
|
|
Help Desk Software by Kayako incredibuild.kayako.com