Runtime/Export/ Line: 43)Ġ1-01 15:21:14.829: I/Unity(23761): Exception Message: Index was outside the bounds of the array. When building and running on Android I get this error message via Monitor:Ġ1-01 15:21:14.141: I/Unity(23761): (Filename. MySqlDataReader reader = command.ExecuteReader() ĭebug.Log("Database get failed (SQL Exception), query: " query) ĭebug.Log("Exception Message: " SQLex.Message) ĭebug.Log("Database get failed (System Exception), query: " query) ĭebug.Log("Exception Message: " ex.Message) Public T getDatabaseValue(string value, string query)Ĭonnection = new MySqlConnection(connectionString) Ĭommand = new MySqlCommand(query, connection) I have a class to handle all of the database interactions between the client and database (MySQL) (I know and understand that I shouldn't allow direct access to a database) Is there a way for me to get either 16.04 or can github actually be updated to reflect the latest so we can at least build it ourselves? Or can I use the 18.04 version of the SDK on 16.04? However for Ubuntu, only 18.04 has 1.1.11. On the download page, MacOS allows me to use 1.1.11. But today I updated to gcc 8 and encountered these problems. Previously I was using C 11 with gcc 5.4, so things were working fine. ![]() For Mac OS, I can build fine (using latest Xcode 10.1). I'm running on 2 systems: MacOS and Ubuntu 16.04. usr/local/include/cppconn/exception.h:98:2: error: ISO C 17 does not allow dynamic exception specifications ![]() usr/local/include/cppconn/exception.h: At global scope: I need to build with C 17 but have encountered this error on Ubuntu 16.04: This prompted me to upgrade to Visual Studio 2015.ĭoes anyone know how to fixed these problems? Is there a fix for this? I originally tried compiling the Connector/C in Visual Studio 2013, using the correct CMake generator, but received these errors. Compiler Errors -Ģ>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\cmath(725): error C2039: 'isnan': is not a member of '`global namespace''Ģ>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\cmath(725): error C2873: 'isnan': symbol cannot be used in a using-declaration ![]() When I tried to run a DEBUG build, I keep receiving these compilation errors: %> "C:\Program Files (x86)\CMake-3.8.2\bin\cmake.exe" -G"Visual Studio 14 2015" -DBOOST_ROOT=C:\AppLibs\boost_1_65_1 -DMYSQL_CONFIG_EXECUTABLE=mysql.exe -DMYSQL_DIR="C:\Program Files (x86)\MySQL\MySQL Server 5.1" -DMYSQL_INCLUDE_DIR="C:\Program Files (x86)\MySQL\MySQL Server 5.1\include" -DMYSQL_LIB_DIR="C:\Program Files (x86)\MySQL\MySQL Server 5.1\lib\opt"Īfter generating the VS 2015 Solution (MYSQLCPPCONN.sln), I opened Visual Studio 2015, and opened the built Solution. I downloaded the latest Connector/C from gitHub (ver: 1.1.9) and ran CMake using the following command:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |