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 --------------------------------------

 I have no idea about what's going on here, it CMake seems to complain
about the missing ODBC headers (because it points to check_include_files as
the location of the error), but the headers really must be there, because
they're distributed both with MinGW-w64, which this log is for, and with
the platform SDK which must be installed in the MSVC builds, which also
fail with the same error. And it complains about MYSQL_EMBEDDED_LIBRARIES
even though lack of MySQL Embedded shouldn't be a problem: it's not found
in the last working build, see its build log at
https://ci.appveyor.com/project/SOCI/soci/build/4.0.0.91/job/41eeqcppt0vop9v4
neither, but this doesn't prevent CMake from succeeding.

 Thanks in advance for any help with this as I really don't know what to
try (I'll probably test removing the test for MySQL embedded next, but it's
just because I don't know what else could I do, and not because I really
expect it to fix the problem)!
VZ

Attachment: pgpjK0r53lCPg.pgp
Description: PGP signature

------------------------------------------------------------------------------
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

Reply via email to