<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cannot resolve error: &#x27;lld-link&#x27; is not recognized as an internal or external command, operable program or batch file.]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am attempting to compile a qt program for the lab I work for but I keep getting the following error: "'lld-link' is not recognized as an internal or external command, operable program or batch file."  It is accompanied by an error 1 and error 2 for jom.exe, and an output that states the jom.exe exited with code 2. Also, the compile output states that there was an error when executing step "Make."<br />
The entire output is below:</p>
<p dir="auto">20:43:17: Running steps for project Miniscope-DAQ-QT-Software...<br />
20:43:17: Configuration unchanged, skipping qmake step.<br />
20:43:17: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe"<br />
xcopy /s /q /y /i "C:\Users\name\source\repos\Miniscope-DAQ-QT-Software2\source..\deviceConfigs" "C:\Users\name\source\repos\Miniscope-DAQ-QT-Software2\build-Miniscope-DAQ-QT-Software-Desktop_x86_windows_msvc2019_pe_64bit-Debug\deviceConfigs"<br />
2 File(s) copied<br />
xcopy /s /q /y /i "C:\Users\name\source\repos\Miniscope-DAQ-QT-Software2\source..\userConfigs" "C:\Users\name\source\repos\Miniscope-DAQ-QT-Software2\build-Miniscope-DAQ-QT-Software-Desktop_x86_windows_msvc2019_pe_64bit-Debug\userConfigs"<br />
10 File(s) copied<br />
C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug<br />
xcopy /s /q /y /i "C:\Users\name\source\repos\Miniscope-DAQ-QT-Software2\source..\deviceConfigs" "C:\Users\name\source\repos\Miniscope-DAQ-QT-Software2\build-Miniscope-DAQ-QT-Software-Desktop_x86_windows_msvc2019_pe_64bit-Debug\deviceConfigs"<br />
2 File(s) copied<br />
xcopy /s /q /y /i "C:\Users\name\source\repos\Miniscope-DAQ-QT-Software2\source..\userConfigs" "C:\Users\name\source\repos\Miniscope-DAQ-QT-Software2\build-Miniscope-DAQ-QT-Software-Desktop_x86_windows_msvc2019_pe_64bit-Debug\userConfigs"<br />
10 File(s) copied<br />
lld-link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='<em>' processorArchitecture='</em>'" /MANIFEST:embed /OUT:debug\Miniscope-DAQ-QT-Software.exe <a class="plugin-mentions-user plugin-mentions-a" href="/user/c">@<bdi>C</bdi></a>:\Users\name\AppData\Local\Temp\Miniscope-DAQ-QT-Software.exe.8600.110.jom<br />
'lld-link' is not recognized as an internal or external command,<br />
operable program or batch file.<br />
jom: C:\Users\name\source\repos\Miniscope-DAQ-QT-Software2\build-Miniscope-DAQ-QT-Software-Desktop_x86_windows_msvc2019_pe_64bit-Debug\Makefile.Debug [debug\Miniscope-DAQ-QT-Software.exe] Error 1<br />
jom: C:\Users\name\source\repos\Miniscope-DAQ-QT-Software2\build-Miniscope-DAQ-QT-Software-Desktop_x86_windows_msvc2019_pe_64bit-Debug\Makefile [debug] Error 2<br />
20:43:17: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.<br />
Error while building/deploying project Miniscope-DAQ-QT-Software (kit: Desktop (x86-windows-msvc2019-pe-64bit))<br />
When executing step "Make"<br />
20:43:17: Elapsed time: 00:01.</p>
<p dir="auto">Some additional information, I am running QT creator on the windows 10 through a separate partition using bootcamp on my mac. I am not sure what is the problem and I cannot find any help online that relates to this specific issue. Any help would by greatly appreciated.</p>
<p dir="auto">If additional details are needed, I am more than happy to provide them. I have been scratching my head at this issue for quite some time now.</p>
<p dir="auto">Thank you</p>
]]></description><link>https://forum.qt.io/topic/119718/cannot-resolve-error-lld-link-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 18:17:06 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/119718.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Oct 2020 01:18:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot resolve error: &#x27;lld-link&#x27; is not recognized as an internal or external command, operable program or batch file. on Thu, 08 Oct 2020 04:34:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gracious23">@<bdi>gracious23</bdi></a> said in <a href="/post/621261">Cannot resolve error: 'lld-link' is not recognized as an internal or external command, operable program or batch file.</a>:</p>
<blockquote>
<p dir="auto">building OpenCV for Qt creator?</p>
</blockquote>
<p dir="auto">You do not build it for QtCreator (which is just an IDE).<br />
You need to build it using same compiler as you use for your Qt application.<br />
To build it you can use QtCreator: download OpenCV source code and open CMakeLists.txt file in QtCreator, then build.<br />
Also this can be helpful: <a href="https://perso.uclouvain.be/allan.barrea/opencv/cmake_config.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://perso.uclouvain.be/allan.barrea/opencv/cmake_config.html</a></p>
]]></description><link>https://forum.qt.io/post/621262</link><guid isPermaLink="true">https://forum.qt.io/post/621262</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Thu, 08 Oct 2020 04:34:58 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot resolve error: &#x27;lld-link&#x27; is not recognized as an internal or external command, operable program or batch file. on Sat, 10 Oct 2020 01:57:11 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, thanks to your help I realized I was approaching opencv and qtcreator from the wrong point of view. Running CMakeLists.txt file in Qt did the trick and after playing around with it I got my program to build succesfully. Many thanks.</p>
]]></description><link>https://forum.qt.io/post/621575</link><guid isPermaLink="true">https://forum.qt.io/post/621575</guid><dc:creator><![CDATA[gracious23]]></dc:creator><pubDate>Sat, 10 Oct 2020 01:57:11 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot resolve error: &#x27;lld-link&#x27; is not recognized as an internal or external command, operable program or batch file. on Thu, 08 Oct 2020 04:34:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gracious23">@<bdi>gracious23</bdi></a> said in <a href="/post/621261">Cannot resolve error: 'lld-link' is not recognized as an internal or external command, operable program or batch file.</a>:</p>
<blockquote>
<p dir="auto">building OpenCV for Qt creator?</p>
</blockquote>
<p dir="auto">You do not build it for QtCreator (which is just an IDE).<br />
You need to build it using same compiler as you use for your Qt application.<br />
To build it you can use QtCreator: download OpenCV source code and open CMakeLists.txt file in QtCreator, then build.<br />
Also this can be helpful: <a href="https://perso.uclouvain.be/allan.barrea/opencv/cmake_config.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://perso.uclouvain.be/allan.barrea/opencv/cmake_config.html</a></p>
]]></description><link>https://forum.qt.io/post/621262</link><guid isPermaLink="true">https://forum.qt.io/post/621262</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Thu, 08 Oct 2020 04:34:58 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot resolve error: &#x27;lld-link&#x27; is not recognized as an internal or external command, operable program or batch file. on Thu, 08 Oct 2020 02:19:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a>  @Pablo-J-Rogina</p>
<p dir="auto">My mistake, I should have mentioned that. I am a newbie and did not know how relevant that information is.</p>
<p dir="auto">I believe this is where my issue lies as the setup instructions are confusing for me and are not clear on the Miniscope DAQ QT Software github. Also, there is not too much as far as documentation on their github.</p>
<p dir="auto">I guess the solution the my problem may involve more general advice if you guys could provide it. Do you have advice as to building OpenCV for Qt creator? The setup instructions do not go into too much detail on the Miniscope github. Due to this, and the fact that I have not found a good guide online, I have had difficulty figuring it out. I am also not sure whether I should use x32 or x64 to build.</p>
<p dir="auto">As far as compilers go I have the options of using x86-windows-msvc2019-32bit as well as x86-windows-msvc2019-64bit. In addition to those I can use Desktop QT 5.15.0  MSVC 2019 32bit or Desktop QT 5.15.0  MSVC 2015 64bit.</p>
<p dir="auto">I am not sure if this is relevant but I am running windows 10 on my 2017 macbook pro through bootcamp. The gpu is an Intel Iris Plus Graphics 640.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.qt.io/post/621261</link><guid isPermaLink="true">https://forum.qt.io/post/621261</guid><dc:creator><![CDATA[gracious23]]></dc:creator><pubDate>Thu, 08 Oct 2020 02:19:24 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot resolve error: &#x27;lld-link&#x27; is not recognized as an internal or external command, operable program or batch file. on Wed, 07 Oct 2020 14:12:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gracious23">@<bdi>gracious23</bdi></a> said in <a href="/post/621032">Cannot resolve error: 'lld-link' is not recognized as an internal or external command, operable program or batch file.</a>:</p>
<blockquote>
<p dir="auto">If additional details are needed</p>
</blockquote>
<p dir="auto">It'd be great you mentioned that you're trying to build the <a href="https://github.com/Aharoni-Lab/Miniscope-DAQ-QT-Software" target="_blank" rel="noopener noreferrer nofollow ugc">Miniscope-DAQ-QT-Software</a>.</p>
<p dir="auto">So have you followed the <a href="https://github.com/Aharoni-Lab/Miniscope-DAQ-QT-Software/wiki#setting-up-and-running-the-software-on-your-computer" target="_blank" rel="noopener noreferrer nofollow ugc">setup instructions</a>?</p>
<p dir="auto">If answer is yes, for step #2 you should have installed proper build tools (i.e. compiler/linker) to build OpenCV and from your error, it looks like something is messed up since the process is trying to call the LLVM linker, which as <a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> mentioned, it's not the usual tool for Qt under Windows.</p>
]]></description><link>https://forum.qt.io/post/621128</link><guid isPermaLink="true">https://forum.qt.io/post/621128</guid><dc:creator><![CDATA[Pablo J. Rogina]]></dc:creator><pubDate>Wed, 07 Oct 2020 14:12:19 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot resolve error: &#x27;lld-link&#x27; is not recognized as an internal or external command, operable program or batch file. on Wed, 07 Oct 2020 06:44:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gracious23">@<bdi>gracious23</bdi></a> What exact Qt version and compiler do you use?<br />
As far as I know lld-link comes from <a href="https://llvm.org/" target="_blank" rel="noopener noreferrer nofollow ugc">https://llvm.org/</a> which is usually not used on Windows with Qt (MinGW and MSVC are used).</p>
]]></description><link>https://forum.qt.io/post/621051</link><guid isPermaLink="true">https://forum.qt.io/post/621051</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 07 Oct 2020 06:44:52 GMT</pubDate></item></channel></rss>