Post by khaled on Sept 19, 2018 13:17:08 GMT
I am getting an error while I want to build a simple app using RhoStudio. The error is following
13>Linking...
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: void __cdecl rho::db::CRubyMutex::Lock(void)" (?Lock@CRubyMutex@db@rho@@qaaxxz) referenced in function "public: void __cdecl rho::db::CDBAdapter::Lock(void)" (?Lock@CDBAdapter@db@rho@@qaaxxz)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: bool __cdecl rho::db::CRubyMutex::isMainRubyThread(void)" (?isMainRubyThread@CRubyMutex@db@rho@@qaa_NXZ) referenced in function "public: void __cdecl rho::db::CDBAdapter::Lock(void)" (?Lock@CDBAdapter@db@rho@@qaaxxz)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: void __cdecl rho::db::CRubyMutex::Unlock(void)" (?Unlock@CRubyMutex@db@rho@@qaaxxz) referenced in function "public: void __cdecl rho::db::CDBAdapter::Unlock(void)" (?Unlock@CDBAdapter@db@rho@@qaaxxz)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: void __cdecl rho::db::CRubyMutex::close(void)" (?close@CRubyMutex@db@rho@@qaaxxz) referenced in function "public: void __cdecl rho::db::CDBAdapter::close(bool)" (?close@CDBAdapter@db@rho@@qaax_N@Z)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: __cdecl rho::db::CRubyMutex::~CRubyMutex(void)" (??1CRubyMutex@db@rho@@qaa@XZ) referenced in function __unwind$225461
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: __cdecl rho::db::CRubyMutex::CRubyMutex(bool)" (??0CRubyMutex@db@rho@@qaa@_N@Z) referenced in function "public: __cdecl rho::db::CDBAdapter::CDBAdapter(char const *,bool)" (??0CDBAdapter@db@rho@@qaa@PBD_N@Z)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: void __cdecl rho::db::CRubyMutex::create(void)" (?create@CRubyMutex@db@rho@@qaaxxz) referenced in function "public: void __cdecl rho::db::CDBAdapter::open(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,bool,bool)" (?open@CDBAdapter@db@rho@@qaaxv?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@0_N1@Z)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: __cdecl rho::db::DBLock::~DBLock(void)" (??1DBLock@db@rho@@qaa@XZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl rho::db::CDBAdapter::exportDatabase(void)" (?exportDatabase@CDBAdapter@db@rho@@qaa?AV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@xz)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: __cdecl rho::db::DBLock::DBLock(class rho::db::CDBAdapter &)" (??0DBLock@db@rho@@qaa@AAVCDBAdapter@12@@z) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl rho::db::CDBAdapter::exportDatabase(void)" (?exportDatabase@CDBAdapter@db@rho@@qaa?AV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@xz)
13>rubylib.lib(rhoruby.obj) : error LNK2019: unresolved external symbol Init_date_core referenced in function RhoRubyStart
13>rubylib.lib(rhoruby.obj) : error LNK2019: unresolved external symbol Init_nonblock referenced in function RhoRubyStart
13>rubylib.lib(rhoruby.obj) : error LNK2019: unresolved external symbol Init_wait referenced in function RhoRubyStart
13>..\bin\MC3000c50b (ARMV4I)\rhodes\Release/rhodes.exe : fatal error LNK1120: 12 unresolved externals
13>Build log was saved at "file://c:\RhoMobileSuite6.1\ruby\lib\ruby\gems\2.3.0\gems\rhodes-6.1\platform\wm\bin\MC3000c50b (ARMV4I)\rhodes\Release\BuildLog.htm"
13>rhodes - 13 error(s), 4 warning(s)
Build complete: 6 Projects succeeded, 1 Projects failed, 0 Projects skipped
[INFO] Error building
Could anyone please guide me to resolve this error? thank you.
13>Linking...
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: void __cdecl rho::db::CRubyMutex::Lock(void)" (?Lock@CRubyMutex@db@rho@@qaaxxz) referenced in function "public: void __cdecl rho::db::CDBAdapter::Lock(void)" (?Lock@CDBAdapter@db@rho@@qaaxxz)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: bool __cdecl rho::db::CRubyMutex::isMainRubyThread(void)" (?isMainRubyThread@CRubyMutex@db@rho@@qaa_NXZ) referenced in function "public: void __cdecl rho::db::CDBAdapter::Lock(void)" (?Lock@CDBAdapter@db@rho@@qaaxxz)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: void __cdecl rho::db::CRubyMutex::Unlock(void)" (?Unlock@CRubyMutex@db@rho@@qaaxxz) referenced in function "public: void __cdecl rho::db::CDBAdapter::Unlock(void)" (?Unlock@CDBAdapter@db@rho@@qaaxxz)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: void __cdecl rho::db::CRubyMutex::close(void)" (?close@CRubyMutex@db@rho@@qaaxxz) referenced in function "public: void __cdecl rho::db::CDBAdapter::close(bool)" (?close@CDBAdapter@db@rho@@qaax_N@Z)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: __cdecl rho::db::CRubyMutex::~CRubyMutex(void)" (??1CRubyMutex@db@rho@@qaa@XZ) referenced in function __unwind$225461
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: __cdecl rho::db::CRubyMutex::CRubyMutex(bool)" (??0CRubyMutex@db@rho@@qaa@_N@Z) referenced in function "public: __cdecl rho::db::CDBAdapter::CDBAdapter(char const *,bool)" (??0CDBAdapter@db@rho@@qaa@PBD_N@Z)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: void __cdecl rho::db::CRubyMutex::create(void)" (?create@CRubyMutex@db@rho@@qaaxxz) referenced in function "public: void __cdecl rho::db::CDBAdapter::open(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,bool,bool)" (?open@CDBAdapter@db@rho@@qaaxv?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@0_N1@Z)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: __cdecl rho::db::DBLock::~DBLock(void)" (??1DBLock@db@rho@@qaa@XZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl rho::db::CDBAdapter::exportDatabase(void)" (?exportDatabase@CDBAdapter@db@rho@@qaa?AV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@xz)
13>syncengine.lib(DBAdapter.obj) : error LNK2019: unresolved external symbol "public: __cdecl rho::db::DBLock::DBLock(class rho::db::CDBAdapter &)" (??0DBLock@db@rho@@qaa@AAVCDBAdapter@12@@z) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl rho::db::CDBAdapter::exportDatabase(void)" (?exportDatabase@CDBAdapter@db@rho@@qaa?AV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@xz)
13>rubylib.lib(rhoruby.obj) : error LNK2019: unresolved external symbol Init_date_core referenced in function RhoRubyStart
13>rubylib.lib(rhoruby.obj) : error LNK2019: unresolved external symbol Init_nonblock referenced in function RhoRubyStart
13>rubylib.lib(rhoruby.obj) : error LNK2019: unresolved external symbol Init_wait referenced in function RhoRubyStart
13>..\bin\MC3000c50b (ARMV4I)\rhodes\Release/rhodes.exe : fatal error LNK1120: 12 unresolved externals
13>Build log was saved at "file://c:\RhoMobileSuite6.1\ruby\lib\ruby\gems\2.3.0\gems\rhodes-6.1\platform\wm\bin\MC3000c50b (ARMV4I)\rhodes\Release\BuildLog.htm"
13>rhodes - 13 error(s), 4 warning(s)
Build complete: 6 Projects succeeded, 1 Projects failed, 0 Projects skipped
[INFO] Error building
Could anyone please guide me to resolve this error? thank you.