10 Replies Latest reply on Aug 31, 2014 4:42 AM by Jeffrey Cookle

    Win32 build in RhoMobile 5.0

    Jeffrey Cookle

      Just wondering if others are seeing this when building for windows desktop(win32) in RhoMobile 5.0.   I had Visual Basic 2008 SP1 installed, but installed 2012 trial for now with SP 4, along with QT 5.1.1 for MSVC 2012 after I was unsuccessful getting QT 5.1.1 to build for 2008 to use with that version.  

       

      When I go to build an existing project for win32 after updating the build.yml or create a new project from scratch and build, I am getting this error each time.   

       

      Tasks: TOP => device:win32:production => build:win32

      (See full trace by running task with --trace)

      **** WARNING ******************************************************************

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

         The following extensions do not have JavaScript API:

         zlib

         Use RMS 4.0 extensions to provide JavaScript API

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

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

       

      I tried different versions of QT to see if that would help, but uncertain at this point.   My QTDir path is set properly.    Is there something else I need to do with QT to get this to work properly?

       

      Thank you.

        • Re: Win32 build in RhoMobile 5.0
          Jon Tara

          That's not an error. It's a warning that you can ignore. It's just saying that zlib does't have a Javascript interface.

           

          If it did not build, then you have some real error that you are not showing us.

            • Re: Win32 build in RhoMobile 5.0
              Jeffrey Cookle

              Hi Jon,

               

              I have included more of the error listed below.   I do see this, "Cannot open include file: 'QtGui/QAction': No such file or directory"  Is there an additional download for QT 5.1.1 that would include these files?  I don't see them under the C:\Qt\Qt5.1.1\5.1.1\msvc2012 directory structure.

               

              Thanks!

               

               

               

                      C:\Qt\Qt5.1.1\5.1.1\msvc2012\bin\rcc.exe -name simulator resources\simul

              ator.qrc -o ..\..\..\win32\bin\RhoSimulator\resources\qrc_simulator.cpp

                      cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD /O2 -W3 -w34100 -w34189 /wd4996

              /wd4100 /wd4005 -GR -EHsc -DUNICODE -DWIN32 -DWIN32 -D_WINDOWS -DUNICODE -DQT_L

              ARGEFILE_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_WEBKIT_LIB -D_

              CRT_SECURE_NO_WARNINGS -D_CRT_NON_CONFORMING_SWPRINTFS -D_NDEBUG -DNDEBUG -DQT_N

              O_DEBUG -DRHODES_QT_PLATFORM -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_QUICK_LIB

              -DQT_MULTIMEDIAWIDGETS_LIB -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_QML_LIB -

              DQT_MULTIMEDIA_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_SENSORS_LIB -DQT_NETWOR

              K_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\.

              ." -I"..\..\ruby" -I"..\..\ruby\include" -I"..\..\..\wm\rhodes" -I"..\..\wtl80\i

              nclude" -I"..\..\..\..\..\..\..\..\..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2012\include

              " -I"..\..\..\..\..\..\..\..\..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2012\include\QtWeb

              KitWidgets" -I"..\..\..\..\..\..\..\..\..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2012\inc

              lude\QtQuick" -I"..\..\..\..\..\..\..\..\..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2012\i

              nclude\QtMultimediaWidgets" -I"..\..\..\..\..\..\..\..\..\..\..\..\Qt\Qt5.1.1\5.

              1.1\msvc2012\include\QtOpenGL" -I"..\..\..\..\..\..\..\..\..\..\..\..\Qt\Qt5.1.1

              \5.1.1\msvc2012\include\QtPrintSupport" -I"..\..\..\..\..\..\..\..\..\..\..\..\Q

              t\Qt5.1.1\5.1.1\msvc2012\include\QtQml" -I"..\..\..\..\..\..\..\..\..\..\..\..\Q

              t\Qt5.1.1\5.1.1\msvc2012\include\QtMultimedia" -I"..\..\..\..\..\..\..\..\..\..\

              ..\..\Qt\Qt5.1.1\5.1.1\msvc2012\include\QtWebKit" -I"..\..\..\..\..\..\..\..\..\

              ..\..\..\Qt\Qt5.1.1\5.1.1\msvc2012\include\QtWidgets" -I"..\..\..\..\..\..\..\..

              \..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2012\include\QtSensors" -I"..\..\..\..\..\..\.

              .\..\..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2012\include\QtNetwork" -I"..\..\..\..\..\

              ..\..\..\..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2012\include\QtGui" -I"..\..\..\..\..\

              ..\..\..\..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2012\include\QtANGLE" -I"..\..\..\..\.

              .\..\..\..\..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2012\include\QtCore" -I"..\..\..\win

              32\bin\RhoSimulator\generated_files" -I"..\..\..\win32\bin\RhoSimulator\generate

              d_files" -I"..\..\..\..\..\..\..\..\..\..\..\..\Qt\Qt5.1.1\5.1.1\msvc2012\mkspec

              s\win32-msvc2012" -Fo..\..\..\win32\bin\RhoSimulator\tmp\ @C:\Users\jmcookle\App

              Data\Local\Temp\nm9ADE.tmp

              QtMainWindow.cpp

              ..\..\..\win32\bin\RhoSimulator\generated_files\ui_QtMainWindow.h(15) : fatal er

              ror C1083: Cannot open include file: 'QtGui/QAction': No such file or directory

              DateTimeDialog.cpp

              ..\..\..\win32\bin\RhoSimulator\generated_files\ui_DateTimeDialog.h(14) : fatal

              error C1083: Cannot open include file: 'QtGui/QAction': No such file or director

              y

              Generating Code...

              NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0

              \VC\BIN\cl.EXE"' : return code '0x2'

              Stop.

              NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0

              \VC\BIN\nmake.exe"' : return code '0x2'

              Stop.

              NMAKE : fatal error U1077: 'cd' : return code '0x2'

              Stop.

              rake aborted!

              [rhosimulator_win32_build.bat "DESKTOPAPP_BUILD=1"]

               

               

              Tasks: TOP => device:win32:production => build:win32

              (See full trace by running task with --trace)

              **** WARNING ******************************************************************

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

                 The following extensions do not have JavaScript API:

                 zlib

                 Use RMS 4.0 extensions to provide JavaScript API

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

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