Compiled with VC9 - slow performance
Moderator: Forum Moderators
Compiled with VC9 - slow performance
I made a small change to the source code (the change is described in this thread, if someone is interested) of the newest version of Wesnoth (1.9.4), and compiled it using Visual C++ Express 2008 (aka VC9), and the instructions found here (variant 2). It works, but it's very slow compared to the Windows binaries that can be downloaded from the Wesnoth site, especially "loading files and creating cache" takes a lot of time. I also noticed 2 other differences: the version I compiled creates a console window when running, and changing the language doesn't work.
My questions:
1. Which method is used to compile the official Windows binaries?
2. Will using variant 1 of the compilation instructions (using cmake) help? If so, what's a "svn command-line executable" and where can I get it?
3. Can I do anything else to make it run faster?
My questions:
1. Which method is used to compile the official Windows binaries?
2. Will using variant 1 of the compilation instructions (using cmake) help? If so, what's a "svn command-line executable" and where can I get it?
3. Can I do anything else to make it run faster?
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: Compiled with VC9 - slow performance
They're compiled with gcc/g++'s windows variants (judging from file size but mainly behavior of the executable).PawelS wrote:1. Which method is used to compile the official Windows binaries?
You maybe used debug configuration to compile ? Set it to release when not working on the source code (see menu bar in VS).3. Can I do anything else to make it run faster?
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Re: Compiled with VC9 - slow performance
Thanks, after changing the configuration to Release it's much faster, the only problem left is that I still can't change the language.
Re: Compiled with VC9 - slow performance
windows debug build is really painfully slow (google for iterator debugging).
what do you mean by "can't change the language"? does it crash?
what do you mean by "can't change the language"? does it crash?
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: Compiled with VC9 - slow performance
No. But the neccessary files can only be created when compiling Linux-ish and not with an IDE apparently. My win build also lacks German translations (it matters little for me so I never invested in solving it).Max wrote:what do you mean by "can't change the language"? does it crash?
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Re: Compiled with VC9 - slow performance
It's not a big deal for me either. It doesn't crash, it's just always English regardless what I choose in the main menu.
Re: Compiled with VC9 - slow performance
all you need to do is copy the translations folder from the official package.