3 Replies Latest reply on Jan 7, 2013 5:22 AM by Mariano Colabraro

    Error deploying on Windows Mobile

      I have some Errors when I try to deploy my app to a device. (ES400)

      The application seems to work fine when I simulate it with RhoSimulator, however does not work either when I run with Windows mobile simulator or into the device.

       

      I followed the instruction for setup Rhodes on Windows but I may miss something.

       

      I have windows 7 x64.

       

      this is my configuration on the rhobuild.yml

       

      cabwiz: "C:/Program Files (x86)/Windows Mobile 6 SDK/Tools/CabWiz"

      vcbuild: "C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/vcpackages/vcbuild.exe"

       

      I double check the path and it is correct.

       

      I also installed:
      Windows Mobile 6.5.3 Professional DTK

      Java is working properly as well.

       

      I download the sample for the inventory manager and that can be deployed without problems on the device. So I have to focus on the project. The error must be there

       

       

      Here is the extract of the logs when I compile:

       

       

      11>Compiling resources...

      11>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

      11>Copyright (C) Microsoft Corporation.  All rights reserved.

      11>Linking...

      11>rhowebkit.lib(RhoWKBrowserEngine.obj) : error LNK2005: rho_wm_impl_SetApplicationLicenseObj already defined in Rhodes.obj

      11>rhowebkit.lib(License.obj) : error LNK2001: unresolved external symbol "class CConfig * g_pConfig" (?g_pConfig@@3PAVCConfig@@A)

      11>rhowebkit.lib(License.obj) : error LNK2019: unresolved external symbol "int __cdecl DeleteIMO(long)" (?DeleteIMO@@YAHJ@Z) referenced in function "public: virtual __cdecl CLicense::~CLicense(void)" (??1CLicense@@UAA@XZ)

      11>rhowebkit.lib(License.obj) : error LNK2019: unresolved external symbol "public: long __cdecl CAppManager::SwitchAppInst(int)" (?SwitchAppInst@CAppManager@@QAAJH@Z) referenced in function "public: static long __cdecl CLicense::DoTimer(struct HWND__ *,unsigned int,unsigned int,long)" (?DoTimer@CLicense@@SAJPAUHWND__@@IIJ@Z)

       

      11>rhowebkit.lib(License.obj) : error LNK2001: unresolved external symbol "struct PBCoreStruct * g_pPBCore" (?g_pPBCore@@3PAUPBCoreStruct@@A)

      11>rhowebkit.lib(License.obj) : error LNK2001: unresolved external symbol "class CAppManager * g_pAppManager" (?g_pAppManager@@3PAVCAppManager@@A)

      11>rhowebkit.lib(License.obj) : error LNK2019: unresolved external symbol "int __cdecl CallIMOMethod(long,wchar_t const *)" (?CallIMOMethod@@YAHJPB_W@Z) referenced in function "private: void __cdecl CLicense::SWState_SplashScreen(void)" (?SWState_SplashScreen@CLicense@@AAAXXZ)

       

      11>rhowebkit.lib(License.obj) : error LNK2019: unresolved external symbol "int __cdecl SetIMOCallBack(long,int (__cdecl*)(struct VarsStruct *,int,long),long)" (?SetIMOCallBack@@YAHJP6AHPAUVarsStruct@@HJ@ZJ@Z) referenced in function "private: void __cdecl CLicense::SWState_Options(void)" (?SWState_Options@CLicense@@AAAXXZ)

       

      11>rhowebkit.lib(License.obj) : error LNK2019: unresolved external symbol "int __cdecl SetIMOProperty(long,wchar_t const *,wchar_t const *)" (?SetIMOProperty@@YAHJPB_W0@Z) referenced in function "private: void __cdecl CLicense::SWState_Options(void)" (?SWState_Options@CLicense@@AAAXXZ)

       

      11>rhowebkit.lib(License.obj) : error LNK2019: unresolved external symbol "int __cdecl Log(enum LogTypeInterface,wchar_t const *,wchar_t const *,unsigned long,wchar_t const *)" (?Log@@YAHW4LogTypeInterface@@PB_W1K1@Z) referenced in function "private: void __cdecl CLicense::SWState_Options(void)" (?SWState_Options@CLicense@@AAAXXZ)

       

      11>rhowebkit.lib(License.obj) : error LNK2019: unresolved external symbol "long __cdecl CreateIMO(struct PBStruct *,wchar_t const *,wchar_t const *)" (?CreateIMO@@YAJPAUPBStruct@@PB_W1@Z) referenced in function "private: void __cdecl CLicense::SWState_Options(void)" (?SWState_Options@CLicense@@AAAXXZ)

       

      11>..\bin\Windows Mobile 6 Professional SDK (ARMV4I)\rhodes\Release/rhodes.exe : fatal error LNK1120: 10 unresolved externals

      11>Build log was saved at "file://c:\MotorolaRhoMobileSuite2.2.1.12\ruby\lib\ruby\gems\1.9.1\gems\rhodes-3.5.1.12\platform\wm\bin\Windows Mobile 6 Professional SDK (ARMV4I)\rhodes\Release\BuildLog.htm"

      11>rhodes - 12 error(s), 0 warning(s)

       

      Build complete: 5 Projects succeeded, 1 Projects failed, 0 Projects skipped

      Error building

      Error in build application

       

       

      I attached the full log.

      If anybody has a clue what may be happening I would appreciate it.

      Many thanks in advance

       

      Mariano

       

      Message was edited by: Mariano Colabraro