Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Dank Memes |
Hello. I am trying to build on Ubuntu 18.04 and I am having trouble with using MySQL.
I have tried searching around but I seem to be the only person on planet Earth that has had this error.
/usr/include/mysql/my_global.h:580:10: fatal error: my_byteorder.h: No such file or directory
#include <my_byteorder.h>
^~~~~~~~~~~~~~~~
From
#include <mysql/my_global.h>
#include <mysql/mysql.h>
Scons
Import('env')
module_env = env.Clone()
module_env.add_source_files(env.modules_sources,"*.cpp")
module_env.Append(CXXFLAGS=['-O2', '-std=c++11'])
env.Append(LIBS=['mysql'])
env.Append(LIBPATH=['/usr/include'])
Any help?