Currently Online

Latest Posts

Topic: build 6107: cannot open dev window F6 does not work

michael82

Topic Opener
Joined: 2011-11-21, 04:44
Posts: 17
Ranking
Pry about Widelands
Posted at: 2011-11-21, 04:48

I installed 6107 and I cannot open the dev window to test the seafearing implementation. Can anyone please help. I am running widelands on ubuntu 11.10.


Top Quote
Nasenbaer
Avatar
Joined: 2009-02-21, 17:17
Posts: 828
Ranking
One Elder of Players
Location: Germany
Posted at: 2011-11-21, 06:50

You most likely run a release build - the debug windows is no available in that case. However 6107 already holds a prepacked multiplayer seafaring map.

  • Start an internet or LAN game
  • When selecting the map, enter "MP", choose "Together we're strong" and set "play as scenario" as true, than klick "Okay".
  • You need a second player (Computer player are deactivated for now) therefor simply start a second widelands instance, connenct to the open game and switch back to the first instance to finally click "Start game"
Edited: 2011-11-21, 06:50

Top Quote
michael82

Topic Opener
Joined: 2011-11-21, 04:44
Posts: 17
Ranking
Pry about Widelands
Posted at: 2011-11-21, 15:18

Thanks for your fast response. I followed your instructions to the letter and I ran into another problem: The "Start Game" button in both widelands instances is deactivated and I cannot start the game...

Another question: I installed the developer build 6107 from https://launchpad.net/~widelands-dev/+archive/widelands-daily/+packages

Is this a release build??? Is says dev build on the top of the page. F6 is not working. I even tried the ubuntu/onboard screen keyboard...


Top Quote
ixprefect

Joined: 2009-02-27, 13:28
Posts: 367
Ranking
Tribe Member
Posted at: 2011-11-21, 15:34

I suppose the terminology is a bit confusing. It is a "development" build in the sense that it is built from the trunk branch of version control, i.e. not from an official release. But it is not a "debug" build: there are no debug symbols, and specific debug-build-only code (such as the F6 window) are not activated.


Top Quote
michael82

Topic Opener
Joined: 2011-11-21, 04:44
Posts: 17
Ranking
Pry about Widelands
Posted at: 2011-11-21, 15:35

It is a release build!. I did not realize that the widelands window I am using is named bzr6107[trunk]Release

Do I have to compile this game to get a developer build? Why do you publish a release build on your "Widelands Developers" lauchpad site? This is confusing... There should be a dev build on this site... or at least a note describing how to compile a dev build. Just a suggestion. Keep up the good work.

Edited: 2011-11-21, 15:35

Top Quote
michael82

Topic Opener
Joined: 2011-11-21, 04:44
Posts: 17
Ranking
Pry about Widelands
Posted at: 2011-11-21, 15:47

How do I compile a debug build? Is there an article on this? Do I have to go read the code to find a -debug flag?

Why are you publishing a Release build on your "Widelands Developers" lauchpad site? I think there should be at least two verisons: Release AND Debug...

Why is the "Start game" button deactivated when I try to start a "Together we're strong" scenario?

I appreciate your help.

Edited: 2011-11-21, 16:02

Top Quote
Venatrix
Avatar
Joined: 2010-10-05, 19:31
Posts: 449
Ranking
Tribe Member
Location: Germany
Posted at: 2011-11-21, 15:55

michael82 wrote: How do I compile a debug build? Is there an article on this?

Yes, there is an article: http://wl.widelands.org/wiki/BuildingWidelands/ Once you have the source code and the needed packages it’s easy. face-wink.png


Two is the oddest prime.

Top Quote
michael82

Topic Opener
Joined: 2011-11-21, 04:44
Posts: 17
Ranking
Pry about Widelands
Posted at: 2011-11-21, 16:01

Thanks Venatrix. This article does not describe how to build a debug build...

Should I add -debug to the cmake command?


Top Quote
aber

Joined: 2010-04-18, 17:45
Posts: 52
Ranking
Likes to be here
Posted at: 2011-11-21, 16:15

alvin:trunk aber$ grep "Debug" doc/README.compiling
- Build type (Release or Debug build)
a Release or Debug build.
$ cmake -DCMAKE_BUILD_TYPE=Debug ../..

Edited: 2011-11-21, 16:16

Top Quote
Nasenbaer
Avatar
Joined: 2009-02-21, 17:17
Posts: 828
Ranking
One Elder of Players
Location: Germany
Posted at: 2011-11-21, 16:32

[sarcasm]aber is right, and I would like you to go that way, as it is more complicated than the way you would have found if reading the suggested page[/sarcasm] face-tongue.png ...

No seriously - please read BuildingWidelands and follow the steps described in "The fastest way to build Widelands (terminal use)"

It's just 5 commands on command line and will interactively ask you what kind of build you want to compile (release or debug) (actually it asks you even more interactive questions, like if you want to compile translations and if you want it to create an update script.

P.S.: Please ask questions on this forum - none of the developers has the time for personal problem resolve support for every user.

Edited: 2011-11-21, 16:33

Top Quote