Opened 19 years ago

Closed 19 years ago

Last modified 19 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:
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 by korli, 19 years ago

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

comment:2 by korli, 19 years ago

Resolution: fixed

comment:3 by korli, 19 years ago

Status: newclosed

comment:4 by genki@…, 19 years ago

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 by genki@…, 19 years ago

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

comment:6 by korli, 19 years ago

op_sys: AllHaiku

comment:7 by korli, 19 years ago

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