<div dir="ltr">I appreciate your patience and help. Forgive me if I'm not making this easy. <div><br></div><div>Here is what I get using the bootstrap.bat</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">**********************************************************************<br>** Visual Studio 2019 Developer Command Prompt v16.5.5<br>** Copyright (c) 2019 Microsoft Corporation<br>**********************************************************************<br><br>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>cd \Users\wss79\git\digikam-pgf-database<br><br>C:\Users\wss79\git\digikam-pgf-database>dir<br> Volume in drive C is Windows<br> Volume Serial Number is B439-C954<br><br> Directory of C:\Users\wss79\git\digikam-pgf-database<br><br>05/14/2020 04:52 PM <DIR> .<br>05/14/2020 04:52 PM <DIR> ..<br>05/14/2020 04:49 PM <DIR> .vs<br>05/14/2020 04:29 PM 264 bootstrap.bat<br>05/14/2020 04:52 PM <DIR> build<br>05/14/2020 07:27 AM 15,620 CMakeCache.txt<br>05/14/2020 07:27 AM <DIR> CMakeFiles<br>05/13/2020 09:05 AM 921 CMakeLists.txt<br>05/14/2020 04:13 PM 504 CMakeSettings.json<br>05/13/2020 09:05 AM 2,137 loadpgfblob.cpp<br>05/14/2020 04:12 PM <DIR> out<br>05/13/2020 09:05 AM <DIR> pgfutils<br> 5 File(s) 19,446 bytes<br> 7 Dir(s) 235,184,947,200 bytes free<br><br>C:\Users\wss79\git\digikam-pgf-database>rmdir build<br>The process cannot access the file because it is being used by another process.<br><br>C:\Users\wss79\git\digikam-pgf-database>rmdir build<br>The process cannot access the file because it is being used by another process.<br><br>C:\Users\wss79\git\digikam-pgf-database>rmdir build<br>The directory is not empty.<br><br>C:\Users\wss79\git\digikam-pgf-database>rmdir /s /q build<br><br>C:\Users\wss79\git\digikam-pgf-database>dir<br> Volume in drive C is Windows<br> Volume Serial Number is B439-C954<br><br> Directory of C:\Users\wss79\git\digikam-pgf-database<br><br>05/14/2020 04:56 PM <DIR> .<br>05/14/2020 04:56 PM <DIR> ..<br>05/14/2020 04:49 PM <DIR> .vs<br>05/14/2020 04:29 PM 264 bootstrap.bat<br>05/14/2020 07:27 AM 15,620 CMakeCache.txt<br>05/14/2020 07:27 AM <DIR> CMakeFiles<br>05/13/2020 09:05 AM 921 CMakeLists.txt<br>05/14/2020 04:13 PM 504 CMakeSettings.json<br>05/13/2020 09:05 AM 2,137 loadpgfblob.cpp<br>05/14/2020 04:12 PM <DIR> out<br>05/13/2020 09:05 AM <DIR> pgfutils<br> 5 File(s) 19,446 bytes<br> 6 Dir(s) 235,184,984,064 bytes free<br><br>C:\Users\wss79\git\digikam-pgf-database>bootstrap.bat<br>-- The C compiler identification is unknown<br>-- The CXX compiler identification is unknown<br>CMake Error at CMakeLists.txt:7 (project):<br> The CMAKE_C_COMPILER:<br><br> C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx86/x86/cl.exe<br><br> is not a full path to an existing compiler tool.<br><br> To use the NMake generator with Visual C++, cmake must be run from a shell<br> that can use the compiler cl from the command line. This environment is<br> unable to invoke the cl compiler. To fix this problem, run cmake from the<br> Visual Studio Command Prompt (vcvarsall.bat).<br><br> Tell CMake where to find the compiler by setting either the environment<br> variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to<br> the compiler, or to the compiler name if it is in the PATH.<br><br><br>CMake Error at CMakeLists.txt:7 (project):<br> The CMAKE_CXX_COMPILER:<br><br> C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx86/x86/cl.exe<br><br> is not a full path to an existing compiler tool.<br><br> To use the NMake generator with Visual C++, cmake must be run from a shell<br> that can use the compiler cl from the command line. This environment is<br> unable to invoke the cl compiler. To fix this problem, run cmake from the<br> Visual Studio Command Prompt (vcvarsall.bat).<br><br> Tell CMake where to find the compiler by setting either the environment<br> variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path<br> to the compiler, or to the compiler name if it is in the PATH.<br><br><br>-- Configuring incomplete, errors occurred!<br>See also "C:/Users/wss79/git/digikam-pgf-database/CMakeFiles/CMakeOutput.log".<br>See also "C:/Users/wss79/git/digikam-pgf-database/CMakeFiles/CMakeError.log".<br>'-DCMAKE_BUILD_TYPE' is not recognized as an internal or external command,<br>operable program or batch file.<br>'-DCMAKE_PREFIX_PATH' is not recognized as an internal or external command,<br>operable program or batch file.<br>'-Wno-dev' is not recognized as an internal or external command,<br>operable program or batch file.<br>'..' is not recognized as an internal or external command,<br>operable program or batch file.<br><br>C:\Users\wss79\git\digikam-pgf-database><br></blockquote><div><br></div><div>And this is what I get when trying manually:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> C:\Users\wss79\git\digikam-pgf-database>mkdir build</blockquote><br>C:\Users\wss79\git\digikam-pgf-database>copy CMakeLists.txt build<br> 1 file(s) copied.<br><br>C:\Users\wss79\git\digikam-pgf-database>cd build<br><br>C:\Users\wss79\git\digikam-pgf-database\build>cmake ..<br>-- The C compiler identification is unknown<br>-- The CXX compiler identification is unknown<br>CMake Error at CMakeLists.txt:7 (project):<br> The CMAKE_C_COMPILER:<br><br> C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx86/x86/cl.exe<br><br> is not a full path to an existing compiler tool.<br><br> To use the NMake generator with Visual C++, cmake must be run from a shell<br> that can use the compiler cl from the command line. This environment is<br> unable to invoke the cl compiler. To fix this problem, run cmake from the<br> Visual Studio Command Prompt (vcvarsall.bat).<br><br> Tell CMake where to find the compiler by setting either the environment<br> variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to<br> the compiler, or to the compiler name if it is in the PATH.<br><br><br>CMake Error at CMakeLists.txt:7 (project):<br> The CMAKE_CXX_COMPILER:<br><br> C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx86/x86/cl.exe<br><br> is not a full path to an existing compiler tool.<br><br> To use the NMake generator with Visual C++, cmake must be run from a shell<br> that can use the compiler cl from the command line. This environment is<br> unable to invoke the cl compiler. To fix this problem, run cmake from the<br> Visual Studio Command Prompt (vcvarsall.bat).<br><br> Tell CMake where to find the compiler by setting either the environment<br> variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path<br> to the compiler, or to the compiler name if it is in the PATH.<br><br><br>-- Configuring incomplete, errors occurred!<br>See also "C:/Users/wss79/git/digikam-pgf-database/CMakeFiles/CMakeOutput.log".<br>See also "C:/Users/wss79/git/digikam-pgf-database/CMakeFiles/CMakeError.log".<br><br>C:\Users\wss79\git\digikam-pgf-database\build></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 14, 2020 at 3:34 PM Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">No i use VS community everywhere and it work like a charm...<br>
<br>
Let's me see the full console backtrace from the moment where you<br>
start the terminal and the error message<br>
<br>
Gilles Caulier<br>
<br>
Le jeu. 14 mai 2020 à 21:13, Wesley Smith <<a href="mailto:wss7932@gmail.com" target="_blank">wss7932@gmail.com</a>> a écrit :<br>
><br>
> Would this be a result of using VS Community 2019? I've launched the prompt from VS and still get the same errors.<br>
><br>
> On Thu, May 14, 2020 at 7:40 AM Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> wrote:<br>
>><br>
>> In fact i know well the error, as i devel with Qt in my office under<br>
>> Windows and MSVC.<br>
>><br>
>> You need to launch the MSVC terminal, not the standard Windows<br>
>> terminal (aka "cmd").<br>
>><br>
>> This MSVC terminal init a lots of variables to be able to use the CLI<br>
>> compiler from Microsoft (i hope that you install the CLI MSVC tools<br>
>> with the Mircost compiler installer).<br>
>><br>
>> You will found the MSVC terminal in Run Windows menu, MSVC section,<br>
>> and advanced tools (or something like that). There are many version,<br>
>> to cross compile to ARM or in 32bits. for get these ones, and take the<br>
>> native 64 bits version.<br>
>><br>
>> Voilà.<br>
>><br>
>> Gilles Caulier<br>
>><br>
>> Le jeu. 14 mai 2020 à 14:31, Wesley Smith <<a href="mailto:wss7932@gmail.com" target="_blank">wss7932@gmail.com</a>> a écrit :<br>
>> ><br>
>> > Thank you for that. I did run it and ran into some issues. I then ran a command prompt from within Visual Studio Community edition 2019 and tried again. Here is the output. It is looking for a path I'm not familiar with.<br>
>> ><br>
>> >> C:\Users\wss79\git\digikam-pgf-database\build>cmake ..<br>
>> >> -- The C compiler identification is MSVC 19.24.28315.0<br>
>> >> -- The CXX compiler identification is MSVC 19.24.28315.0<br>
>> >> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx86/x86/cl.exe<br>
>> >> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx86/x86/cl.exe - broken<br>
>> >> CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:60 (message):<br>
>> >> The C compiler<br>
>> >><br>
>> >> "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx86/x86/cl.exe"<br>
>> >><br>
>> >> is not able to compile a simple test program.<br>
>> >><br>
>> >> It fails with the following output:<br>
>> >><br>
>> >> Change Dir: C:/Users/wss79/git/digikam-pgf-database/CMakeFiles/CMakeTmp<br>
>> >><br>
>> >> Run Build Command(s):nmake /nologo cmTC_7b893\fast && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x86\nmake.exe" -f CMakeFiles\cmTC_7b893.dir\build.make /nologo -L CMakeFiles\cmTC_7b893.dir\build<br>
>> >> Building C object CMakeFiles/cmTC_7b893.dir/testCCompiler.c.obj<br>
>> >> C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx86\x86\cl.exe @C:\Users\wss79\AppData\Local\Temp\nmC021.tmp<br>
>> >> testCCompiler.c<br>
>> >> Linking C executable cmTC_7b893.exe<br>
>> >> "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_7b893.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x86\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x86\mt.exe --manifests -- C:\TDM-GCC-64\bin\ld.exe /nologo @CMakeFiles\cmTC_7b893.dir\objects1.rsp @C:\Users\wss79\AppData\Local\Temp\nmC62D.tmp<br>
>> >> LINK Pass 1: command "C:\TDM-GCC-64\bin\ld.exe /nologo @CMakeFiles\cmTC_7b893.dir\objects1.rsp /out:cmTC_7b893.exe /implib:cmTC_7b893.lib /pdb:C:\Users\wss79\git\digikam-pgf-database\CMakeFiles\CMakeTmp\cmTC_7b893.pdb /version:0.0 /machine:X86 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_7b893.dir/intermediate.manifest CMakeFiles\cmTC_7b893.dir/manifest.res" failed (exit code 1) with the following output:<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find /nologo: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find /out:cmTC_7b893.exe: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find /implib:cmTC_7b893.lib: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find /pdb:C:\Users\wss79\git\digikam-pgf-database\CMakeFiles\CMakeTmp\cmTC_7b893.pdb: Invalid argument<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find /version:0.0: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find /machine:X86: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find /debug: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find /INCREMENTAL: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find /subsystem:console: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find kernel32.lib: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find user32.lib: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find gdi32.lib: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find winspool.lib: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find shell32.lib: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find ole32.lib: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find oleaut32.lib: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find uuid.lib: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find comdlg32.lib: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find advapi32.lib: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find /MANIFEST: No such file or directory<br>
>> >> C:\TDM-GCC-64\bin\ld.exe: cannot find /MANIFESTFILE:CMakeFiles\cmTC_7b893.dir/intermediate.manifest: Invalid argument<br>
>> >> CMakeFiles\cmTC_7b893.dir/manifest.res: file not recognized: File format not recognized<br>
>> >> NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0xffffffff'<br>
>> >> Stop.<br>
>> >> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x86\nmake.exe"' : return code '0x2'<br>
>> >> Stop.<br>
>> ><br>
>> ><br>
>> > On Thu, May 14, 2020 at 2:35 AM Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> wrote:<br>
>> >><br>
>> >> Hi,<br>
>> >><br>
>> >> I just add a bootstrap.bat script for Windows. Take a look, you can<br>
>> >> customize the Qt5_DIR variable, which is the root install path to Qt5.<br>
>> >><br>
>> >> <a href="https://github.com/cgilles/digikam-pgf-database/blob/master/bootstrap.bat" rel="noreferrer" target="_blank">https://github.com/cgilles/digikam-pgf-database/blob/master/bootstrap.bat</a><br>
>> >><br>
>> >> Gilles Caulier<br>
>> >><br>
>> >> Le jeu. 14 mai 2020 à 04:28, Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> a écrit :<br>
>> >> ><br>
>> >> > Le jeu. 14 mai 2020 à 02:08, Wesley Smith <<a href="mailto:wss7932@gmail.com" target="_blank">wss7932@gmail.com</a>> a écrit :<br>
>> >> > ><br>
>> >> > > I hate not being able to figure this out but, I have an issue. I'm not at all familiar with QT. I'm using Windows 10 (latest stable build) and I just installed cmake and Qt. I followed the instructions but, cmake is not able to find some things. Here is the output:<br>
>> >> > >><br>
>> >> > >> -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.<br>
>> >> > >> -- Could NOT find Qt5 (missing: Qt5_DIR)<br>
>> >> > >> -- Configuring done<br>
>> >> > >> CMake Error at CMakeLists.txt:21 (add_executable):<br>
>> >> > >> Target "pgfdatabase" links to target "Qt5::Core" but the target was not<br>
>> >> > >> found. Perhaps a find_package() call is missing for an IMPORTED target, or<br>
>> >> > >> an ALIAS target is missing?<br>
>> >> ><br>
>> >> > How did you get this trace ? From a windows terminal with MSVC setup ?<br>
>> >> ><br>
>> >> > Did you install Qtcreator ? I need to know more details about the<br>
>> >> > install from your system.<br>
>> >> ><br>
>> >> > Gilles Caulier<br>
</blockquote></div>