Rhomobile应用程序构建错误-出现链接错误LNK2019 syncengine.lib(DBAdapter.obj)

时间:2018-09-19 14:48:35

标签: visual-studio-2008 rhomobile rhodes

我正在尝试通过创建RhoMobile项目来使用RhoStudio开发SB1设备(Windows CE)项目。我按照以下link的建议为WM / CE安装了所有推荐的软件。我可以使用模拟器测试应用程序,但是当我要构建项目以制作.CAB文件时,会出现以下错误

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
RET: 1

任何人都可以帮助我解决此问题吗?我没有找到解决此问题的任何资源。谢谢

0 个答案:

没有答案