2 Replies Latest reply on Jan 23, 2013 9:19 PM by Mark Nongkhlaw

    WM build on Rhohub fails

    Mark Nongkhlaw

      There isn't a Rhohub Discussions section, so I'm hoping that Lars will get to see this.

       

      I just tried to build my store app on RHohub for WM, but it failed. I must mention that I developed it with Rhodes 3.3.2 and (the old) RhoStudio, so it does not have or use Webkit. Below is my build log (https://s3.amazonaws.com/rhohub-prod-builds/7154c41580a944b180de04f726dbd46c.txt)

       

       

      c:/rhohub/sdk/rhodes-3.4.2/bin

      $app_config['extensions'] : ["json", "another-extension"]

      $app_config['capabilities'] : []

      $current_platform : wm

      $sdk [Windows Mobile 6 Professional SDK (ARMV4I)]

      common_bundle_start

      init extensions

      ext - json

      1

      add_extension - c:/rhohub/sdk/rhodes-3.4.2/lib/extensions/json - c:/rhohub/build/rhocrazy/fastest-rhodes/bin/RhoBundle/lib

      extyml c:/rhohub/sdk/rhodes-3.4.2/lib/extensions/json/ext.yml

      ext - another-extension

      1

      exception

      exts c:/rhohub/sdk/rhodes-3.4.2/platform/shared/ruby/ext/rho/extensions.c

      !!!MODIFY c:/rhohub/sdk/rhodes-3.4.2/platform/shared/ruby/ext/rho/extensions.c

      Running default.rb

       

      Running compileRB

       

      new $additional_dlls_paths

       

       

       

       

       

       

       

      The following step may take several minutes or more to complete depending on your processor speed

       

      PWD: c:/rhohub/sdk/rhodes-3.4.2/platform/wm

      CMD: vcbuild /M4 rhodes.sln "Release|Windows Mobile 6 Professional SDK (ARMV4I)"

      RET: Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.21022

      RET: Copyright (C) Microsoft Corporation. All rights reserved.

      RET:

      RET: 3>Build started: Project: sqlite3, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I)

      RET: 5>Build started: Project: syncengine, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I)

      RET: 7>Build started: Project: RhoLib, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I)

      RET: 3>sqlite3 - up-to-date

      RET: 5>syncengine - up-to-date

      RET: 7>RhoLib - up-to-date

      RET: 1>Build started: Project: rubylib, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I)

      RET: 9>Build started: Project: tcmalloc, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I)

      RET: 9>tcmalloc - up-to-date

      RET: 1>Compiling...

      RET: 1>extensions.c

      RET: 1>Creating library...

      RET: 1>Build log was saved at "file://c:\rhohub\sdk\rhodes-3.4.2\platform\wm\bin\Windows Mobile 6 Professional SDK (ARMV4I)\rubylib\Release\BuildLog.htm"

      RET: 1>rubylib - 0 error(s), 0 warning(s)

      RET: 11>Build started: Project: rhodes, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I)

      RET: 11>Linking...

      RET: 11>MainWindow.obj : error LNK2019: unresolved external symbol rho_wmimpl_get_resize_on_sip referenced in function "public: void __cdecl CMainWindow::calculateMainWindowRect(struct tagRECT &)" (?calculateMainWindowRect@CMainWindow@@QAAXAAUtagRECT@@@Z)

      RET: 11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONAUTHENTICATIONREQUEST" (?WM_BROWSER_ONAUTHENTICATIONREQUEST@@3IA)

      RET: 11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONALERTPOPUP" (?WM_BROWSER_ONALERTPOPUP@@3IA)

      RET: 11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONSETSIPSTATE" (?WM_BROWSER_ONSETSIPSTATE@@3IA)

      RET: 11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONNAVIGATIONERROR" (?WM_BROWSER_ONNAVIGATIONERROR@@3IA)

      RET: 11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONNAVIGATIONTIMEOUT" (?WM_BROWSER_ONNAVIGATIONTIMEOUT@@3IA)

      RET: 11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONBEFORENAVIGATE" (?WM_BROWSER_ONBEFORENAVIGATE@@3IA)

      RET: 11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONTITLECHANGE" (?WM_BROWSER_ONTITLECHANGE@@3IA)

      RET: 11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONNAVIGATECOMPLETE" (?WM_BROWSER_ONNAVIGATECOMPLETE@@3IA)

      RET: 11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONDOCUMENTCOMPLETE" (?WM_BROWSER_ONDOCUMENTCOMPLETE@@3IA)

      RET: 11>Rhodes.obj : error LNK2019: unresolved external symbol "struct rho::IBrowserEngine * __cdecl rho_wmimpl_get_webkitBrowserEngine(struct HWND__ *,struct HINSTANCE__ *)" (?rho_wmimpl_get_webkitBrowserEngine@@YAPAUIBrowserEngine@rho@@PAUHWND__@@PAUHINSTANCE__@@@Z) referenced in function "struct rho::IBrowserEngine * __cdecl rho_wmimpl_createBrowserEngine(struct HWND__ *)" (?rho_wmimpl_createBrowserEngine@@YAPAUIBrowserEngine@rho@@PAUHWND__@@@Z)

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

      RET: 11>Build log was saved at "file://c:\rhohub\sdk\rhodes-3.4.2\platform\wm\bin\Windows Mobile 6 Professional SDK (ARMV4I)\rhodes\Release\BuildLog.htm"

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

      RET:

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

      Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.21022

      Copyright (C) Microsoft Corporation. All rights reserved.

       

      3>Build started: Project: sqlite3, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I)

      5>Build started: Project: syncengine, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I)

      7>Build started: Project: RhoLib, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I)

      3>sqlite3 - up-to-date

      5>syncengine - up-to-date

      7>RhoLib - up-to-date

      1>Build started: Project: rubylib, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I)

      9>Build started: Project: tcmalloc, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I)

      9>tcmalloc - up-to-date

      1>Compiling...

      1>extensions.c

      1>Creating library...

      1>Build log was saved at "file://c:\rhohub\sdk\rhodes-3.4.2\platform\wm\bin\Windows Mobile 6 Professional SDK (ARMV4I)\rubylib\Release\BuildLog.htm"

      1>rubylib - 0 error(s), 0 warning(s)

      11>Build started: Project: rhodes, Configuration: Release|Windows Mobile 6 Professional SDK (ARMV4I)

      11>Linking...

      11>MainWindow.obj : error LNK2019: unresolved external symbol rho_wmimpl_get_resize_on_sip referenced in function "public: void __cdecl CMainWindow::calculateMainWindowRect(struct tagRECT &)" (?calculateMainWindowRect@CMainWindow@@QAAXAAUtagRECT@@@Z)

      11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONAUTHENTICATIONREQUEST" (?WM_BROWSER_ONAUTHENTICATIONREQUEST@@3IA)

      11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONALERTPOPUP" (?WM_BROWSER_ONALERTPOPUP@@3IA)

      11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONSETSIPSTATE" (?WM_BROWSER_ONSETSIPSTATE@@3IA)

      11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONNAVIGATIONERROR" (?WM_BROWSER_ONNAVIGATIONERROR@@3IA)

      11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONNAVIGATIONTIMEOUT" (?WM_BROWSER_ONNAVIGATIONTIMEOUT@@3IA)

      11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONBEFORENAVIGATE" (?WM_BROWSER_ONBEFORENAVIGATE@@3IA)

      11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONTITLECHANGE" (?WM_BROWSER_ONTITLECHANGE@@3IA)

      11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONNAVIGATECOMPLETE" (?WM_BROWSER_ONNAVIGATECOMPLETE@@3IA)

      11>MainWindow.obj : error LNK2001: unresolved external symbol "unsigned int WM_BROWSER_ONDOCUMENTCOMPLETE" (?WM_BROWSER_ONDOCUMENTCOMPLETE@@3IA)

      11>Rhodes.obj : error LNK2019: unresolved external symbol "struct rho::IBrowserEngine * __cdecl rho_wmimpl_get_webkitBrowserEngine(struct HWND__ *,struct HINSTANCE__ *)" (?rho_wmimpl_get_webkitBrowserEngine@@YAPAUIBrowserEngine@rho@@PAUHWND__@@PAUHINSTANCE__@@@Z) referenced in function "struct rho::IBrowserEngine * __cdecl rho_wmimpl_createBrowserEngine(struct HWND__ *)" (?rho_wmimpl_createBrowserEngine@@YAPAUIBrowserEngine@rho@@PAUHWND__@@@Z)

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

      11>Build log was saved at "file://c:\rhohub\sdk\rhodes-3.4.2\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

      ********* NOTE: You use sdk parameter in build.yml !****************

      To use latest Rhodes gem, run migrate-rhodes-app in application folder or comment sdk in build.yml.

      ************************************************************************

       

      The app built successfully for BlackBerry - 4.6 and Win32

      One question I need to ask is whether we cannot build for WM anymore on Rhohub for apps using previous versions of Rhodes?

      Another question is : latest Rhodes version is 3.5.1, but on Rhohub, Rhodes Git Revision is still 3.4.2 and is not editable. So, what are the implications?

        • Re: WM build on Rhohub fails
          Mark Nongkhlaw

          I tried another build and now it has worked. On installing & running the build on a non-webkit WM device, I'm greeted with a RhoElements info screen which says that this is unlicensed software for demonstration use only and provides options for registration via web and manually. Can anybody tell me what that means? In the meantime, I have clicked on Cancel. Of course the app runs, but not sure for how long.

            • Re: WM build on Rhohub fails
              Mark Nongkhlaw

              Trying to uninstall the app from device has screwed it up. Mine is a non-Motorola device (HTC HD Mini). The phone switched off while the uninstallation process was going on. Then when I tried to power up the phone, it stayed at the HTC logo screen and the words "quietly brilliant" along with the sound failed to appear. I had to do a factory reset, thereby losing all my data and contact information that was stored in the phone.

               

              This is a huge disappointment. I think RhoElements builds for WM done at Rhohub need to be thoroughly tested on non-webkit and non-Motorola devices.