Robert:
I am using Cmake version 3.21.1 and Visual Studio 2017. I downloaded assimp from github then ran BUILDBINARIES_EXAMPLE.bat to create the executable. I downloaded gdal binaries (release-1916-x64-gdal-3-4-1-mapserver-7-6-4.zip) and unzipped into the directory mentioned in a previous email. I did not execute an install process per se.
I just tried using the vsgFramework with the following results
numerous "CUSTOMBUILD : error : could not load cache" errors
other messages extracted from the build stream
24> CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
24> -- Configuring incomplete, errors occurred!
24> Could NOT find GDAL (missing: GDAL_LIBRARY GDAL_INCLUDE_DIR) (found version
24> "GDAL_VERSION-NOTFOUND")
24> Call Stack (most recent call first):
24> C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
24> C:/Program Files/CMake/share/cmake-3.21/Modules/FindGDAL.cmake:185 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
24> CMakeLists.txt:21 (find_package)
27> CMake Error at CMakeLists.txt:19 (find_package):
27> -- Configuring incomplete, errors occurred!
27> By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
27> asked CMake to find a package configuration file provided by "Qt5", but
27> CMake did not find one.
27>
27> Could not find a package configuration file provided by "Qt5" with any of
27> the following names:
27>
27> Qt5Config.cmake
27> qt5-config.cmake
27>
27> Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
27> to a directory containing one of the above files. If "Qt5" provides a
27> separate development package or SDK, be sure it has been installed.
At the end of the first pass the results were
29>Time Elapsed 00:00:00.11
30>------ Skipped Rebuild All: Project: INSTALL, Configuration: Debug x64 ------
30>Project not selected to build for this solution configuration
========== Rebuild All: 16 succeeded, 10 failed, 4 skipped ==========
I ran build again and got the following results
27>Time Elapsed 00:10:05.25
28>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
28>Project not selected to build for this solution configuration
========== Build: 20 succeeded, 4 failed, 2 up-to-date, 4 skipped ==========
Still had the GDAL and qt errors
I have Qt installed in the c:\Qt drive but I do have 3 versions there so that may cause some issues with the find script. My goal at this time is to use version Qt5.14.2
I tried to resolve the GDAL issue by adding
set(GDAL_LIBRARY M:/SupportLibraries3/gdal_3-4-1/lib)
set(GDAL_INCLUDE_DIR M:/SupportLibraries3/gdal_3-4-1/include)
to the CMakeList.txt file but it did not help.
in the end it looks like everything built except for vsgGIS and vsgQt. I was able to load a 3ds file in vsgViewer
With vsgFramework I do not see how to change the properties in Visual Studio to add the search paths.