Building digikam on Windows
Nino
nino.kettlitz at gmail.com
Tue Dec 26 20:59:52 GMT 2023
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20231226/3857db32/attachment.htm>
More information about the Digikam-devel
mailing list