我正在尝试从Visual Studio 2013中的源代码构建mySQL Connector C ++运行CMake生成一个项目文件,但该项目文件由于列表错误和更大的警告列表而无法编译。
Building Custom Rule C:/mysql-connector-c++-1.1.3/test/framework/CMakeLists.txt
CMake does not need to re-run because C:\mysql-connector-c++-1.1.3\test\framework\CMakeFiles\generate.stamp is up-to-date.
test_suite.cpp
C:\mysql-connector-c++-1.1.3\cppconn/exception.h(61): warning C4251: sql::SQLException::sql_state: class "std::basic_string<char,std::char_traits<char>,std::allocator<char>>" needs to have dll-interface to be used class "sql::SQLException"
test_factory.cpp
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdlib.h(546): error C2146: syntax error : missing ")" before identifier "_Str"
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdlib.h(546): error C2065: _Str: undeclared identifier
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdlib.h(546): warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdlib.h(546): error C2365: _strtoi64: redefinition; previous definition was 'function'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cstdlib(39): error C2039: strtoll: is not a member of '`global namespace''
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cstdlib(39): error C2873: strtoll: symbol cannot be used in a using-declaration
有人可以列出成功编译C ++连接器的所有步骤吗?