Всем привет!
Delphi RIO 3.3
Создал multi-device app. Всё скомпилировалось и запустилось на мобиле. После добавил DataSnap Rest Client module.
При добавлении ошибок не было, создались два модуля. Но проект перестал комплироваться. В чем проблема и как исправить ошибку?
Цитата:
Checking project dependencies...
Compiling HeaderFooterNavigation.dproj (Debug, Android)
dccaarm command line for "HeaderFooterNavigation.dpr"
c:\program files (x86)\embarcadero\studio\20.0\bin\dccaarm.exe -$O- --no-config -M -Q -TX.so -AGenerics.Collections=System.Generics.Collections;
Generics.Defaults=System.Generics.Defaults -DDEBUG -E.\Android\Debug -I"c:\program files (x86)\embarcadero\studio\20.0\lib\Android\debug";" c:\program
files (x86)\embarcadero\studio\20.0\lib\Android\Release" -LEC:\Users\Public\Documents\Embarcadero\Studio\20. 0\Bpl\Android
-LNC:\Users\Public\Documents\Embarcadero\Studio\20. 0\Dcp\Android -NU.\Android\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files
(x86)\embarcadero\studio\20.0\lib\Android\Release" -R"c:\program files (x86)\embarcadero\studio\20.0\lib\Android\Release" -U"c:\program files
(x86)\embarcadero\studio\20.0\lib\Android\debug";" c:\program files (x86)\embarcadero\studio\20.0\lib\Android\Release"
--libpath:\android-ndk-r20b\platforms\android-22\arch-arm\usr\lib;D:\android-ndk-r20b\sources\cxx-stl\llvm-libc++\libs\armeabi-v7a
--linker:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe -V -VN -NO.\Android\Debug
HeaderFooterNavigation.dpr
[DCC Error] E2597 D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lgnustl_static
D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: the vtable symbol may be undefined because the class is missing its key function
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(alchemy.o):C:\Builds\tp\runtime\data\ds nap\midas\alchemy.cpp:typeinfo for DSBASE_Factory: error: undefined reference to 'vtable for __cxxabiv1::__vmi_class_type_info'
D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: the vtable symbol may be undefined because the class is missing its key function
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(alchemy.o):C:\Builds\tp\runtime\data\ds nap\midas\alchemy.cpp:typeinfo for DSCursor_Factory: error: undefined reference to 'vtable for __cxxabiv1::__vmi_class_type_info'
D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: the vtable symbol may be undefined because the class is missing its key function
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(alchemy.o):C:\Builds\tp\runtime\data\ds nap\midas\alchemy.cpp:typeinfo for DATAPACKETREAD_Factory: error: undefined reference to 'vtable for __cxxabiv1::__vmi_class_type_info'
D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: the vtable symbol may be undefined because the class is missing its key function
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(alchemy.o):C:\Builds\tp\runtime\data\ds nap\midas\alchemy.cpp:typeinfo for DATAPACKETWRITE_Factory: error: undefined reference to 'vtable for __cxxabiv1::__vmi_class_type_info'
D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: the vtable symbol may be undefined because the class is missing its key function
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(alchemy.o):C:\Builds\tp\runtime\data\ds nap\midas\alchemy.cpp:typeinfo for TAlchemy: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: the vtable symbol may be undefined because the class is missing its key function
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(alchemy.o):C:\Builds\tp\runtime\data\ds nap\midas\alchemy.cpp:typeinfo for IUnknown: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: the vtable symbol may be undefined because the class is missing its key function
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(alchemy.o):C:\Builds\tp\runtime\data\ds nap\midas\alchemy.cpp:typeinfo for IClassFactory: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: the vtable symbol may be undefined because the class is missing its key function
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(alchemy.o):C:\Builds\tp\runtime\data\ds nap\midas\alchemy.cpp:vtable for IClassFactory: error: undefined reference to '__cxa_pure_virtual'
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(alchemy.o):C:\Builds\tp\runtime\data\ds nap\midas\alchemy.cpp:vtable for IClassFactory: error: undefined reference to '__cxa_pure_virtual'
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(curinit.o):C:\Builds\tp\runtime\data\ds nap\midas\curinit.cpp:function DSCursor::~DSCursor(): error: undefined reference to 'operator delete[](void*)'
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(curinit.o):C:\Builds\tp\runtime\data\ds nap\midas\curinit.cpp:function DSCursor::~DSCursor(): error: undefined reference to 'operator delete[](void*)'
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(curinit.o):C:\Builds\tp\runtime\data\ds nap\midas\curinit.cpp:function DSCursor::~DSCursor(): error: undefined reference to 'operator delete[](void*)'
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(curinit.o):C:\Builds\tp\runtime\data\ds nap\midas\curinit.cpp:function DSCursor::~DSCursor(): error: undefined reference to 'operator delete[](void*)'
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(curinit.o):C:\Builds\tp\runtime\data\ds nap\midas\curinit.cpp:function __clang_call_terminate: error: undefined reference to '__cxa_begin_catch'
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(curinit.o):C:\Builds\tp\runtime\data\ds nap\midas\curinit.cpp:function __clang_call_terminate: error: undefined reference to 'std::terminate()'
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(curinit.o):C:\Builds\tp\runtime\data\ds nap\midas\curinit.cpp:typeinfo for TDSCursor: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: the vtable symbol may be undefined because the class is missing its key function
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(ds.o):C:\Builds\tp\runtime\data\dsnap\m idas\ds.cpp:function LTABLEList::~LTABLEList(): error: undefined reference to 'std::terminate()'
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(ds.o):C:\Builds\tp\runtime\data\dsnap\m idas\ds.cpp:typeinfo for VARList: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: the vtable symbol may be undefined because the class is missing its key function
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(ds.o):C:\Builds\tp\runtime\data\dsnap\m idas\ds.cpp:typeinfo for LTABLEList: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: the vtable symbol may be undefined because the class is missing its key function
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(ds.o):C:\Builds\tp\runtime\data\dsnap\m idas\ds.cpp:typeinfo for VARStrList: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
D:\android-ndk-r20b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: the vtable symbol may be undefined because the class is missing its key function
c:\\program files (x86)\\embarcadero\\studio\\20.0\\lib\\Android\\Re lease/libmidas.a(idxfilt.o):C:\Builds\tp\runtime\data\ds nap\midas\idxfilt.cpp:function DSIDXFILT::~DSIDXFILT(): error: undefined reference to 'std::terminate()'
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
Failed
|