U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ScatterDraw & ScatterCtrl » ScatterDemo compile Error
ScatterDemo compile Error [message #61839] Sun, 26 October 2025 10:21 Go to next message
deep is currently offline  deep
Messages: 281
Registered: July 2011
Location: Bangalore
Experienced Member
Hi,

With Latest git pull UPP sources and UPP-Hub update.

I get error during compilation of the ScatterCtrl Demo project

In file included from D:/UPP_Installs/upp_lint/out/UppHubExamples/ScatterCtrl/CLANGx64.Debug.Debug_Full.Gui\ScatterCtrl$blitz.cpp:3:
In file included from D:\UPP_Installs\UppHub\--Scatter--\ScatterCtrl\ScatterCtrl.cpp:3:
In file included from D:\UPP_Installs\UppHub\--Scatter--\ScatterCtrl/ScatterCtrl.h:6:
In file included from D:\UPP_Installs\UppHub\--Scatter--/ScatterDraw/ScatterDraw.h:8:
D:\UPP_Installs\UppHub\--Scatter--/ScatterDraw/DataSource.h:1723:8: error: redefinition of 'ApplyIndex'
 1723 | Range1 ApplyIndex(const Range1 &x, const Range2 &indices) {
      |        ^
D:\UPP_Installs\UppHub\Functions4U/Functions4U/Functions4U.h:439:8: note: previous definition is here
  439 | Range1 ApplyIndex(const Range1 &x, const Range2 &indices) {
      |        ^


Warm Regards

Deepak
Re: ScatterDemo compile Error [message #61840 is a reply to message #61839] Sun, 26 October 2025 15:02 Go to previous message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Hello deep

ApplyIndex() is declared/defined in Functions4U.h, no longer in ScatterDraw.h.
This is because it is used in other packages.
Please update Scatter and rebuild all.


Best regards
IƱaki

[Updated on: Sun, 26 October 2025 15:03]

Report message to a moderator

Previous Topic: Added SetLabelYOrientation()
Goto Forum:
  


Current Time: Tue Apr 28 21:35:43 GMT+2 2026

Total time taken to generate the page: 0.00476 seconds