-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Hello Everyone,
It seems the current release is missing some important packages or it may lack some critical undocument steps.
Here is my enviroment versions:
- Windows 10 64bit
- Qt 5.15.2 both 32 and 64 bit
- Visual Studio 2019 both 32 and 64 bit
Steps to resolve some errors:
- Install doxygen-1.9.5 since it's is required by build.bat but undocument
- WIX variable is required example fix "export WIX="C:\Nextcloud\tools\wix""
- WiX headers are required and fixed by adding to
C:\Nextcloud\client-buildingdesktop\CMakeLists.txt:
set(INCLUDE_DIR "C:/Nextcloud/tools/wix/sdk/inc")
include_directories (${INCLUDE_DIR})
- Latest inkspace is required and fixed by installing `inkscape-1.2.1.msi'
- The last required component is KDE archive
F5Archiveand error is :
CMake Error at src/gui/CMakeLists.txt:3 (find_package):
Could not find a configuration file for package "KF5Archive" that is
compatible with requested version "".
The following configuration files were considered but not accepted:
C:/CraftRoot/lib/cmake/KF5Archive/KF5ArchiveConfig.cmake, version: 5.98.0 (64bit)
-- Configuring incomplete, errors occurred!
See also "C:/Nextcloud/client-building/desktop/build/CMakeFiles/CMakeOutput.log".
See also "C:/Nextcloud/client-building/desktop/build/CMakeFiles/CMakeError.log".
"*** Build FAILED: desktop Release Win32 (single-build-desktop.bat)"
I tried to compile F5Archive from source and tried using Craft binaries. Both ways results to the same thing Could not find a configuration file for package "KF5Archive .
I compiled F5archive with the follwoing steps from Qt website:
Building extra-cmake-modules
- Install CMake for windows (http://www.cmake.org/) and remember to put it on path enviroment variable
- git clone https://github.com/KDE/extra-cmake-modules.git
- In extra-cmake-modules, use (x64 Native Tools Command Prompt for VS 2019)
- mkdir build && cd build
- cmake .. -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=C:\kderoot; -DCMAKE_PREFIX_PATH=C:\Qt\5.15.2\msvc2019_64
- nmake install
Building karchive
- git clone kArchive https://github.com/KDE/karchive.git
- download Zlib from http://www.winimage.com/zLibDll/zlib123dllx64.zip in path-to-karchive\zlib\lib folder
- download https://zlib.net/zlib-1.2.12.tar.xz and put all headers in path-to-karchive\zlib\include folder
- In kArchive directory: mkdir build && cd build
- use (x64 Native Tools Command Prompt for VS 2019)
- cmake .. -G “NMake Makefiles” -DCMAKE_INSTALL_PREFIX=C:\kderoot -DCMAKE_BUILD_TYPE=release -DCMAKE_PREFIX_PATH=C:\kderoot;C:\Qt\5.15.2\msvc2019_64;C:\Nextcloud\tools\karchive\karchive\karchive\zlib
- nmake install
Any idea on how to fix karchive issue ?
Best
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels