<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Build process hangs in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/3703229#M1041663</link>
    <description>&lt;P&gt;Has anyone every seen a Build window like this?&amp;nbsp; Says "Initializing build.&amp;nbsp; This could take several minutes...", but also has the "Done" button available.&amp;nbsp; LabVIEW is not using any CPU in this state.&amp;nbsp; Hitting Done (or Explore) exits the dialog, but LabVIEW is completely frozen and must be hast-killed from the Windows Task Manager.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Build process stuck.png" style="width: 487px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/215912i565265261CD8C25E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Build process stuck.png" alt="Build process stuck.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This affects some, but not all, of my builds, so it must involve something about the application I'm building.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2017 13:45:31 GMT</pubDate>
    <dc:creator>drjdpowell</dc:creator>
    <dc:date>2017-10-16T13:45:31Z</dc:date>
    <item>
      <title>Build process hangs</title>
      <link>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/3703229#M1041663</link>
      <description>&lt;P&gt;Has anyone every seen a Build window like this?&amp;nbsp; Says "Initializing build.&amp;nbsp; This could take several minutes...", but also has the "Done" button available.&amp;nbsp; LabVIEW is not using any CPU in this state.&amp;nbsp; Hitting Done (or Explore) exits the dialog, but LabVIEW is completely frozen and must be hast-killed from the Windows Task Manager.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Build process stuck.png" style="width: 487px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/215912i565265261CD8C25E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Build process stuck.png" alt="Build process stuck.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This affects some, but not all, of my builds, so it must involve something about the application I'm building.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 13:45:31 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/3703229#M1041663</guid>
      <dc:creator>drjdpowell</dc:creator>
      <dc:date>2017-10-16T13:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Build process hangs</title>
      <link>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/3755980#M1057786</link>
      <description>&lt;P&gt;Yes, I've been getting that in the past few weeks. Last night I left the build on and it had eventually completed after 3 hours (or something like that).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using LV2015, both 32bit and 64bit versions.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 19:25:13 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/3755980#M1057786</guid>
      <dc:creator>mjhakkar</dc:creator>
      <dc:date>2018-02-16T19:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Build process hangs</title>
      <link>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/3756027#M1057801</link>
      <description>&lt;P&gt;Never saw this error before. But one of the building error occurred to me is because I didn't close the vi.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 20:54:50 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/3756027#M1057801</guid>
      <dc:creator>gangxu</dc:creator>
      <dc:date>2018-02-16T20:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Build process hangs</title>
      <link>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242467#M1233370</link>
      <description>&lt;P&gt;I recently started hitting this same issue.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/66277"&gt;@drjdpowell&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Has anyone every seen a Build window like this?&amp;nbsp; Says "Initializing build.&amp;nbsp; This could take several minutes...", but also has the "Done" button available.&amp;nbsp; LabVIEW is not using any CPU in this state.&amp;nbsp; Hitting Done (or Explore) exits the dialog, but LabVIEW is completely frozen and must be hast-killed from the Windows Task Manager.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Build process stuck.png" style="width: 487px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/215912i565265261CD8C25E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Build process stuck.png" alt="Build process stuck.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This affects some, but not all, of my builds, so it must involve something about the application I'm building.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;One of the libraries I'm using is your SQLite code, building for Linux-RT.&lt;/P&gt;
&lt;P&gt;As part of the setup, I'm generating dummy files for {extension-functions,sqlite3}{,_64}.dll (i.e. 4 files) in a Pre-Build step, since these previously failed the build if they didn't exist, but aren't actually required for a Linux-RT application (since there SQLite is loaded as a shared library from a system-installed version, if I recall correctly?)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now those files are generated but nothing else appears in the build folder - not sure if this library is related but thought I'd mention it, since I'd guess you're also using it for some of your builds (5 years ago? hmm...)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was using this without (other) issue until just this week though - the "Initializing..." with "Done" available and frozen behaviour you mentioned is new.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll try waiting as Marko suggested.&lt;/P&gt;
&lt;P&gt;Did you find any other causes or solutions?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 07:16:10 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242467#M1233370</guid>
      <dc:creator>cbutcher</dc:creator>
      <dc:date>2022-07-12T07:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Build process hangs</title>
      <link>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242502#M1233385</link>
      <description>&lt;P&gt;I'm afraid I have no memory of this from 5 years ago.&amp;nbsp; I must have fixed it somehow, as I haven't had this specific issue since then.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 10:04:39 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242502#M1233385</guid>
      <dc:creator>drjdpowell</dc:creator>
      <dc:date>2022-07-12T10:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Build process hangs</title>
      <link>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242529#M1233404</link>
      <description>&lt;P&gt;The times I have seen that I traced it back to a developer issue where I "inspected " the build output and realized I had stuffed a dependency in the wrong output location then fixed the spec and attempted to rebuild without cleaning the build output folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My guess is that the app builder does not really rebuild anything that does not need rebuilding because it sees the object exists somewhere and can get very confused when it exists in a recursive location but can't see it at the desired location so it hangs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The obvious workaround is to never make a mistake then try to fix it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, building to a clean output location will always take longer than rebuilding.&amp;nbsp; But, if the change is non-trivial or results in a dependency move. Clean first!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NI never tests for every mistake developers can make.&amp;nbsp; Whereas I, OTOH, have made many more mistakes than NI accounts for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 13:33:07 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242529#M1233404</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2022-07-12T13:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Build process hangs</title>
      <link>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242786#M1233527</link>
      <description>&lt;P&gt;You could try to delete build destination directiry. It helped me many times when build gave strange outputs or hanged&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 06:53:31 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242786#M1233527</guid>
      <dc:creator>pawhan11</dc:creator>
      <dc:date>2022-07-13T06:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Build process hangs</title>
      <link>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242795#M1233531</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/123634"&gt;@JÞB&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;&lt;SPAN&gt;Yes, building to a clean output location will always take longer than rebuilding.&amp;nbsp; But, if the change is non-trivial or results in a dependency move. Clean first!&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This was one of the first things I tried (and then the favourite clear compiled cache dialog).&lt;/P&gt;
&lt;P&gt;Unfortunately it doesn't seem to help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diagram Disabling some bits has gotten me builds working - I'm not sure if the problem is a valid objection to invalid code, or an invalid objection to corrupted source, but it at least narrows the range of potential fixes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/123634"&gt;@JÞB&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The times I have seen that I traced it back to a developer issue where I "inspected " the build output and realized I had stuffed a dependency in the wrong output location then fixed the spec and attempted to rebuild without cleaning the build output folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My guess is that the app builder does not really rebuild anything that does not need rebuilding because it sees the object exists somewhere and can get very confused when it exists in a recursive location but can't see it at the desired location so it hangs.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hmm, interesting. Will try see if there's something like this going on... Doesn't sound completely out of the question.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 07:20:55 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242795#M1233531</guid>
      <dc:creator>cbutcher</dc:creator>
      <dc:date>2022-07-13T07:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Build process hangs</title>
      <link>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242857#M1233557</link>
      <description>&lt;P&gt;According to prophecy,&amp;nbsp; the first thing the app builder does is attempt to create a source distribution with all the VI properties reset to those in the build spec (debug disabled, typedefs disconnected, project library members removed, FP, BDs gone, etc...)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A long hang here COULD indicate a project dependency in a long search path that probably should have been moved into the project.&amp;nbsp; A hang might also be due to exactly how the source is saved in the temporary location.&amp;nbsp; Specific implementations are not documented and are therefore subject to improvement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A Build Error 1502&amp;nbsp; can occur if something like a method is used that requires the BD or FP to be in memory or a weak link exists(e.g. an FPGA bit file reference)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So my workflow is:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Floss project&lt;/LI&gt;
&lt;LI&gt;Ensure all build specs are ordered&lt;/LI&gt;
&lt;LI&gt;Clean all build specs&lt;/LI&gt;
&lt;LI&gt;Save all this project&lt;/LI&gt;
&lt;LI&gt;Build all&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;My hair may be going grey but, I still have a thick head of hair and don't find myself pulling it out in frustration.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 11:39:23 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242857#M1233557</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2022-07-13T11:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Build process hangs</title>
      <link>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242868#M1233563</link>
      <description>&lt;P&gt;As the Champion of Channel Wires, I regret to say that if you (ab)use them as much as I do, you may eventually run into an Infinite Build.&amp;nbsp; I use Messenger Channels a lot (for Channel Message Handlers -- CMH instead of QMH), and I suspect changing the "State" component, defined as an Enum that has a dedicated TypeDef (as does the Message Type, a cluster of State + Data, a variant) can provoke this "infinite hang".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case, the "fix" (once you realize the problem) is simple.&amp;nbsp; Go find the "ChannelInstances" folder (on my PC, and probably yours, it is located in "Documents\LabVIEW Data\2019(32-bit)\ExtraVILib".&amp;nbsp; Choose the "grandparent" folder according to the Version of LabVIEW you are using.&amp;nbsp; The ChannelInstances folder can be safely deleted -- when you go to do the Build, LabVIEW will simply re-create all of the Channel routines you need in a new ChannelInstances folder as part of the Build process (which will run so much faster ...).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob Schor&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 12:31:34 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4242868#M1233563</guid>
      <dc:creator>Bob_Schor</dc:creator>
      <dc:date>2022-07-13T12:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Build process hangs</title>
      <link>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4243007#M1233630</link>
      <description>&lt;P&gt;Just as something else to check, do you have antivirus software you can temporarily disable while doing a build?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any time a program does things where it creates or modifies EXE or DLL files that can cause some antiviruses to go nuts because they need to scan everything under the sun that could possibly be executable code and can go too far when you're creating new ones as part of a build.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 18:27:04 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Build-process-hangs/m-p/4243007#M1233630</guid>
      <dc:creator>Kyle97330</dc:creator>
      <dc:date>2022-07-13T18:27:04Z</dc:date>
    </item>
  </channel>
</rss>

