2012/11/2 James Winkler <[email protected]> > I hope this is the right place for this. I'm trying to tweak Battle for > Wesnoth and I'm having trouble compiling. I followed the steps at > http://wiki.wesnoth.org/CompilingWesnothOnWindows, but I get the errors > seen in the attached screenshot. I double-checked my PATH variable, my > Include files, my Library files, and reset my computer, but I'm still > getting these errors. The only file I've modified is attack.cpp. I'm > using Visual Studio 2008 and I just downloaded the source code for version > 1.10.4 from http://wiki.wesnoth.org/Download#Stable_.281.8_branch.29 > yesterday. > Did I miss a step, or is there something else I need to do? I'm a bit of a > novice with C++, so sorry if these are dumb questions... > > Thanks, > James >
First thing to check: have you tried compiling the code without any modification? It's important to succeed in that before changing anything. Otherwise, in the screenshot you posted the main problem seems to be with an == operator. Double-click the error (it's #10 in your screenshot) in the list and go to the detailed output, where you should be able to trace up the cascade of errors and find the cause. If the problems with .pdb files persist, try a rebuild, see if the mentioned .pdb files already exist and delete them, and check that the files in your source tree don't have the windows read-only attribute. Hope this helps, drop by our irc channel #wesnoth-dev on freenode.net if you need further help. Gabriel / gabba
_______________________________________________ Wesnoth-dev mailing list [email protected] https://mail.gna.org/listinfo/wesnoth-dev
