Jump to content

Search the Community

Showing results for tags 'Compile'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Rules
    • News/Announcements
    • Forum Rules
  • General
    • General Chat
    • Introduce Yourself
    • Forum Suggestion/Bug Reporting
  • World of Warcraft Emulation
    • Emulation Releases
    • Support
    • Tutorials
    • Model Editing
    • Emulation Chat
    • Requests
  • World of Warcraft Private Servers
    • Advertise Your Server
    • Recruitment
  • World of Warcraft Emulation Marketplace
    • For Sale
    • Wanted
    • Hosting
  • World of Warcraft General
    • Retail Discussions
    • Class Discussions
    • PVP
    • PVE

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 3 results

  1. Hello i am very new to all of this and im having some trouble during the actual build process. I love world of warcraft and have played since launch but never knew there was such an in depth modding community and would love to learn to code C++ and manipulate my own version of Azeroth; thus my reasoning for all of this and i have done well up too this point with conquering most issues. This is the first really big wall, I am using Visual Studios 16 2019 I also do have the Visual Studio 14 2015 installed and available. My issue is at the completion of the build i get this error. 23>LINK : fatal error LNK1181: cannot open input file '..\database\Release\database.lib' 23>Done building project "worldserver.vcxproj" -- FAILED. 24>------ Build started: Project: ALL_BUILD, Configuration: Release x64 ------ 24>Building Custom Rule C:/Trinity/Source/CMakeLists.txt ========== Build: 21 succeeded, 3 failed, 0 up-to-date, 0 skipped ========== I am very new to this and read somewhere it may be something to do with "linking"? I need help i don't think i have missed any steps i even have all the DLL.s ready to go and the database sitting in wait. Everything builds properly but there is nothing but the extractors in my Build/bin/release/ . I have tried to delete both build and source folders and restart multiple times, i have tried to use the Visual studios 14 2015 instead but get the same error. I have done the entire process from pulling the source to the build 4 times over now but have not had success. This is the GitHub Ext i am using - https://github.com/TrinityCore/TrinityCore I have only recently downloaded all the required tools and as such they should all be up to date i tried to follow the guides to make sure i had the proper versions but ran into errors since files have been updated to upgraded all programs that required it. I am compiling everything as x64 as that is my windows version. I can provide more details if needed. EDIT++ I installed SSL 32 aswell and it seems to have made a difference i also reinstalled the newest version of MYSQL 5.7 now i am getting a different error though I have seen this error in another thread but the images posted for it are no longer reachable via the links. I apologize as i do not know how to post directly from visual studios.... this is the error message i am getting now it is long. 23> Creating library C:/Trinity/Build/src/server/worldserver/Release/worldserver.lib and object C:/Trinity/Build/src/server/worldserver/Release/worldserver.exp 23>database.lib(MySQLThreading.obj) : error LNK2019: unresolved external symbol mysql_server_init referenced in function "void __cdecl MySQL::Library_Init(void)" (?Library_Init@MySQL@@YAXXZ) 23>database.lib(MySQLThreading.obj) : error LNK2019: unresolved external symbol mysql_server_end referenced in function "void __cdecl MySQL::Library_End(void)" (?Library_End@MySQL@@YAXXZ) 23>database.lib(DatabaseWorkerPool.obj) : error LNK2019: unresolved external symbol mysql_get_client_info referenced in function "public: __cdecl DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QEAA@XZ) 23>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol mysql_get_client_info 23>database.lib(DatabaseWorkerPool.obj) : error LNK2019: unresolved external symbol mysql_get_client_version referenced in function "public: __cdecl DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QEAA@XZ) 23>database.lib(DatabaseWorkerPool.obj) : error LNK2019: unresolved external symbol mysql_thread_safe referenced in function "public: __cdecl DatabaseWorkerPool<class CharacterDatabaseConnection>::DatabaseWorkerPool<class CharacterDatabaseConnection>(void)" (??0?$DatabaseWorkerPool@VCharacterDatabaseConnection@@@@QEAA@XZ) 23>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol mysql_fetch_fields referenced in function "public: __cdecl PreparedResultSet::PreparedResultSet(struct MySQLStmt *,struct MySQLResult *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QEAA@PEAUMySQLStmt@@PEAUMySQLResult@@_KI@Z) 23>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol mysql_fetch_fields 23>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol mysql_error referenced in function "public: bool __cdecl ResultSet::NextRow(void)" (?NextRow@ResultSet@@QEAA_NXZ) 23>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol mysql_error 23>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol mysql_free_result referenced in function "public: __cdecl PreparedResultSet::PreparedResultSet(struct MySQLStmt *,struct MySQLResult *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QEAA@PEAUMySQLStmt@@PEAUMySQLResult@@_KI@Z) 23>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol mysql_free_result 23>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol mysql_fetch_row referenced in function "public: bool __cdecl ResultSet::NextRow(void)" (?NextRow@ResultSet@@QEAA_NXZ) 23>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol mysql_fetch_lengths referenced in function "public: bool __cdecl ResultSet::NextRow(void)" (?NextRow@ResultSet@@QEAA_NXZ) 23>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol mysql_stmt_fetch referenced in function "public: __cdecl PreparedResultSet::PreparedResultSet(struct MySQLStmt *,struct MySQLResult *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QEAA@PEAUMySQLStmt@@PEAUMySQLResult@@_KI@Z) 23>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol mysql_stmt_store_result referenced in function "public: __cdecl PreparedResultSet::PreparedResultSet(struct MySQLStmt *,struct MySQLResult *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QEAA@PEAUMySQLStmt@@PEAUMySQLResult@@_KI@Z) 23>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol mysql_stmt_bind_result referenced in function "public: __cdecl PreparedResultSet::PreparedResultSet(struct MySQLStmt *,struct MySQLResult *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QEAA@PEAUMySQLStmt@@PEAUMySQLResult@@_KI@Z) 23>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol mysql_stmt_free_result referenced in function "public: __cdecl PreparedResultSet::PreparedResultSet(struct MySQLStmt *,struct MySQLResult *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QEAA@PEAUMySQLStmt@@PEAUMySQLResult@@_KI@Z) 23>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol mysql_stmt_error referenced in function "public: __cdecl PreparedResultSet::PreparedResultSet(struct MySQLStmt *,struct MySQLResult *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QEAA@PEAUMySQLStmt@@PEAUMySQLResult@@_KI@Z) 23>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol mysql_stmt_error 23>database.lib(QueryResult.obj) : error LNK2019: unresolved external symbol mysql_stmt_num_rows referenced in function "public: __cdecl PreparedResultSet::PreparedResultSet(struct MySQLStmt *,struct MySQLResult *,unsigned __int64,unsigned int)" (??0PreparedResultSet@@QEAA@PEAUMySQLStmt@@PEAUMySQLResult@@_KI@Z) 23>database.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol mysql_stmt_num_rows 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_field_count referenced in function "public: bool __cdecl MySQLConnection::_Query(char const *,struct MySQLResult * *,struct MySQLField * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QEAA_NPEBDPEAPEAUMySQLResult@@PEAPEAUMySQLField@@PEA_KPEAI@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_affected_rows referenced in function "public: bool __cdecl MySQLConnection::_Query(char const *,struct MySQLResult * *,struct MySQLField * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QEAA_NPEBDPEAPEAUMySQLResult@@PEAPEAUMySQLField@@PEA_KPEAI@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_errno referenced in function "public: bool __cdecl MySQLConnection::Execute(class PreparedStatementBase *)" (?Execute@MySQLConnection@@QEAA_NPEAVPreparedStatementBase@@@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_set_character_set referenced in function "public: virtual unsigned int __cdecl MySQLConnection::Open(void)" (?Open@MySQLConnection@@UEAAIXZ) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_init referenced in function "public: virtual unsigned int __cdecl MySQLConnection::Open(void)" (?Open@MySQLConnection@@UEAAIXZ) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_real_connect referenced in function "public: virtual unsigned int __cdecl MySQLConnection::Open(void)" (?Open@MySQLConnection@@UEAAIXZ) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_query referenced in function "public: bool __cdecl MySQLConnection::Execute(char const *)" (?Execute@MySQLConnection@@QEAA_NPEBD@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_store_result referenced in function "public: bool __cdecl MySQLConnection::_Query(char const *,struct MySQLResult * *,struct MySQLField * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QEAA_NPEBDPEAPEAUMySQLResult@@PEAPEAUMySQLField@@PEA_KPEAI@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_ping referenced in function "public: void __cdecl MySQLConnection::Ping(void)" (?Ping@MySQLConnection@@QEAAXXZ) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_get_server_info referenced in function "public: virtual unsigned int __cdecl MySQLConnection::Open(void)" (?Open@MySQLConnection@@UEAAIXZ) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_get_server_version referenced in function "protected: unsigned int __cdecl MySQLConnection::GetServerVersion(void)const " (?GetServerVersion@MySQLConnection@@IEBAIXZ) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_options referenced in function "public: virtual unsigned int __cdecl MySQLConnection::Open(void)" (?Open@MySQLConnection@@UEAAIXZ) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_real_escape_string referenced in function "public: unsigned __int64 __cdecl MySQLConnection::EscapeString(char *,char const *,unsigned __int64)" (?EscapeString@MySQLConnection@@QEAA_KPEADPEBD_K@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_stmt_init referenced in function "protected: void __cdecl MySQLConnection::PrepareStatement(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IEAAXIAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4ConnectionFlags@@@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_stmt_prepare referenced in function "protected: void __cdecl MySQLConnection::PrepareStatement(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IEAAXIAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4ConnectionFlags@@@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_stmt_execute referenced in function "public: bool __cdecl MySQLConnection::Execute(class PreparedStatementBase *)" (?Execute@MySQLConnection@@QEAA_NPEAVPreparedStatementBase@@@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_stmt_bind_param referenced in function "public: bool __cdecl MySQLConnection::Execute(class PreparedStatementBase *)" (?Execute@MySQLConnection@@QEAA_NPEAVPreparedStatementBase@@@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_stmt_close referenced in function "protected: void __cdecl MySQLConnection::PrepareStatement(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum ConnectionFlags)" (?PrepareStatement@MySQLConnection@@IEAAXIAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4ConnectionFlags@@@Z) 23>database.lib(MySQLPreparedStatement.obj) : error LNK2001: unresolved external symbol mysql_stmt_close 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_stmt_result_metadata referenced in function "public: bool __cdecl MySQLConnection::_Query(class PreparedStatementBase *,class MySQLPreparedStatement * *,struct MySQLResult * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QEAA_NPEAVPreparedStatementBase@@PEAPEAVMySQLPreparedStatement@@PEAPEAUMySQLResult@@PEA_KPEAI@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_stmt_field_count referenced in function "public: bool __cdecl MySQLConnection::_Query(class PreparedStatementBase *,class MySQLPreparedStatement * *,struct MySQLResult * *,unsigned __int64 *,unsigned int *)" (?_Query@MySQLConnection@@QEAA_NPEAVPreparedStatementBase@@PEAPEAVMySQLPreparedStatement@@PEAPEAUMySQLResult@@PEA_KPEAI@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_autocommit referenced in function "public: virtual unsigned int __cdecl MySQLConnection::Open(void)" (?Open@MySQLConnection@@UEAAIXZ) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_more_results referenced in function "public: class PreparedResultSet * __cdecl MySQLConnection::Query(class PreparedStatementBase *)" (?Query@MySQLConnection@@QEAAPEAVPreparedResultSet@@PEAVPreparedStatementBase@@@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_next_result referenced in function "public: class PreparedResultSet * __cdecl MySQLConnection::Query(class PreparedStatementBase *)" (?Query@MySQLConnection@@QEAAPEAVPreparedResultSet@@PEAVPreparedStatementBase@@@Z) 23>database.lib(MySQLConnection.obj) : error LNK2019: unresolved external symbol mysql_close referenced in function "public: virtual __cdecl MySQLConnection::~MySQLConnection(void)" (??1MySQLConnection@@UEAA@XZ) 23>database.lib(MySQLPreparedStatement.obj) : error LNK2019: unresolved external symbol mysql_stmt_param_count referenced in function "public: __cdecl MySQLPreparedStatement::MySQLPreparedStatement(struct MySQLStmt *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0MySQLPreparedStatement@@QEAA@PEAUMySQLStmt@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 23>database.lib(MySQLPreparedStatement.obj) : error LNK2019: unresolved external symbol mysql_stmt_attr_set referenced in function "public: __cdecl MySQLPreparedStatement::MySQLPreparedStatement(struct MySQLStmt *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0MySQLPreparedStatement@@QEAA@PEAUMySQLStmt@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 23>C:\Program Files (x86)\MySQL\MySQL Server 5.7\lib\libmysql.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64' 23>C:\Trinity\Build\bin\Release\worldserver.exe : fatal error LNK1120: 42 unresolved externals 23>Done building project "worldserver.vcxproj" -- FAILED. 24>------ Build started: Project: ALL_BUILD, Configuration: Release x64 ------ 24>Building Custom Rule C:/Trinity/Source/CMakeLists.txt ========== Build: 22 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
  2. Use this guide on how to install Boost for Windows: CLICK HERE I make this tutorial since the tutorials I've found is outdated and dosen't really work now, so I decided to make a new one that I'll keep updated. 1. Getting the required programs You will need to prepare all the programs before you even thinking of compiling. Here a download link with all the programs. I took some time and made a ZIP file with all the programs required. CLICK HERE TO DOWNLOAD (586.6MB) 2. Getting the source Of course, you need a source of TrinityCore before you can compile it. To get it there is 2 ways,but we are going to focus on the best one. Open up Git Extentions Choose your language, I recommend using English since this tutorial is in english. Close the first window that will pop up, a new one will appear right after At the links at the left side, press "Clone Repository" Fill out the following data: Repository to clone: https://github.com/TrinityCore/TrinityCore.gitDesination: C:\TrinitySubdirectory to create: SourceBranch: 3.3.5Repository Type: Personal Repository Now, hit Clone and let it get the repository for you All done so far. You are now getting the source of TrinityCore's 3.3.5a. Later on I willmake a guide on how to make a 6.1.2 Server. 3. Cmake Now we are going to build the source we just downloaded. Open up Cmake Fill out the following data: Where is the source code: C:\Trinity\SourceWhere to build the binaries: C:\Trinity\Build Press Configure Locate "Visual Studio 12 2013" in the dropdown list Now select eh option "Use Default Native Compilers (default) Press Finish then let it load When it is finished, there is a bunch of check boxes in the field that was emty, add the checkbox "TOOLS" Press "Generate" 4. Compiling the server Now,we can finally compile the server itself. This part will take some time and slow down your PC, VPS, Dedicated Server w/e. So playing games and such while doing this will not work. Ecept maybe Playing PacMan, but what do I know... Open up the build folder located in C:\Trinity\ Open up the file "TrinityCore.sln At the top navbar of Visual Studio 2013, hit "BUILD" and then "Build Sulotion" Now, let it load for a while. Go and shop some food, drink some water, milk w/e because this willlsow down your PC and take time. Once it's done, go to the folder "bin" in the build folder, then "Release" and there is your server! Now what you need to do is get the right databases. There is tutorials around the web on how you get the databases. Credit to Djundead
  3. Hello everyone, Here is a tutorial about how you can compile SkyFireEMU 4.0.6 (Cataclysm). I hope you like it, good luck! What do you need: 1.) Git: http://git-scm.com/download 2.) C++ 2012: http://www.microsoft...o/eng/downloads (Cmake and C++ 2010 is a kinda buggy) 3.) OpenSSL: (Download the Win32 OpenSSL v1.0.1e and the Visual C++ 2008 Redistributables) 4.) Cmake: http://www.cmake.org...s/software.html 5.) MySQL Server: http://dev.mysql.com/downloads/mysql/ (Or another MySQL server WAMP or XAMPP) 6.) MySQL Editor: http://www.heidisql.com/download.php Lets start with the first steps, pulling the source. 1.) Create a new directory (for example C:/SkyFireEMU) 2.) Right click on the directory and click on Git GUI here. 3.) Then click Clone Existing Repository. 4.) A new window pop up now, fill in the data you see below. 5.) Click on Clone wait a while till a new window pop up and you can close that window. Pulling the source is done now, lets go on with configuring and generating Visual C++ solutions with Cmake! 1.) Create a new directory in your folder SkyFireEMU (for example C:/SkyFireEmu/Build) 2.) Open Cmake (cmake-gui) 3.) Fill in the data you see below. 6.) Click on configure again. 7.) Wait a while till it's done and click on Generate, when that's done you can close Cmake. So that's done, now we can continue with compiling! 1.) Open the SkyFireEMU.SLN located in your Build folder. 2.) Go on top and click on Build, after that click on Configuration Manager. 3.) Make sure you set Build to Release, click on OK. 4.) Click on Build again and click on Clean Solution, after that click on Build again and click Build Solution. 5.) It will take a while, when it's done you go to your compiled files (C:/SkyFireEmu/Build/Bin/Release) 6.) You will find the files you see below. 7.) Copy them to the folder where you want to put your server! 8.) Delete the .dist from the names of authserver.conf.dist and worldserver.conf.dist. 9.) You also need libeay32.dll and ssleay32.dll they can by found in your OpenSSL folder! So now that's done, we go import the database! 1.) Open your database and create 3 new databases. Quote 2.) Import the Auth_database.sql and Characters_database.sql into your database they are in your Core folder (C:/SkyFireEMU/Core/sql/Base) 3.) Download the world database here: http://www.projectsk...-db-release-15/ 4.) Extract everything and open the file named Database_Installer_Updater.bat. 5.) Enter all the info the installer asks for. 6.) On the end press 1 to install your world database. Now that's done we are going to install all the updates. 1.) Go to the folder where all the updates can by found (C:/SkyFireEMU/Core/sql/Updates). 2.) Import every update you find there into your database! Now we've done that, we're going to get the DBC, Maps and Vmaps. You can easily get them from here. There is something wrong with the extracters of SkyFire, it gives a lot of errors when you try to run your worldserver.exe. Now you have your own server! Credit to Unrecognized.
×
×
  • Create New...