Building digikam on Windows
Nino <[email protected]> Tue, 26 Dec 2023 21:59:52 +0100
| Newsgroups | gmane.comp.kde.digikam.devel |
|---|---|
| Message-ID | <CAD2LTzQAfq_MQuZLJs3mz+W3S1rAX=wC7Y=GhBSeqVytYV6SFg@mail.gmail.com> |
Hi folks, Where can I find documentation on how to build Digikam for Windows? What are the prerequisites? I already installed Qt6 and Visual Studio Community Edition, but bootstrap.vcpkg fails with: CMake Error: CMake was unable to find a build program corresponding to "NMake Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage I think the problem is b/c the VCPKG_DIR is wrong VCPKG_DIR="/c/vcpkg" I changed it to VCPKG_DIR="/c/Program\ Files/Microsoft\ Visual\ Studio/2022/Community/VC/vcpkg" but now CMake complains: CMake Warning: Ignoring extra path from command line: "Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" So it seems it cannot handle the folder names containing spaces. Any idea how to workaround this? I also tried creating a Windows batch file (bootstrap.vcpkg.bat) to avoid Windows vs. Unix filename mess, but it did not work either (CMake failed to compile a simple program). Any help would be highly appreciated.