Page 1 of 2
Can't compile source 4/7/2016
Posted: Thu Apr 07, 2016 5:01 am
by zippyzee
Can't compile after yesterday's changes.
I can comment out the quest.cpp include for sys/time.h and the return NULL in thread.cpp and am ok for now.
Re: Can't compile source 4/7/2016
Posted: Thu Apr 07, 2016 9:26 am
by Xinux
Didn't know someone still used the x86 compile instead of the x64. You should be able to compile with the commit from this morning.
Re: Can't compile source 4/7/2016
Posted: Thu Apr 07, 2016 9:36 am
by zippyzee
Didn't realize I was doing that. I'll switch over.
Re: Can't compile source 4/7/2016
Posted: Thu Apr 07, 2016 9:48 am
by zippyzee
I have a lot of database linker errors when compiling on x64 referencing MySQL. Is there something special I need to do to make it work?
Re: Can't compile source 4/7/2016
Posted: Thu Apr 07, 2016 9:59 am
by Xinux
If you mean this spam just ignore it.
Re: Can't compile source 4/7/2016
Posted: Thu Apr 07, 2016 11:25 am
by zippyzee
No, it was a slew of errors but based on needing a flag to ignore the one error that loginserver was kicking up. It is working now. I had assumed in the past that we didn't have 64-bit support with MySQL but that was apparently not true. Thanks!
Re: Can't compile source 4/7/2016
Posted: Thu Apr 07, 2016 11:56 am
by zippyzee
Actually, I guess that was only building LoginServer. When I try to build WorldServer, I get this:
Re: Can't compile source 4/7/2016
Posted: Thu Apr 07, 2016 12:33 pm
by Xinux
Did you try a clean/build also what version of VS is that?
Re: Can't compile source 4/7/2016
Posted: Thu Apr 07, 2016 12:38 pm
by Xinux
Here are some of my settings.
Re: Can't compile source 4/7/2016
Posted: Thu Apr 07, 2016 1:09 pm
by zippyzee
That did it. I didn't realize there were libraries for MySQL for 32 and 64 bit versions specified in the project. It compiles now so I'll stick with it.