Skip to content

Unable to build Velocity Next :( #4

Description

@Retro-Hax

So i tried following the BUILD.md Guide and either im stupid or doing something wrong but i do think that outside of Botan i do infact have all Deps >.>

Im on Arch Linux if that matters btw :P

[retro-hax@archlinux Velocity-Next]$ cmake --preset linux-release
-- Generator: Ninja
-- Build type: Release
-- Found Qt6 6.11.1 at: /usr/lib/cmake/Qt6Core
-- Botan submodule not found, will download to: /home/retro-hax/Programme/GitRepos/Velocity-Next/out/build/linux-release/botan
-- Checking for Botan updates...
-- 
-- ===============================================
--   Newer Botan version available!
--   Current:   3.9.0
--   Available: 3.12.0
-- 
--   To upgrade:
--   1. Update BOTAN_VERSION in CMakeLists.txt
--   2. Or run: cmake -DBOTAN_VERSION=3.12.0 ..
--   3. Download: https://github.com/randombit/botan/archive/refs/tags/3.12.0.tar.gz
-- ===============================================
-- 
-- 
-- ═══════════════════════════════════════════════════════
--              Build Configuration Summary
-- ═══════════════════════════════════════════════════════
--   Platform:  Linux (GCC 16.1.1)
--   Generator: Ninja
--   Build:     Release
-- ───────────────────────────────────────────────────────
--   Qt:        6.11.1   ✓ (requires 6.7.3+)
--   Botan:     3.9.0   ⚠ (3.12.0 available)
--   Python:    3.14.5   ⚠ (3.14.6 available) (Botan build)
--   CMake:     4.3.3  ✓ (requires 3.19+)
-- ───────────────────────────────────────────────────────
--   XboxInternals: Shared
--   Output:        /home/retro-hax/Programme/GitRepos/Velocity-Next/out/build/linux-release
--   Targets:       VelocityNext, XboxInternals
-- ───────────────────────────────────────────────────────
--   Ccache:        not found
--   CPU Cores:     16 (use -j16 for parallel builds)
-- ═══════════════════════════════════════════════════════
-- Configuration completed in 0 seconds
-- 
-- Next steps:
--   Build:   cmake --build --preset linux-release
--   Run:     /home/retro-hax/Programme/GitRepos/Velocity-Next/out/build/linux-release/VelocityNext/VelocityNext
-- 
-- Configuring done (3.2s)
-- Generating done (0.1s)
-- Build files have been written to: /home/retro-hax/Programme/GitRepos/Velocity-Next/out/build/linux-release
[retro-hax@archlinux Velocity-Next]$ cmake --build --preset linux-release
[1/2] Building CXX object VelocityNext...eFiles/VelocityNext.dir/zipviewer.cpp.o
FAILED: [code=1] VelocityNext/CMakeFiles/VelocityNext.dir/zipviewer.cpp.o 
/usr/bin/c++ -DPLATFORM_BUILD_NAME=\"Unix\" -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_XML_LIB -DUSING_XBOXINTERNALS_SHARED -DVERSION="\"\\\"0.2.0.0\\\"\"" -I/home/retro-hax/Programme/GitRepos/Velocity-Next/out/build/linux-release/VelocityNext/VelocityNext_autogen/include -I/home/retro-hax/Programme/GitRepos/Velocity-Next/Velocity -I/home/retro-hax/Programme/GitRepos/Velocity-Next/XboxInternals/include -I/home/retro-hax/Programme/GitRepos/Velocity-Next/out/build/linux-release -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtXml -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtConcurrent -O3 -DNDEBUG -std=c++20 -mno-direct-extern-access -MD -MT VelocityNext/CMakeFiles/VelocityNext.dir/zipviewer.cpp.o -MF VelocityNext/CMakeFiles/VelocityNext.dir/zipviewer.cpp.o.d -o VelocityNext/CMakeFiles/VelocityNext.dir/zipviewer.cpp.o -c /home/retro-hax/Programme/GitRepos/Velocity-Next/Velocity/zipviewer.cpp
/home/retro-hax/Programme/GitRepos/Velocity-Next/Velocity/zipviewer.cpp:3:10: fatal error: QtCore/private/qzipreader_p.h: No such file or directory
    3 | #include <QtCore/private/qzipreader_p.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

EDIT: Fixed Formatting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions