View Full Version : [SOLVED] LNK2019 error in 3.3.5 compilation pls help

11-06-2015, 08:58 PM

This is the list of errors I have gotten on both my laptop computer and my desktop. I have no idea how to fix this. Help is greatly appreciated!

I have downloaded all of the requirements from Trinitycore wiki guide and followed it as instructed.

11-06-2015, 09:06 PM
Same issue as here:

Either use the mysql libs from TC requirements page or reinstall mysql server and make sure you install the 32 bit / 86x version (you likely are trying to compile the server as 32 bit - otherwise install 64 bit).
The installer will try to install 64 bit by default.
Also note that even though the mysql installer is 32 bit it can install both 32 and 64 bit versions.

11-06-2015, 11:40 PM
Hasn't worked still has the same 104 errors :/

11-07-2015, 12:39 AM
Hasn't worked still has the same 104 errors :/

Did you clear your CMake cache, recmaked, cleaned your VS solution and rebuilt? It is important to do those things since the errors will most likely still show. Also, can you give more information as to how you went about doing what Rochet2 suggested? Would be nice to know just in case you did something wrong.

11-07-2015, 02:17 AM
Yes I did each of those things,after adding in the "include" and "lib" files. However nothing has changed

http://prntscr.com/8zxvtl this is a SS of my cmake, I do not know if the Include file and Lib 32s are directed correctly

If there is anything I could show that could help solve the errors please let me know. I do not know what is useful information and what is just clutter.

11-07-2015, 04:30 PM
Tag the MySql_Lib from cmake. Also make sure press Configure then Generate after edit the text.


11-07-2015, 11:07 PM
I dont kno where to put the libs and include

11-08-2015, 05:35 AM
I dont kno where to put the libs and include

You need to place the libs and include folder in - C:\Program Files\MySQL\MySQL Server 5.6 <-- that's if you installed it in the default location. Just drop the include folder into the MySQL Server 5.6 folder, and click on "replace" if it ask you, and do the same with the libs folder.