Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

Cmake Building Issues C++ Connector (no replies)

$
0
0
Hey guys.
My efforts in developping database applications with C++ stuck still at the installation of the connector... It takes two full days until I had understood that i don't need to write the CmakeLists.txt for myself ... anyway
I use Cygwin under windows 7.0 with the newest release of MySQL Server and Cmake. I'm sure, that i have installed the C Client libraries (wizzard ticks it).

Cmake doesn't work with following output:
[...] compiler runs^^
-- Environment link flags:
-- Boost version: 1.43.0
-- BOOST_INCLUDE_DIRS=/usr/include
-- mysql_config was found C:/MySQL/MySQL Server 5.5/bin/mysql_config.pl
CMake Error at FindMySQL.cm:202 (MESSAGE):
mysql_config wasn't found, -DMYSQL_CONFIG_EXECUTABLE=...
Call Stack (most recent call first):
CMakeLists.txt:166 (INCLUDE)


CMake Error at FindMySQL.cm:204 (MESSAGE):
Cannot find MySQL. Include dir: library dir: cxxflags: "-IC:/Program Files
(x86)/MySQL/include" "/MT" "/Zi" "/O2" "/Ob1" "/D" "NDEBUG" "-DDBUG_OFF"
Call Stack (most recent call first):
CMakeLists.txt:166 (INCLUDE)


-- Configuring incomplete, errors occurred!
-- Cache values
CMAKE_BUILD_TYPE:STRING=
CMAKE_INSTALL_PREFIX:PATH=C:/MySQL
MYSQLCLIENT_STATIC_BINDING:BOOL=1
MYSQLCPPCONN_BUILD_EXAMPLES:BOOL=1
MYSQLCPPCONN_DT_RPATH:STRING=
MYSQLCPPCONN_DYNLOAD_MYSQL_LIB:FILEPATH=C:/MySQL/MySQL Server 5.5/lib
MYSQLCPPCONN_GCOV_ENABLE:BOOL=0
MYSQLCPPCONN_ICU_ENABLE:BOOL=0
MYSQLCPPCONN_STLPORT_ENABLE:BOOL=0
MYSQLCPPCONN_TEST_NOT_IMPLEMENTED:BOOL=0
MYSQLCPPCONN_TRACE_ENABLE:BOOL=0
MYSQL_CONFIG_EXECUTABLE:FILEPATH=C:/MySQL/MySQL Server 5.5/bin/mysql_config.pl
MYSQL_LIB:FILEPATH=C:/MySQL/MySQL Server 5.5/lib

Envrioment Var is set in Control Panel/SYSTEM MYSQL_DIR=C:\MySQL\MySQL Server 5.5\ ...
MySQL is located at "C:\MySQL\MySQL Server 5.5\"
Connector at: "C:\MySQL\Connector C++ 1.1.0"
Which flags I have to change or set?
Please, somebody has to give me a hint. I need the connector very soon.
It is my prefered christmas wish. Thanks for your time and patatience to handle my nooby problems.
Greetings from germany!
Happy Christmas!
Dan

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>