Page 1 of 1

C++ Builder Tokyo/UniDAC 7.0.1/iOS32

Posted: Thu 11 May 2017 15:18
by esarraf
Good morning,

I tried to send this through the support request web form, but I don't think it went through (at least, I never received the copy of it back to my own email address). Anyways, this is the problem I'm running into:

When I try to build a project in C++ Builder Tokyo targetting IOS32, I get a number of linker errors. If I build a simple project with just a SQLiteUniProvider on the form, and add the \UniDAC for RAD Studio 10.2\Lib\iOSDevice32\libliteprovider250.a file to the project, I get the linker errors below. If I build the same simple app, but use the MySQL provider and .a file, it works fine. Any ideas?

Code: Select all

[ld Error]   Error: "_lite_sqlite3PagerSetCodec", referenced from:      __ZN13Litestaticuni25lite_sqlite3PagerSetCodecEPvS0_S0_S0_S0_ in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_lite_sqlite3GetBackend", referenced from:      __ZN13Litestaticuni22lite_sqlite3GetBackendEPvi in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_lite_sqlite3BtreeBeginTrans", referenced from:      __ZN13Litestaticuni27lite_sqlite3BtreeBeginTransEPvi in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_lite_sqlite3BtreeCommit", referenced from:      __ZN13Litestaticuni23lite_sqlite3BtreeCommitEPv in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_lite_sqlite3BtreeRollback", referenced from:      __ZN13Litestaticuni25lite_sqlite3BtreeRollbackEPvi in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_lite_sqlite3PagerPagecount", referenced from:      __ZN13Litestaticuni26lite_sqlite3PagerPagecountEPvPi in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_lite_sqlite3PagerGetCodec", referenced from:      __ZN13Litestaticuni25lite_sqlite3PagerGetCodecEPv in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_lite_sqlite3GetBtreePager", referenced from:      __ZN13Litestaticuni25lite_sqlite3GetBtreePagerEPv in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_sqlite3InitCodecFunctions", referenced from:      __ZN13Litestaticuni25sqlite3InitCodecFunctionsEPN11Litecalluni13sqlite3_codecE in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_lite_sqlite3PagerIsMjPgno", referenced from:      __ZN13Litestaticuni25lite_sqlite3PagerIsMjPgnoEPvj in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_lite_sqlite3PagerUnref", referenced from:      __ZN13Litestaticuni22lite_sqlite3PagerUnrefEPv in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_lite_sqlite3PagerGet", referenced from:      __ZN13Litestaticuni20lite_sqlite3PagerGetEPvjS0_i in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_lite_sqlite3PagerWrite", referenced from:      __ZN13Litestaticuni22lite_sqlite3PagerWriteEPv in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o); 
[ld Error]   Error: "_sqlite3InitVfsFunctions", referenced from:      __ZN13Litestaticuni23sqlite3InitVfsFunctionsEPN11Litecalluni11sqlite3_vfsE in C:\\RADTools\\Devart\\UniDAC for RAD Studio 10.2\\Lib\\iOSDevice32\\libliteprovider250.a(LiteStaticUni.o);

Re: C++ Builder Tokyo/UniDAC 7.0.1/iOS32

Posted: Tue 16 May 2017 13:22
by MaximG
Thank you for promptly provided information. Thanks to you we have reproduced and fixed this error. We made the necessary changes in UniDAC 7.0.2 and replaced the installation files. Uninstall the installed version of UniDAC, download UniDAC 7.0.2 installer again and install it.

Re: C++ Builder Tokyo/UniDAC 7.0.1/iOS32

Posted: Tue 16 May 2017 13:30
by MaximG
Sorry, the above message is related to the solution of another problem. We have reproduced the error according to the description and are investigating its causes. We will inform you about the results soon

Re: C++ Builder Tokyo/UniDAC 7.0.1/iOS32

Posted: Wed 17 May 2017 13:48
by MaximG
When using UniDAC to develop applications for iOS platform in IDE C++Builder RAD Studio 10.2 Tokyo perform the following steps :

- add in the properties of your project "Project Options\C++ Linker\Additionally linked libraries" the library name corresponding to the used provider (for SQLite - "liteprovider250")
- add the sqlite3.0 library to the project ( [UniDAC install folder]\Lib\iOSDevice32 )
- recompile the project