Home » Developing U++ » UppHub » Can't compile ScatterCtrl_Demo with current nightly build
Can't compile ScatterCtrl_Demo with current nightly build [message #58946] |
Wed, 28 September 2022 13:42  |
 |
deep
Messages: 266 Registered: July 2011 Location: Bangalore
|
Experienced Member |
|
|
Linux ubuntu version 20.04
Scatter control demo compiles well with 2022.1 stable version
Build number 16270
Get following error with build version 16443 / 16446
upp/.config/u++/theide/UppHub/Scatter/ScatterCtrl/PopUpText.h:44:66: error: call to non-static member function without an object argument
PopUpInfo& SetFont(Upp::Font font) { LabelBase::SetFont(font); return *this; }
~~~~~~~~~~~^~~~~~~
/upp/.config/u++/theide/UppHub/Scatter/ScatterCtrl/PopUpText.h:45:66: error: call to non-static member function without an object argument
PopUpInfo& SetInk(Color color) { LabelBase::SetInk(color); return *this; }
~~~~~~~~~~~^~~~~~
/upp/.config/u++/theide/UppHub/Scatter/ScatterCtrl/PopUpText.h:46:66: error: call to non-static member function without an object argument
PopUpInfo& SetAlign(int align) { LabelBase::SetAlign(align); return *this; }
~~~~~~~~~~~^~~~~~~~
/upp/.config/u++/theide/UppHub/Scatter/ScatterCtrl/PopUpText.h:47:66: error: call to non-static member function without an object argument
PopUpInfo& SetImage(const Image& img, int spc = 0) { LabelBase::SetImage(img, spc); return *this; }
~~~~~~~~~~~^~~~~~~~
/upp/.config/u++/theide/UppHub/Scatter/ScatterCtrl/PopUpText.h:48:66: error: call to non-static member function without an object argument
PopUpInfo& SetText(const char *text) { LabelBase::SetText(text); return *this; }
~~~~~~~~~~~^~~~~~~
In file included from /home/deepak/out/UppHubApps/ScatterCtrl/CLANG.Debug.Debug_Full.Gui.Shared/ScatterCtrl$blitz.cpp:21:
/upp/.config/u++/theide/UppHub/Scatter/ScatterCtrl/PopUpText.cpp:35:2: error: use of undeclared identifier 'PaintLabel'
PaintLabel(w, 0, 0, sz.cx, sz.cy, !IsShowEnabled(), false, false, VisibleAccessKeys());
^
6 errors generated.
5 errors generated.
Warm Regards
Deepak
[Updated on: Wed, 28 September 2022 15:19] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:40:32 CEST 2025
Total time taken to generate the page: 0.00998 seconds
|