Page 1 of 1

multiple definition of `__rsrc_N6BITMAP10tbarseriesE'

Posted: Fri Feb 08, 2019 5:29 pm
by 16583726
Hello,

With Delphi 10.3 Enterprise on Windows 10 64 bit pro. Teechart Pro v2018.26.181203
When I try to compile your demo version for example TeeChart_Pro_Firemonkey_Demo, or TeeChart_Lite_Firemonkey_Demo to Android

Compilation is OK but at Linking time I got this error :

Code: Select all

[DCC Error] E2597 C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x29a8): multiple definition of `__rsrc_N6BITMAP10tbarseriesE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0x1618): first defined here
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x599c): multiple definition of `__rsrc_N6BITMAP10tpieseriesE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0x460c): first defined here
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x1c50): multiple definition of `__rsrc_N6BITMAP11tareaseriesE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0x8c0): first defined here
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x3780): multiple definition of `__rsrc_N6BITMAP11tchartshapeE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0x23f0): first defined here
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x5330): multiple definition of `__rsrc_N6BITMAP11tlineseriesE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0x3fa0): first defined here
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x22bc): multiple definition of `__rsrc_N6BITMAP12tarrowseriesE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0xf2c): first defined here
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x4558): multiple definition of `__rsrc_N6BITMAP12tganttseriesE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0x31c8): first defined here
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x6088): multiple definition of `__rsrc_N6BITMAP12tpointseriesE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0x4cf8): first defined here
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x3094): multiple definition of `__rsrc_N6BITMAP13tbubbleseriesE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0x1d04): first defined here
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x3e6c): multiple definition of `__rsrc_N6BITMAP15tfastlineseriesE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0x2adc): first defined here
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x4c44): multiple definition of `__rsrc_N6BITMAP15thorizbarseriesE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0x38b4): first defined here
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x6de0): multiple definition of `__rsrc_N6BITMAP16thorizareaseriesE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0x5a50): first defined here
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Editor.Chart.o:(.rsrc+0x6774): multiple definition of `__rsrc_N6BITMAP16thorizlineseriesE'
  C:\Composants\TeechartSOURCES\Compiled\Delphi26.android\Lib\FMXTee.Chart.ListBox.o:(.rsrc+0x53e4): first defined here
But only on Android. I have no problem for Windows 32/64 or MacOSX target.

I have tried to recompile it with "TeeRecompile.exe" without any change !

If I try a new little project only with a TChart + TPieSeries I have no problem...

Re: multiple definition of `__rsrc_N6BITMAP10tbarseriesE'

Posted: Mon Feb 18, 2019 8:45 am
by yeray
Hello,

I could reproduce the error so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=2159

Thanks for reporting it.