Kong 9 Posted September 20, 2015 I'm having error using the latest svn repository, Hercules-11 for VS2012. Everything is fresh with no modifications. Quote Share this post Link to post Share on other sites
0 GM Clerk 0 Posted September 20, 2015 iam have this error too Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted September 20, 2015 This is related to Hercules and visual studio 2012 and lower.... Will be fixed soon by some of the dev Quote Share this post Link to post Share on other sites
0 Jerahya 0 Posted September 20, 2015 (edited) wew. I just spend 2 days trying to figure what cause the error thinking the problem lies in my laptop. Turns out I'm not the only one. Will be waiting for the update while I try to fix it my self. Edited September 20, 2015 by Jerahya Quote Share this post Link to post Share on other sites
0 Kong 9 Posted September 21, 2015 This has been reported to github under this issue, https://github.com/HerculesWS/Hercules/issues/726 Let's hope it gets fixed soon! Quote Share this post Link to post Share on other sites
0 Jerahya 0 Posted September 21, 2015 (edited) hopefully it will be sooner. But I was able to compile map-server.exe by puting the C declaration at the beginning of the function. Fromint atcommand_stopattack(struct block_list *bl,va_list ap){ struct unit_data *ud = unit->bl2ud(bl); nullpo_ret(bl); int id = va_arg(ap, int); ....}Toint atcommand_stopattack(struct block_list *bl,va_list ap){ int id; struct unit_data *ud = unit->bl2ud(bl); nullpo_ret(bl); id = va_arg(ap, int); ....} same goes for other function that has the error. But I still have other error to deal with. EDIT: Fix for the error above ^ edit src/common/cbasetypes.h Line 289: //#ifndef __bool_true_false_are_defined// If stdbool.h is not available or does not define this#ifndef __cplusplustypedef char bool; Run Clean then Build solution. This is just a temporary fix until the actual fix comes out. I have no idea what I was doing while editing the code. or just replace clif.c and atcommand.c in scr/map and cbasetypes.h in scr/common with this. https://www.mediafire.com/?6ndsriaghibyk1b 176.5kb - 3 files. can't use pastebin. clif.c is more than 512kb. Edited September 21, 2015 by Jerahya Quote Share this post Link to post Share on other sites
0 Kong 9 Posted September 22, 2015 Yes there was a fix on the latest commit but only for the atcommand.c <https://github.com/HerculesWS/Hercules/commit/547dd68d284f021819be41f44821f2785edfa9f9> Still getting errors on clif.c huhu https://github.com/HerculesWS/Hercules/issues/730 Quote Share this post Link to post Share on other sites
0 Jerahya 0 Posted September 22, 2015 (edited) try using the clif.c found in the file I uploaded. It should work fine. Edited September 22, 2015 by Jerahya Quote Share this post Link to post Share on other sites
0 Kong 9 Posted September 23, 2015 Well it has been fixed on the latest commit, this can be closed now. Thanks! Quote Share this post Link to post Share on other sites
I'm having error using the latest svn repository, Hercules-11 for VS2012.
Everything is fresh with no modifications.
Share this post
Link to post
Share on other sites