<?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[Debug build (CMAKE) on Linux failing]]></title><description><![CDATA[<p dir="auto">I tried to debug my code using VS2026 remote debug just now, and the build failed:</p>
<pre><code>FAILED: DeepSkyStacker/DeepSkyStacker_autogen/timestamp DeepSkyStacker/DeepSkyStacker_autogen/mocs_compilation.cpp /home/amonra/.vs/DSS/build/DeepSkyStacker/DeepSkyStacker_autogen/timestamp /home/amonra/.vs/DSS/build/DeepSkyStacker/DeepSkyStacker_autogen/mocs_compilation.cpp 
cd /home/amonra/.vs/DSS/build/DeepSkyStacker &amp;&amp; /usr/bin/cmake -E cmake_autogen /home/amonra/.vs/DSS/build/DeepSkyStacker/CMakeFiles/DeepSkyStacker_autogen.dir/AutogenInfo.json Debug &amp;&amp; /usr/bin/cmake -E touch /home/amonra/.vs/DSS/build/DeepSkyStacker/DeepSkyStacker_autogen/timestamp &amp;&amp; /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/amonra/.vs/DSS /home/amonra/.vs/DSS/DeepSkyStacker /home/amonra/.vs/DSS/build /home/amonra/.vs/DSS/build/DeepSkyStacker /home/amonra/.vs/DSS/build/DeepSkyStacker/DeepSkyStacker_autogen/deps /home/amonra/.vs/DSS/build/CMakeFiles/d/cdf232d9ff9754b5e8c075633c3136e081ed221d40197580c3c594c5d8e7ea95.d

AutoMoc subprocess error
------------------------
The content generation command for "SRC:/build/DeepSkyStacker/DeepSkyStacker_autogen/moc_predefs.h" failed.
Process failed with return value 1

Command
-------
/usr/bin/c++ -std=gnu++23 -w -dM -E /usr/share/cmake-4.3/Modules/CMakeCXXCompilerABI.cpp -DBOOST_CONTAINER_NO_LIB -DBOOST_CONTAINER_STATIC_LINK -DLIBRAW_NODLL -DNOMINMAX -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DUSE_LIBTIFF_STATIC -DZ_TRACE_DEVELOP -D_CRT_SECURE_NO_DEPRECATE -I/home/amonra/.vs/DSS/DeepSkyStacker -I/home/amonra/.vs/DSS/DeepSkyStackerKernel -I/home/amonra/.vs/DSS/DeepSkyStacker/GeneratedFiles/Debug -I/home/amonra/.vs/DSS/DeepSkyStacker/GeneratedFiles -I/home/amonra/.vs/DSS/ZClass -I/home/amonra/.vs/DSS/Tools -I/home/amonra/.vs/DSS/qwt -I/opt/Qt/6.10.0/gcc_64/include/QtCore -I/opt/Qt/6.10.0/gcc_64/include -I/opt/Qt/6.10.0/gcc_64/mkspecs/linux-g++ -I/opt/Qt/6.10.0/gcc_64/include/QtGui -I/opt/Qt/6.10.0/gcc_64/include/QtWidgets -I/opt/Qt/6.10.0/gcc_64/include/QtNetwork -I/opt/Qt/6.10.0/gcc_64/include/QtOpenGLWidgets -I/opt/Qt/6.10.0/gcc_64/include/QtOpenGL -I/opt/Qt/6.10.0/gcc_64/include/QtConcurrent -I/opt/Qt/6.10.0/gcc_64/include/QtSvg -I/opt/Qt/6.10.0/gcc_64/include/QtPrintSupport -I/home/amonra/.vs/DSS/build/vcpkg_installed/x64-linux/include -I/home/amonra/.vs/DSS/build/vcpkg_installed/x64-linux/include/libraw -I/usr/include -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu

Output
------
cc1plus: fatal error: /usr/share/cmake-4.3/Modules/CMakeCXXCompilerABI.cpp: No such file or directory
compilation terminated.

ninja: build stopped: subcommand failed.
</code></pre>
<p dir="auto">Can anyone suggest what's wrong?</p>
<p dir="auto">Thanks, David</p>
]]></description><link>https://forum.qt.io/topic/165226/debug-build-cmake-on-linux-failing</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Nov 2026 06:51:38 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/165226.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 Oct 2026 08:25:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Debug build (CMAKE) on Linux failing on Sat, 31 Oct 2026 10:31:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi David,</p>
<p dir="auto">AutoMoc isn’t failing because of DeepSkyStacker or Qt. It’s failing because this file is missing on the Linux machine:</p>
<p dir="auto">/usr/share/cmake-4.3/Modules/CMakeCXXCompilerABI.cpp</p>
<p dir="auto">CMake needs that file while creating moc_predefs.h. Your install of CMake 4.3 looks incomplete.</p>
<p dir="auto">On Linux, try:</p>
<p dir="auto">ls /usr/share/cmake-4.3/Modules/CMakeCXXCompilerABI.cpp<br />
Reinstall CMake (or use another complete CMake version)<br />
Delete the build folder (~/.vs/DSS/build) and rebuild<br />
That should clear this error.</p>
<p dir="auto">Thanks,<br />
Ansif<br />
<a href="https://ansifi.com" target="_blank" rel="noopener noreferrer nofollow ugc">https://ansifi.com</a></p>
]]></description><link>https://forum.qt.io/post/840706</link><guid isPermaLink="true">https://forum.qt.io/post/840706</guid><dc:creator><![CDATA[ansifpi]]></dc:creator><pubDate>Sat, 31 Oct 2026 10:31:10 GMT</pubDate></item><item><title><![CDATA[Reply to Debug build (CMAKE) on Linux failing on Sat, 31 Oct 2026 10:32:21 GMT]]></title><description><![CDATA[<p dir="auto">Glad that fixed it.</p>
<p dir="auto">CMake’s Modules tree can end up half-installed sometimes (upgrade/path mix-up). Once CMakeCXXCompilerABI.cpp is back, AutoMoc is happy again.</p>
<p dir="auto">Good luck with DeepSkyStacker.</p>
]]></description><link>https://forum.qt.io/post/840708</link><guid isPermaLink="true">https://forum.qt.io/post/840708</guid><dc:creator><![CDATA[ansifpi]]></dc:creator><pubDate>Sat, 31 Oct 2026 10:32:21 GMT</pubDate></item><item><title><![CDATA[Reply to Debug build (CMAKE) on Linux failing on Sat, 31 Oct 2026 10:20:52 GMT]]></title><description><![CDATA[<p dir="auto">Thank you!  Removing and re-installing CMake (now 4.4.5) has fixed the problem.  I've no idea what went "pear-shaped" or how!</p>
]]></description><link>https://forum.qt.io/post/840707</link><guid isPermaLink="true">https://forum.qt.io/post/840707</guid><dc:creator><![CDATA[Perdrix]]></dc:creator><pubDate>Sat, 31 Oct 2026 10:20:52 GMT</pubDate></item><item><title><![CDATA[Reply to Debug build (CMAKE) on Linux failing on Sat, 31 Oct 2026 10:31:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi David,</p>
<p dir="auto">AutoMoc isn’t failing because of DeepSkyStacker or Qt. It’s failing because this file is missing on the Linux machine:</p>
<p dir="auto">/usr/share/cmake-4.3/Modules/CMakeCXXCompilerABI.cpp</p>
<p dir="auto">CMake needs that file while creating moc_predefs.h. Your install of CMake 4.3 looks incomplete.</p>
<p dir="auto">On Linux, try:</p>
<p dir="auto">ls /usr/share/cmake-4.3/Modules/CMakeCXXCompilerABI.cpp<br />
Reinstall CMake (or use another complete CMake version)<br />
Delete the build folder (~/.vs/DSS/build) and rebuild<br />
That should clear this error.</p>
<p dir="auto">Thanks,<br />
Ansif<br />
<a href="https://ansifi.com" target="_blank" rel="noopener noreferrer nofollow ugc">https://ansifi.com</a></p>
]]></description><link>https://forum.qt.io/post/840706</link><guid isPermaLink="true">https://forum.qt.io/post/840706</guid><dc:creator><![CDATA[ansifpi]]></dc:creator><pubDate>Sat, 31 Oct 2026 10:31:10 GMT</pubDate></item></channel></rss>