Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#142 closed bug (fixed)

ShowImage build fails

Reported by: genki@… Owned by: sikosis
Priority: normal Milestone: R1
Component: Applications Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Hello,

build fails with this: C++ generated/objects/haiku/x86/release/apps/showimage/BackgroundImage.o /boot/home/CVS/haiku/trunk/src/apps/showimage/BackgroundImage.cpp: In function `static status_t BackgroundImage::_NotifyTracker(BDirectory &, bool)': /boot/home/CVS/haiku/trunk/src/apps/showimage/BackgroundImage.cpp:61: variable `class BMessenger tracker' has initializer but incomplete type /boot/home/CVS/haiku/trunk/src/apps/showimage/BackgroundImage.cpp:102: aggregate `class BMessenger trackerWindow' has incomplete type and cannot be initialized /boot/home/CVS/haiku/trunk/src/apps/showimage/BackgroundImage.cpp:103: confused by earlier errors, bailing out

BackgroundImage.cpp should probably #include <Messenger.h>

Change History (7)

comment:1 Changed 13 years ago by korli

fixed in revision 16370. please fill the platform field: it would help to find the platform for which the build fails.

comment:2 Changed 13 years ago by korli

Resolution: fixed

comment:3 Changed 13 years ago by korli

Status: newclosed

comment:4 Changed 13 years ago by genki@…

Hello again,

The problem was that my UserBuildConfig was configured to use Message4: AppendToConfigVar DEFINES : HAIKU_TOP src : USING_MESSAGE4 : global ;

Message4.h does not include Messenger.h, but Message.h does.

comment:5 Changed 13 years ago by genki@…

I am building on R5+BONE with target Haiku btw.

comment:6 Changed 13 years ago by korli

op_sys: AllHaiku

comment:7 Changed 13 years ago by korli

bug_group: developers
Note: See TracTickets for help on using tickets.