On 4 April 2018 at 00:38, Vadim Zeitlin <vz-s...@zeitlins.org> wrote: > Hello, > > AppVeyor are broken for the new PRs due to the error which can be seen > at e.g. https://ci.appveyor.com/project/SOCI/soci/build/job/67rlcrm9cl0ykci2 > and which I also reproduce here for reference: > > ---------------------------------- >8 -------------------------------------- > cmake .. -G"%G%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% > -DCMAKE_VERBOSE_MAKEFILE=ON > -- The C compiler identification is GNU 4.8.3 > -- The CXX compiler identification is GNU 4.8.3 > -- Check for working C compiler: C:/projects/mingw/4.8.3/mingw64/bin/gcc.exe > [...] > -- MySQL: > -- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION > -- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION - Failed > -- Found MySQL: C:/Program Files/MySQL/MySQL Server 5.7/include, C:/Program > Files/MySQL/MySQL Server 5.7/lib/libmysql.dll > -- MySQL Embedded not found. > -- MYSQL_INCLUDE_DIR = C:/Program Files/MySQL/MySQL > Server 5.7/include > -- MYSQL_LIBRARIES = C:/Program Files/MySQL/MySQL > Server 5.7/lib/libmysql.dll > -- ODBC: > -- Looking for include files windows.h, sqlext.h > CMake Error: The following variables are used in this project, but they are > set to NOTFOUND. > Please set them or make sure they are set and tested correctly in the CMake > files: > MYSQL_EMBEDDED_LIBRARIES > linked by target "cmTC_3efd9" in directory > C:/projects/soci/build/CMakeFiles/CMakeTmp > CMake Error at C:/Program Files > (x86)/CMake/share/cmake-3.11/Modules/CheckIncludeFiles.cmake:103 > (try_compile): > Failed to configure test project build system. > Call Stack (most recent call first): > cmake/modules/FindODBC.cmake:21 (check_include_files) > cmake/dependencies/ODBC.cmake:3 (find_package) > cmake/SociDependencies.cmake:79 (include) > CMakeLists.txt:76 (include) > -- Configuring incomplete, errors occurred! > ---------------------------------- >8 --------------------------------------
AppVeyor has just updated to CMake 3.11 I can reproduce this problem with CMake 3.11 too. Funny, if I run cmake agains straight away, without wiping out the generated cache, it succeeds. WTF! This simple test also succeeds: C:\test> cat CMakeLists.txt cmake_minimum_required(VERSION 3.11 FATAL_ERROR) project(cmake_test) include(CheckIncludeFiles) check_include_files("windows.h;sqlext.h" HAVE_SQLEXT_H) ATM, I have no idea what is going on. I will look into this laster this week. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ soci-devel mailing list soci-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/soci-devel