2 Replies Latest reply on Jun 13, 2013 1:34 PM by Pietro Francesco Maggi

    Windows Mobile build of RhoElements v2.2 template project seems broken

    Pietro Francesco Maggi

      Hi all,

      I got some problems trying to build a basic RhoElements v2.2 project (what you get from the generators) for Windows Mobile on RhoHub and locally.

       

      I have made a test creating a sample project with the RhoMobile Suite v2.2SP1 and uploading the source code from RhoStudio and the build fails with the attached log. Some problems linking the project on the local machine if I leave the default "non_motorola_device" capabilities in the build.yml:

       

      11>Build started: Project: rhodes, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I) 
      11>Linking...
      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:\rhohub\sdk\rhodes-3.5.1.12\platform\wm\bin\Windows Mobile 6 Professional SDK (ARMV4I)\rhodes\Release\BuildLog.htm"
      11>rhodes - 11 error(s), 0 warning(s)

       

       

      Deleting the "non_motorola_device" capability form the project resolve the issue locally and on RhoHub...

      Why is this capability included in the first place if this is not working when building for Windows Mobile?

      Same project build correctly for Android...

       

      Best regards

      Pietro