Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Debug build (CMAKE) on Linux failing
Qt 6.12 LTS is out! See what's new in the release blog

Debug build (CMAKE) on Linux failing

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 13 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • PerdrixP Online
    PerdrixP Online
    Perdrix
    wrote last edited by
    #1

    I tried to debug my code using VS2026 remote debug just now, and the build failed:

    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 && /usr/bin/cmake -E cmake_autogen /home/amonra/.vs/DSS/build/DeepSkyStacker/CMakeFiles/DeepSkyStacker_autogen.dir/AutogenInfo.json Debug && /usr/bin/cmake -E touch /home/amonra/.vs/DSS/build/DeepSkyStacker/DeepSkyStacker_autogen/timestamp && /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.
    

    Can anyone suggest what's wrong?

    Thanks, David

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved