C++ Builder 10.2 Android linking problem (vtable)
Posted: Wed 23 Aug 2017 14:17
Hi,
I created a very simple test app with just two buttons to check how it runs on Android.
Everything worked well until the moment I added a component SQLServerUniProvider and UniConnection. I wanted to test if the Android app can access my SQL server.
I got linking error:
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\19.0\CatalogRepository\AndroidNDK-9c_19.0.27659.1188\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: .\Android\Debug\frm_Main.o: in function _ZTX8TfrmMain:frm_Main.cpp(.data.rel.ro+0x22e): error: undefined reference to 'vtable for Sqlserveruniprovider::TSQLServerUniProvider'
I normally work in Windows and have no experince in creating Android apps.
If someone has any idea how to solve the problem, I will be very thankful.
Regards,
Vlada
I created a very simple test app with just two buttons to check how it runs on Android.
Everything worked well until the moment I added a component SQLServerUniProvider and UniConnection. I wanted to test if the Android app can access my SQL server.
I got linking error:
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\19.0\CatalogRepository\AndroidNDK-9c_19.0.27659.1188\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: .\Android\Debug\frm_Main.o: in function _ZTX8TfrmMain:frm_Main.cpp(.data.rel.ro+0x22e): error: undefined reference to 'vtable for Sqlserveruniprovider::TSQLServerUniProvider'
I normally work in Windows and have no experince in creating Android apps.
If someone has any idea how to solve the problem, I will be very thankful.
Regards,
Vlada