Incredibuild Support has moved! Come join us at:
Knowledgebase : IncrediBuild for Windows > Troubleshooting
Issue: When several consoles are specified for debugging, IncrediBuild
only deploys a build to one console.
Fix: Visual Studio doesn't doesn't store debugging information for
project files. You need to specify the console list again. You can do
this fro...
Issue:
"Fatal error C1902" errors appear in the Build Monitor.
Fix:
This problem is fixed in every IncrediBuild version from v5.0 onwards.
If upgrading doesn't solve the problem please try this:
1) Locate the name of the agent machine on which t...
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...
Issue: When the /Tp compiler comand line switch is used, the compiler
will generate a command line error message.
Fix: This is a known issue that we are working on fixing in a future
release, but in the meantime, use the /TP switch, instead of the /Tp
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...
Possible Causes:
The most common reason an Agent or multiple Agents are not assigned to
a build is not meeting the minimum system requirements.
Fix:
To check if the minimum system requirements are met:
* Open the Coordinator window.
* Select "...
Issue: Auto-hide features sometimes fail when the Build Monitor is
docked in Visual Studio.
Cause: This is a known issue related to VS 2015's plugins
architecture.
Fix: Click "Hide Monitor" then "Show Monitor."
If you are having trouble setting up a Backup Coordinator or if your
current one is not working you can try two things:
1.
* Open up the Coordinator Settings on the machine running your main
Coordinator. Go to the "Backup" page under the Coordinator...
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 ...
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...
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....
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...
You can compare the differences between regular build commands
executed with Visual Studio and build commands executed with
IncrediBuild. This can be beneficial if you notice crucial differences
between the results obtained when you regularly execute your...
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...
Issue:
Double-clicking on a progress bar in the Build Monitor Progress
display doesn't open the Output screen in the relevant location
(related to that task).
Fix:
Assuming that the issue is encountered when using Submission
Interfaces or Automatic ...
Cause:
This could happen as a result of a corrupt file cache.
Fix: Try the following on the machine exhibiting the problem:
1. Open the Agent Settings window. Under the "Helper" tab, open the
General page.
2. Click the "Clear Contents" button.
3. Cl...
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...
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...
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...
Issue: When using Windows Terminal Server, IncrediBuild fails to work
for users with limited access rights. The Agent Service is reported as
not being installed for these users.
Fix: Granting "Profile single process" rights to the
non-administrative us...
Cause: This may occur if you have installed a different version of
Visual Studio after already having IncrediBuild installed on the
machine.
To re-apply the IncrediBuild add-in:
* Close Visual Studio.
* Open Agent Settings.
* from the Visual Stu...
Issue: After installation, no keyboard shortcuts are set for
IncrediBuild operations.
Fix:
This issue arises from MSVC 7.0's inability to predefine keyboard
shortcuts for custom addins.
To manually set the keyboard shortcuts necessary from the Visua...
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...
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...
Considerationgs to take into account when using IncrediLink and their
potential fixes:
* Duplicate lik error messages may appear if different project
libraries include or define the same variable more than once. This is
because the linker is more tole...
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...
Issue: The toolbar buttons will sometimes not become disabled/enabled
immediately after stopping or starting a build from the addin.
Description: This is a known issue caused by an MSVC 7.0 bug.
Fix: Click any window inside the Visual Studio IDE.
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...
Issue:
PDB related errors may be encountered during IncrediBuild builds when
implemented with Visual Studio 2005 to Visual Studio 2010.
E.g.:
"Error C2471: cannot update program database"
or:
"Failed to handle synchronization request: "*vc100.pdb"
or:
...
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 $...
Issues:
* The IncrediBuild warning "import directives in the precompiled
header should use the no_implementation attribute. See FAQ section in
documentatio n for more details." Is shown, relating to code inside a
multi-line comment.
* When changing...
Issue:
Some SCons builds fail without apparent errors being displayed in the
output logs, and no red task bars appear in the Build monitor console
(sometimes a "Python.exe has stopped working" dialog may appear).
Cause:
This state is caused because...
Issue: The following build system warning appears when executing your
builds " IncrediBuild: build system warning: #import directives in
the pre-compiled header should use the no_implementation attribute.
See FAQ section in documentation for more details....
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...
Issue: Slow IB build when running Trend Micro OfficeScan 7.2 Edition
(Anti Virus) -
When running Trend Micro OfficeScan 7.2 Edition performance issues
might show up in IncrediBuild builds.
Fix: You might want to consider upgrading you Anti-Virus to Tre...
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(...
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...
Issue:
Some or all Agents are shown with a "connection failed status" from
the Coordinator menu
Fix:
Open up the Agent settings for Agents who have the "Connection failed"
status from the Coordinator menu. If prompted with a message asking
whether y...
Issue: When using IncrediLink with the "Do not create libraries"
option set, VC will prompt that projects are out of date and suggests
to rebuild the required files.
Fix: Since the "do not create libraries" is not supported by the
Visual Studio IDE, thi...
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...
IncrediLink enhances the incremental linking feature for Visual Studio
Versions 2008 and before. IncrediLink is there to speed up linking
when changes are made to project files.
Fix: To check if IncrediLink, is in fact, improving link time, compare
the...
You may be seeing the same file getting compiled twice due to the way
IncrediBuild's performance optimization functions. When there is a
task waiting for another task to be completed by a Helper Agent,
IncrediBuild will start compiling the same file on t...
In some cases, a minor difference may be seen in the size of
Intermediate/Output files built by IncrediBuild when compared to the
same files built by VC.
This is an expected behavior which does not indicate any significant
difference between the files. T...
ssue: A while after setting an Agent to the "Disabled" status, it
shows up as "Enabled" and participates in distributed builds.
Fix: While disabling the Agent should prevent the Agent from working.
There are two Agent Settings that may automatically ...