1%] Building C object util/CMakeFiles/myodbc-util.dir/stringutil.c.o
In file included from /mysql-connector-odbc-master/util/stringutil.h:37:0,
from /mysql-connector-odbc-master/util/stringutil.c:32:
/mysql-connector-odbc-master/util/../MYODBC_MYSQL.h:64:23: fatal error: my_thread.h: No such file or directory
#include <my_thread.h>
^
compilation terminated.
util/CMakeFiles/myodbc-util.dir/build.make:62: recipe for target 'util/CMakeFiles/myodbc-util.dir/stringutil.c.o' failed
make[2]: *** [util/CMakeFiles/myodbc-util.dir/stringutil.c.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'util/CMakeFiles/myodbc-util.dir/all' failed
make[1]: *** [util/CMakeFiles/myodbc-util.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Any pointers y’all, do I just copy my_thread.h from here: https://dev.mysql.com/doc/dev/mysql-server/8.0.1/my__thread_8h_source.html
to /usr/include/mysql or what ? . -.
Thanks !
Eh... You understand how development headers work right? You have to install the proper package, you can't just copy the header-file. The header-file usually only contains prototypes, the actual definitions are usually in a shared-library.
Обсуждают сегодня