UniDAC and FireDAC in the same Android app?
Posted: Fri 21 Jul 2017 13:08
Hi,
I am working on a wrapper for UniDAC and FireDAC and have a single suite of tests that are being executed twice (once per DAC)... I do this by registering two subclasses of the same TestCase that only provide a reference to the specific DAC to use (test methods are all implemented in the superclass). This all works well enough on Win32 and Win64.
But I'd like to run it on Android now and I have problems during the linking phase:
E2597 C:\Users\Public\Documents\...: multiple definition of 'sqlite3_aggregate_context'
... about 200 of these errors (they differ only in the name of the method at the end of the line)... followed by a final:
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
STFW I suspect this could be due to my having tried to link, in the same application both UniDAC (with its SQLiteProvider) and FireDAC (with its own). Tests are limited to SQLite for now. I have no idea of why this may bother the Android build and not the Windows build though.
I could break the suite in 2 or 3 different apps, but it will take some time and I'd rather be sure that this is the problem before I proceed. Does anyone have ideas or clues?
I am working on a wrapper for UniDAC and FireDAC and have a single suite of tests that are being executed twice (once per DAC)... I do this by registering two subclasses of the same TestCase that only provide a reference to the specific DAC to use (test methods are all implemented in the superclass). This all works well enough on Win32 and Win64.
But I'd like to run it on Android now and I have problems during the linking phase:
E2597 C:\Users\Public\Documents\...: multiple definition of 'sqlite3_aggregate_context'
... about 200 of these errors (they differ only in the name of the method at the end of the line)... followed by a final:
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
STFW I suspect this could be due to my having tried to link, in the same application both UniDAC (with its SQLiteProvider) and FireDAC (with its own). Tests are limited to SQLite for now. I have no idea of why this may bother the Android build and not the Windows build though.
I could break the suite in 2 or 3 different apps, but it will take some time and I'd rather be sure that this is the problem before I proceed. Does anyone have ideas or clues?