Skip to content

cgilles/digikam-vcpkg-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scripts to install compiled digiKam dependencies with MSVC under Windows

Authors : Gilles Caulier

  • Requirements:

- VirtualBox 7.x + guest extension pack             https://www.virtualbox.org/wiki/Downloads
    + Memory : 24 Gb                                Note: QtWebEngine requires a lots of memory with parallelized build
    + CPU    : 8
    + Disk0  : VDI static NTFS 150 Gb               C:/ SYSTEM VCPKG cache build target on $HOME/AppData/Local/vcpkg/archives
    + Disk1  : VDI static NTFS 250 Gb               E:/ DATA   for the build, download, install storage

- Windows 10 22H2 or later                          https://www.microsoft.com/en-us/software-download/windows10

- CMake 3.27 or later                               https://cmake.org/download/
    + Add CMake path to current user

- Git 2.42 or later                                 https://git-scm.com/download/win
    + Git-bash console
    + Bundled OpenSSH
    + OpenSSH library
    + Checkout/Commit Unix EOL
    + MinTTY Terminal

- Visual Studio 2022                                https://learn.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2022
    + Desktop development with C++
        + C++ core desktop features
        + MSVC v143 - VS2022 C++ x64/x86
        + Windows 11 SDK >= 10.0.22621.0
        + Just in time debugger                     (optional)
        + C++ Cmake tools for windows
        + C++ ATL for latest v143 build tools
        + C++/CLI support for v143
        + C++ Clang tools for Windows (16.0.5)

- NSIS 3.x                                          https://nsis-dev.github.io/

- WinFlexBison 2.5 or later                         https://github.com/lexxmark/winflexbison/releases
    + Uncompress the binary archive to C:/bison

- IcoUtils 0.32 or later                            https://sourceforge.net/projects/unix-utils/files/icoutils/
    + Uncompress the binary archive to C:/icoutils
  • Build:

To start Qt compilation use these scripts in a git-bash console:

1) ./01-build-vcpkg.sh

NOTE: due to long path problems while compiling under Windows and MSVC, VCPKG working directories must adjusted as shortest as possible:
    VCPKG_DIR=C:/vcpkg/
    INSTALL_DIR=E:/dk/
    DOWNLOAD_DIR=E:/d/
    BUILDING_DIR=E:/b/

    See the config.sh for details. Directories will be created automatically.

2) ./02-build-extralibs.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages