What's new

Trinity 3.3.5a Compiling Error.

Status
Not open for further replies.

Nickyzxo36

Verified Member
6
2016
0

tchniq

Verified Member
22
2016
0
Location
2005
You're experiencing linker errors which is basically your compiler being unable to find required functions or libraries (while the compiling process itself may have been fine). First I would try to "Clean Solution" and then "Build Solution" after having restarted Visual Studio, and if that doesn't work I'd be checking if I miss dependencies provided by, in your case, Trinity, in order to compile (to me it looks like MySQL is not found by CMake, or missing lib dll in your system32).

It could be that you are running a x86 version of MySQL while trying to compile in x64 mode, or the other way around.
 
Last edited:

tchniq

Verified Member
22
2016
0
Location
2005
Thank you Tchniq, I'll let you know if I fix the issue thanks for the quick response :) - When I clean solution it looks fine http://i.imgur.com/KAXXNxE.png

After you have cleaned your solution you will still have to build it however, so it may not be fine still. What the cleaning process does in short is that it will remove the build files from the previous build which [potentially] can be in the way of compiling properly if there's been some sort of update (and it's good practice to always clean your solution before building again).

My guess is that this is not the problem, and you should check what mysql you're running (32 or 64 bit) and compile accordingly (32 bit mysql: Release Win32/x86, 64 bit mysql: Release x64).

edit; check the cmake output too for errors (I am not so familiar with Trinity, didn't compile it myself for ages and I rarely use Cmake)

edit2; make sure you fulfill the Windows requirements (not sure if VS2012 is viable) as seen here https://trinitycore.atlassian.net/wiki/display/tc/Windows+Requirements
 
Last edited:
Status
Not open for further replies.
Top