CVS > 0.5.1

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
gandalf
Posts: 157
Joined: August 24th, 2003, 4:15 pm
Location: Sweden

CVS > 0.5.1

Post by gandalf »

with sdl-config --version 1.2.4 and g++ -v 2.95.4 and debian stable I get
with the latest cvs

src/playturn.cpp: In function `void play_turn(game_data &, game_state &, gamestatus &, config &, config *, CVideo &, CKey &, display &, game_events::manager &, gamemap &, vector<team,allocator<team> > &, int, map<gamemap::location,unit,less<gamemap::location>,allocator<unit> > &)':
src/playturn.cpp:111: warning: comparison between signed and unsigned
src/playturn.cpp: In method `void turn_info::mouse_press(const SDL_MouseButtonEvent &)':
src/playturn.cpp:332: `SDL_BUTTON_WHEELUP' undeclared (first use this function)
src/playturn.cpp:332: (Each undeclared identifier is reported only once
src/playturn.cpp:332: for each function it appears in.)
src/playturn.cpp:333: `SDL_BUTTON_WHEELDOWN' undeclared (first use this function)
src/playturn.cpp:317: warning: unused variable `const class team & current_team'
make: *** [src/playturn.o] Error 1
Dave
Founding Developer
Posts: 7071
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Post by Dave »

This means that you have an older version of SDL.

I have fixed the problem though, I think, in the latest CVS. Let me know if it works.

Also let me know if the mouse wheel works for you (if you have a mouse wheel on your computer).

David
gandalf
Posts: 157
Joined: August 24th, 2003, 4:15 pm
Location: Sweden

Post by gandalf »

Dave wrote:This means that you have an older version of SDL.
As I said, I use debian stable....
Dave wrote: I have fixed the problem though, I think, in the latest CVS. Let me know if it works.
David
It worked.
for me, it's impossible to test mouse wheel.
Tim

Crash in AI-move

Post by Tim »

Version 0.5.2-cvs crashes on a Suse-Linux 8.2-System after beginning the AI-move in the Campaign.
In 0.5.1 this problem didn't exist.

Tim.
Dave
Founding Developer
Posts: 7071
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Re: Crash in AI-move

Post by Dave »

Tim wrote:Version 0.5.2-cvs crashes on a Suse-Linux 8.2-System after beginning the AI-move in the Campaign.
In 0.5.1 this problem didn't exist.

Tim.
When did you update CVS?

Did you do make clean before make when you updated CVS?

Can you provide a back trace?

David
Guest

Sorry!

Post by Guest »

I'm very sorry! My mistake! I forgot to make clean.
Now it runs well. :oops:
Tim.
Dave
Founding Developer
Posts: 7071
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Re: Sorry!

Post by Dave »

Anonymous wrote:I'm very sorry! My mistake! I forgot to make clean.
Now it runs well. :oops:
Tim.
That's okay :)

I would like to take the opportunity to remind everyone though, you should always do 'make clean' before 'make' after updating from CVS.

If you don't, the game is liable to crash.

David
Post Reply