xtahsee Posted April 10, 2020 Report Share Posted April 10, 2020 Hello, I have been following the wiki instructions step by step and I have also checked the forums here to see if I could find the answer to my issues but haven't been able to find one. If it has been posted and answered already I apologize. Windows 10 64 Bit version 1909 Visual Studio 2019 Community 16.5.30002.166 (Selected all relevant packages and individual components based on screenshots in wiki) Boost 1_66_0 (Also tried Boost 1_72_0 and got same issues) MySQL 5.6.47 Cmake 3.17.0 OpenSSL 1.0.2u (Also tried 1.1.0L) 3.3.5 Branch When configuring/generating cmake I get no errors, I go into Visual studio, set the configuration settings, run Clean on All_Build, then build. When building I get 3 failures. I am placing the error text I found below. If anyone has any suggestions or can point me in the right direction I would appreciate it! 14>C:\TrinityCore\src\server\database\Database\MySQLConnection.cpp(150,34): error C2065: 'MYSQL_OPT_SSL_ENFORCE': undeclared identifier 14>MySQLThreading.cpp 14>PreparedStatement.cpp 18>adtfile.cpp 18>dbcfile.cpp 18>gameobject_extract.cpp 14>QueryCallback.cpp 14>QueryCallbackProcessor.cpp 14>QueryHolder.cpp 18>model.cpp 14>QueryResult.cpp 14>Transaction.cpp 14>CharacterDatabase.cpp 18>mpq_libmpq.cpp 14>LoginDatabase.cpp 18>vmapexport.cpp 18>wdtfile.cpp 14>WorldDatabase.cpp 18>wmo.cpp 14>AppenderDB.cpp 15>mapextractor.vcxproj -> C:\Build\bin\RelWithDebInfo\mapextractor.exe 14>DBUpdater.cpp 16>mmaps_generator.vcxproj -> C:\Build\bin\RelWithDebInfo\mmaps_generator.exe 14>UpdateFetcher.cpp 18>WheatyExceptionReport.cpp 18>vmap4extractor.vcxproj -> C:\Build\bin\RelWithDebInfo\vmap4extractor.exe 14>Done building project "database.vcxproj" -- FAILED. 22>LINK : fatal error LNK1181: cannot open input file '..\database\RelWithDebInfo\database.lib' 22>Done building project "authserver.vcxproj" -- FAILED. 23>LINK : fatal error LNK1181: cannot open input file '..\database\RelWithDebInfo\database.lib' 23>Done building project "worldserver.vcxproj" -- FAILED. Thanks! Link to comment Share on other sites More sharing options...
Splattered Posted April 11, 2020 Report Share Posted April 11, 2020 I've also hit this wall. Everything was fine for me until a pull after commit a7636c39d67b17b223952861cc8c6da2725a3a3b. From that point on I started seeing some CXX messages in CMake and the same errors as OP. I'm using Windows Server 2019 Boost 1.72.0 x64 Cmake 3.17.1 x64 MySQL 5.6.47 VS 2019 16.5.3 OpenSSL 1.1.1f x64 I've just run another pull and I'm now at commit 9c9f4d6d20adf7e95ae1a44dc72b6530c3fc0bff. I've cleared out the Build dir and set CMake up again, now CMake is getting an error. CMake Error at cmake/macros/FindMySQL.cmake:237 (message): Could not find the MySQL libraries! Please install the development libraries and headers Call Stack (most recent call first): CMakeLists.txt:70 (find_package) I noticed there is a mention of MySQL 5.6 being deprecated in commit 0fa366cbda66b10584075286db348f0e5e6e8a32. Should we be moving to 5.7? Link to comment Share on other sites More sharing options...
xtahsee Posted April 12, 2020 Author Report Share Posted April 12, 2020 Started over with Server 2012 this time and it worked using the latest 5.7 MySQL. I noticed on the wiki it was changed saying to get 5.7. Link to comment Share on other sites More sharing options...
Splattered Posted April 13, 2020 Report Share Posted April 13, 2020 8 hours ago, xtahsee said: Started over with Server 2012 this time and it worked using the latest 5.7 MySQL. I noticed on the wiki it was changed saying to get 5.7. /facepalm ... guess I'll be doing an upgrade! Thanks for posting your finding Link to comment Share on other sites More sharing options...
Recommended Posts