Arcenciel Posted December 18, 2011 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 Share 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 Link to comment Share on other sites More sharing options...
Gorowann Posted December 18, 2011 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 11/21/11 Last Seen: August 22, 2019 Share 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 Link to comment Share on other sites More sharing options...
CalciumKid Posted December 18, 2011 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 257 Reputation: 253 Joined: 11/29/11 Last Seen: February 21, 2014 Share Posted December 18, 2011 Oh. Arcenciel, you're trying to compile TXT? I never checked it. Quote Link to comment Share on other sites More sharing options...
Gorowann Posted December 18, 2011 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 11/21/11 Last Seen: August 22, 2019 Share 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 Link to comment Share on other sites More sharing options...
Magnetix Posted December 18, 2011 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 446 Reputation: 30 Joined: 12/08/11 Last Seen: October 13, 2024 Share 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 Link to comment Share on other sites More sharing options...
CalciumKid Posted December 18, 2011 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 257 Reputation: 253 Joined: 11/29/11 Last Seen: February 21, 2014 Share Posted December 18, 2011 Fixed in r15162 1 Quote Link to comment Share on other sites More sharing options...
Arcenciel Posted December 18, 2011 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
Magnetix Posted December 18, 2011 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 446 Reputation: 30 Joined: 12/08/11 Last Seen: October 13, 2024 Share Posted December 18, 2011 Thanks for the quick fix calciumkid. Quote Link to comment Share on other sites More sharing options...
KeiKun Posted December 18, 2011 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 967 Reputation: 53 Joined: 11/13/11 Last Seen: February 23 Share 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 Link to comment Share on other sites More sharing options...
Magnetix Posted December 18, 2011 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 446 Reputation: 30 Joined: 12/08/11 Last Seen: October 13, 2024 Share 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 Link to comment Share on other sites More sharing options...
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 ArcencielLink to comment
Share on other sites
9 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.