Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. HELP: Compiler error for compiling for Windows CE 6.0
Forum Updated to NodeBB v4.3 + New Features

HELP: Compiler error for compiling for Windows CE 6.0

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 2.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    UmichEng
    wrote on 28 Aug 2015, 21:18 last edited by UmichEng
    #1

    I'm getting the following errors when trying to build after successfully setting up the configuration. I run my configuration with the following command:

    configure -platform win32-msvc2008 -xplatform wince60professional-armv4i-msvc2008 -developer-build -qt
    -style-fusion -opensource -nomake examples -nomake tests -rtti -qt-crt -opengl es2 -no-accessibility -confirm-license

    When I run this I get:
    Could not find output file 'arch.exe' or 'arch' in C:/Qt/Source/qt-everywhere-opensource-src-5.5.0/qtbase/config.tests/arch : No such file or directory

    The errors I am getting when I run nmake are:

        "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f
    

    Makefile.Debug all

    Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
    Copyright (C) Microsoft Corporation. All rights reserved.

        cl -c -Yc -Fp.pch\debug\Qt5Cored_pch.pch -Fo.pch\debug\Qt5Cored_pch.obj
    

    -nologo -Zm200 -Zc:wchar_t- -DDEBUG -D_DEBUG -Zi -MDd -EHsc -W3 -w34100 -w34189
    /Fd....\lib\Qt5Cored.pdb -DUNDER_CE -DWINCE -D_WINDOWS -D_UNICODE -DUNICODE -D_
    WIN32 -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DSTANDARDSHELL_UI_MODEL -D_WIN32_WCE=
    0x600 -DARMV4I -D_ARMV4I_ -Darmv4i -D_ARM_ -DARM -D_M_ARM -DARM -D_WIN32 -D__arm
    __ -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO
    WARNINGS -D_USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE
    QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800
    -DNO_ERRNO_H -DPCRE_STATIC -DQT_NO_ICONV -DQT_CORE_LIB -DQT_NO_DYNAMIC_CAST -I.
    -I..\3rdparty\zlib -I....\include -I....\include\QtCore -I....\include\QtCore
    \5.5.0 -I....\include\QtCore\5.5.0\QtCore -Itmp -Iglobal -I..\3rdparty\pcre -I.
    .\3rdparty\harfbuzz\src -I..\3rdparty\md5 -I..\3rdparty\md4 -I..\3rdparty\sha3 -
    I.moc\debug -I....\mkspecs\wince60professional-armv4i-msvc2008 -TP global\qt_pc
    h.h
    qt_pch.h
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\altcecrt.h(363)
    : error C2733: second C linkage of overloaded function 'wcsftime' not allowed
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\altcecr
    t.h(363) : see declaration of 'wcsftime'
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\altcecrt.h(391)
    : error C3861: 'memcpy_s': identifier not found
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\altcecrt.h(396)
    : error C3861: 'memmove_s': identifier not found
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(584) : e
    rror C2039: 'memcpy_s' : is not a member of 'global namespace'' C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(584) : e rror C3861: 'memcpy_s': identifier not found C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(608) : e rror C2039: 'memmove_s' : is not a member of 'global namespace''
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(608) : e
    rror C3861: 'memmove_s': identifier not found
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0
    VC\ce\bin\x86_arm\cl.EXE"' : return code '0x2' Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0
    VC\BIN\nmake.exe"' : return code '0x2' Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop.

    Here is my qconfig file:

    include(../common/wince/qmake.conf)

    CE_SDK = Windows Mobile 6 Professional SDK
    CE_ARCH = ARMV4I

    #DEFINES += STANDARDSHELL_UI_MODEL _WIN32_WCE=0x600 $$CE_ARCH ARMV4I armv4i ARM ARM _M_ARM ARM _WIN32 arm
    DEFINES += QT_NO_CLIPBOARD QT_NO_ACCESSIBILITY QT_NO_NATIVE_GESTURES QT_NOSTANDARDSHELL_UI_MODEL _CRT_SECURE_NO_DEPRECATE _WIN32_WCE=0x600 $CE_ARCH ARMV4I armv4i ARM ARM _M_ARM ARM _WIN32 arm

    QMAKE_LFLAGS_CONSOLE = /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:THUMB
    QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:THUMB
    QMAKE_LFLAGS_DLL = /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:THUMB /DLL /SAFESEH:NO
    QMAKE_LIBFLAGS_RELEASE = /LTCG
    QMAKE_LIBS = corelibc.lib coredll.lib
    QMAKE_LIBS_CORE = libcmt.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
    QMAKE_LIBS_GUI = ceshell.lib ole32.lib $$QMAKE_LIBS_CORE
    QMAKE_LIBS_NETWORK = ws2.lib $$QMAKE_LIBS_GUI
    QMAKE_LIBS_OPENGL =
    QMAKE_LIBS_COMPAT =
    QMAKE_LIBS_OPENVG = libopenvg.lib
    QMAKE_LIBS_OPENGL_ES2 = libEGL.lib libGLESv2.lib

    QMAKE_RC = rc

    QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
    QMAKE_COMPILER_DEFINES += _MSC_VER=1500

    #QMAKE_RC = rc /DUNDER_CE=600 /D_WIN32_WCE=0x600

    Any Ideas?

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Fogord
      wrote on 30 Aug 2015, 11:47 last edited by
      #2

      Hi UmichEng
      Cleared configuration.
      Configuration project.
      Then go to C:/Qt/Source/qt-everywhere-opensource-src-5.5.0/qtbase/config.tests/arch and run nmake to create the obj file and then rerun nmake for all project.

      U 1 Reply Last reply 31 Aug 2015, 13:43
      0
      • F Fogord
        30 Aug 2015, 11:47

        Hi UmichEng
        Cleared configuration.
        Configuration project.
        Then go to C:/Qt/Source/qt-everywhere-opensource-src-5.5.0/qtbase/config.tests/arch and run nmake to create the obj file and then rerun nmake for all project.

        U Offline
        U Offline
        UmichEng
        wrote on 31 Aug 2015, 13:43 last edited by
        #3

        @Fogord

        Hi Fogord,

        Thanks for your suggestion. When I do that I get:

        NMAKE : fatal error U1064: MAKEFILE not found and no target specified
        Stop.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          Fogord
          wrote on 1 Sept 2015, 07:00 last edited by
          #4

          @UmichEng

          What is VS version?
          Needed VS 2008 SP1.
          Share your global variable PATH.

          Qt 5.5 for WinCE 6.0 i am build only once, on another PC i have errors like yours

          1 Reply Last reply
          0

          1/4

          28 Aug 2015, 21:18

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved