MySQL Forums
Forum List  »  Connector/C++

Configuring incomplete, errors occurred!
Posted by: Vitalii Kaplenko
Date: October 26, 2022 02:46PM

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?

Options: ReplyQuote


Subject
Views
Written By
Posted
Configuring incomplete, errors occurred!
155
October 26, 2022 02:46PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.