Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to next message
deep is currently offline  deep
Messages: 263
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

Re: Can't compile ScatterCtrl_Demo with current nightly build [message #58948 is a reply to message #58946] Wed, 28 September 2022 14:35 Go to previous messageGo to next message
peterh is currently offline  peterh
Messages: 108
Registered: November 2018
Location: Germany
Experienced Member
It compiles and runs here on Windows Build 16446, everything fresh installed.
The line numbers in PopUpText.h are different here, e.g. Line 48 is an empty line.

Maybe something is out of date?
Re: Can't compile ScatterCtrl_Demo with current nightly build [message #58949 is a reply to message #58948] Wed, 28 September 2022 16:00 Go to previous message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Please use the UppHub sources hosted in https://github.com/anboto. They are maintained and improved. Bugs are solved overnight.
The author of ScatterCtrl/ScatterDraw does not guarantee the functionality of other sources.


Best regards
IƱaki
Previous Topic: Can't compile Controls4u from UppHub
Next Topic: UppHub nests.jason File not accessible for raw access on GitHub
Goto Forum:
  


Current Time: Fri Mar 29 02:45:18 CET 2024

Total time taken to generate the page: 0.01191 seconds