Page 1 of 1
Compiling Errors
Posted: Sat Jun 04, 2016 1:44 pm
by buddysievers
Hi there, i was trying to compile the newest stable branch but it wont work...
There are 272 errors with the code C1083.
Does this mean i have to change all the files by hand and change all #include to #include <mysql/mysql.h> like the wiki says?
The most recent error is no such file or directory for stdef.h in cbasetypes.h.
Pls help me out and thx in advance!
Re: Compiling Errors
Posted: Sat Jun 04, 2016 1:46 pm
by kjLotus
sounds like you made an error in setting up the environment
Re: Compiling Errors
Posted: Sat Jun 04, 2016 1:50 pm
by buddysievers
well i did everything like the wiki said...
so what can i do?
reinstall visual studio 2015?
the installation took me 4 hours.
Re: Compiling Errors
Posted: Sat Jun 04, 2016 2:40 pm
by kjLotus
visual studio is probably fine, sounds more like the paths in the solution or you have files missing in your git clone
Re: Compiling Errors
Posted: Sat Jun 04, 2016 5:01 pm
by buddysievers
hmm i have installed git for windows and git tortoise and did it like the wiki says.
use "Git Clone" with the url
http://github.com/DarkstarProject/darkstar.git.
then use TortoiseGit -> Switch/Checkout to change the branch to stable.
then start visual studio 2015 and click on build or use ctrl+shift+b.
it starts to compile and begin to throw these errors.
Re: Compiling Errors
Posted: Sat Jun 04, 2016 7:36 pm
by buddysievers
Ok so far i have repaired the install of visual studio 2015 and tried again.
this time it works and it compile all 3 servers but i got 30 warnings.
I have attached a logfile.
Pls help me out.
Re: Compiling Errors
Posted: Sat Jun 04, 2016 7:42 pm
by kjLotus
warnings are normal
Re: Compiling Errors
Posted: Sat Jun 04, 2016 9:06 pm
by buddysievers
ok so far no crashes or such everything works fine.
but when i start the map server there is an error in Sekhmet.lua.
i know its nothing really important its just confusing to see errors in a stable branch.