List:Connector/C++« Previous Message
From:Ta Date:May 1 2018 5:02pm
Subject:cmake conector /c++ 8 error
View as plain text  
i tying to cmake conector /c++
>>MySQL>cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=./mysql-connector-cpp/build -DWITH_JDBC=ON -DWITH_BOOST=D:\boost\boost_1_67_0  ./mysql-connector-cpp


error:
MySQL>CMake Error at FindMySQL.cmake:544 (message):
Could not find "mysql.h" from searching "/usr/include/mysql
  /usr/local/include/mysql /opt/mysql/mysql/include
  /opt/mysql/mysql/include/mysql /usr/local/mysql/include
  /usr/local/mysql/include/mysql C:\Program Files/MySQL/*/include
  C:/MySQL/*/include"
Call Stack (most recent call first):
  CMakeLists.txt:325 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "C:/Program Files (x86)/MySQL/jdbc/CMakeFiles/CMakeOutput.log".
CMake Error at jdbc.cmake:87 (message):
  Could not configure legacy connector build: 1
Call Stack (most recent call first):
  CMakeLists.txt:413 (include)





i cmake in window 10
Thread
cmake conector /c++ 8 errorTa1 May 2018