Arcenciel Posted December 18, 2011 Posted December 18, 2011 (edited) Is anyone else having compiling issues with the latest Revision 15161 using Visual Studio 2010? My test server is running on a Windows 7 64-bit environment. I tried downloading a fresh copy off the SVN yet it won't compile properly. http://pastebin.com/C9f3Jzdj Edited December 19, 2011 by Arcenciel Quote
Gorowann Posted December 18, 2011 Posted December 18, 2011 (edited) open src/map/mob.c and find: #ifndef TXT_ONLY if(db_use_sqldbs) { mob_read_sqldb(); mob_read_sqlskilldb(); } else { #endif /* TXT_ONLY */ mob_readdb(); mob_readskilldb(); } replace with this and it should work: see my other post, or better wait till someone can confirm that the replacement works. [s]#ifndef TXT_ONLYif(db_use_sqldbs) { mob_read_sqldb(); mob_read_sqlskilldb();}else { /* TXT_ONLY */ mob_readdb(); mob_readskilldb();}#endif[/s][/code[/s]]I´ve written a bugreport for this... hopefully i´m not that wrong... >.< Edited December 18, 2011 by Gorowann Quote
CalciumKid Posted December 18, 2011 Posted December 18, 2011 Oh. Arcenciel, you're trying to compile TXT? I never checked it. Quote
Gorowann Posted December 18, 2011 Posted December 18, 2011 (edited) I shouldn´t post something code related when my kids are around.... the else statement will never trigger and the txt version will not call mob_readdb(). I have only quick looked and have gone wrong by only looking at the { } that should be better, ...i hope... #ifndef TXT_ONLY mob_read_sqldb(); mob_read_sqlskilldb(); #else /* TXT_ONLY */ mob_readdb(); mob_readskilldb(); #endif Edited December 18, 2011 by Gorowann Quote
Magnetix Posted December 18, 2011 Posted December 18, 2011 (edited) Weird, I just tested compiling latest RAthena release but I don't get any compile errors. I'm using win7 x86 and VSC++ 2008.. Edited December 18, 2011 by Magnetix Quote
Arcenciel Posted December 18, 2011 Author Posted December 18, 2011 Oh. Arcenciel, you're trying to compile TXT? I never checked it. Yeah, I just run my test server in TXT. XD Thanks for the fix. Quote
Magnetix Posted December 18, 2011 Posted December 18, 2011 Thanks for the quick fix calciumkid. Quote
KeiKun Posted December 18, 2011 Posted December 18, 2011 Weird, I just tested compiling latest RAthena release but I don't get any compile errors. I'm using win7 x86 and VSC++ 2008.. lol read post #1 he said x64 x86 and x64 are different Quote
Magnetix Posted December 18, 2011 Posted December 18, 2011 I know. It's only meant to show the results compiling on 2 different machines. Either way issue is fixed so yeah, Quote
Question
Arcenciel
Is anyone else having compiling issues with the latest Revision 15161 using Visual Studio 2010?
My test server is running on a Windows 7 64-bit environment. I tried downloading a fresh copy off the SVN yet it won't compile properly.
http://pastebin.com/C9f3Jzdj
Edited by Arcenciel9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.