Hi, team!
I'm trying to Install Connector/C++ from Source.
After
$ git clone
https://github.com/mysql/mysql-connector-cpp.git
$ cmake mysql-connector-cpp/
I've got
-- Configuring incomplete, errors occurred!
In CMakeFiles/CMakeError.log
I have:
CMakeFiles/CMakeTmp/src.cxx:1:1: error: ‘::main’ must return ‘int’
1 | void main() { return is_same<bool,char>::value; }
CMakeFiles/CMakeTmp/src.cxx:1:22: error: ‘is_same’ was not declared in this scope
1 | void main() { return is_same<bool,char>::value; }
CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/endian.h: No such file or directory
1 | #include <sys/endian.h>
CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/byteorder.h: No such file or directory
1 | #include <sys/byteorder.h>
What I'm doing wrong?