<?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>Sat, 31 Oct 2026 07:45:26 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></channel></rss>