Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. problem configurating qt for vs2008
Forum Updated to NodeBB v4.3 + New Features

problem configurating qt for vs2008

Scheduled Pinned Locked Moved Unsolved General and Desktop
43 Posts 3 Posters 18.4k Views 3 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.
  • HamedH Offline
    HamedH Offline
    Hamed
    wrote on last edited by
    #31

    Thanks to @SGaist and @mrjj problem solved.
    I post some information in case someone faced this problem later :
    1- Qt docs says run this command :

    configure -platform -xplatform [wince_custom_build_specification_directory_name]
    

    This will not work, instead run :

    configure -xplatform [wince_custom_build_specification_directory_name]
    

    2- This specification directories are in Qt\Qt[Version]\qtbase\mkspecs
    3- Find your destination platform directory there or simply create one.
    4- open qmak.conf file in that directory and set CE_SDK to your SDK name (mine was STANDARDSDK_500) and set CE_ARCH to your destination device architecture for example ARMV4I

    Hope this helps.

    After all these steps my configuration works fine but when I run nmake I get following errors :

    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\altcecrt.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) : error C2039: 'memcpy_s' : is not a member of '`global namespace''
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(584) : error C3861: 'memcpy_s': identifier not found
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(608) : error C2039: 'memmove_s' : is not a member of '`global namespace''
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(608) : error 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.
    

    Should I start new thread for this problem or not?

    HamedBabaeyan@yahoo.com
    for more interesting stuff

    1 Reply Last reply
    1
    • HamedH Offline
      HamedH Offline
      Hamed
      wrote on last edited by
      #32

      Any idea about this issue?
      I think this problem is not related to Qt, but if anyone could help me solve these errors would be great.

      HamedBabaeyan@yahoo.com
      for more interesting stuff

      mrjjM 1 Reply Last reply
      0
      • HamedH Hamed

        Any idea about this issue?
        I think this problem is not related to Qt, but if anyone could help me solve these errors would be great.

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #33

        @Hamed
        It seems related to wince/mobile and i can find many mention those errors
        but saw no solution.
        https://forum.qt.io/topic/62184/cross-compile-qt-5-5-on-wince-6-0-6-5-windows-embedded-handheld-6-5-classic/2

        HamedH 1 Reply Last reply
        1
        • mrjjM mrjj

          @Hamed
          It seems related to wince/mobile and i can find many mention those errors
          but saw no solution.
          https://forum.qt.io/topic/62184/cross-compile-qt-5-5-on-wince-6-0-6-5-windows-embedded-handheld-6-5-classic/2

          HamedH Offline
          HamedH Offline
          Hamed
          wrote on last edited by
          #34

          @mrjj yeap, this is exactly the problem and as you said no solution...

          HamedBabaeyan@yahoo.com
          for more interesting stuff

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #35

            In that case you should bring the problem to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • HamedH Offline
              HamedH Offline
              Hamed
              wrote on last edited by
              #36

              strange thing happened.
              after run nmake I got some errors I mentioned before, after some hours of failed attempts to make it right, I just ran namke install and I think it's installed successfully (is it possible?)
              Now, I just add this qt version to my qt versions and then I wanted to add compiler for it.
              I'm using Microsoft wince STANDARDSDK500, and it's include compiler for all wince architectures (MIPSII, ARMV4I, ...).
              Now Qt compiler auto detection, detected this sdk's MIPSII and x86 but not ARMV4I, so to test if this custom installation succeed I need to add this compiler, problem is I don't know where is it, and auto detection didn't give me any information about which file I should be looking for.
              So I wounder how can I find this compiler and add it manually?

              Sorry for asking to many question under sametopic, but all this subjects are related and I think for someone else doing this later it's better find all information together.

              HamedBabaeyan@yahoo.com
              for more interesting stuff

              mrjjM 1 Reply Last reply
              0
              • HamedH Hamed

                strange thing happened.
                after run nmake I got some errors I mentioned before, after some hours of failed attempts to make it right, I just ran namke install and I think it's installed successfully (is it possible?)
                Now, I just add this qt version to my qt versions and then I wanted to add compiler for it.
                I'm using Microsoft wince STANDARDSDK500, and it's include compiler for all wince architectures (MIPSII, ARMV4I, ...).
                Now Qt compiler auto detection, detected this sdk's MIPSII and x86 but not ARMV4I, so to test if this custom installation succeed I need to add this compiler, problem is I don't know where is it, and auto detection didn't give me any information about which file I should be looking for.
                So I wounder how can I find this compiler and add it manually?

                Sorry for asking to many question under sametopic, but all this subjects are related and I think for someone else doing this later it's better find all information together.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by mrjj
                #37

                @Hamed
                Yes its very related and ok to have in same thread.
                I assume you did see
                http://doc.qt.io/qtcreator/creator-targets.html
                and the actual problem is finding the binary?

                HamedH 1 Reply Last reply
                1
                • mrjjM mrjj

                  @Hamed
                  Yes its very related and ok to have in same thread.
                  I assume you did see
                  http://doc.qt.io/qtcreator/creator-targets.html
                  and the actual problem is finding the binary?

                  HamedH Offline
                  HamedH Offline
                  Hamed
                  wrote on last edited by
                  #38

                  @mrjj Yes, the problem is finding that binary (or some other extention I don't know)
                  I compiled and run using that compiler in vs2008, so I know I have it but I don't know which file I should add manually to my compilers list.

                  HamedBabaeyan@yahoo.com
                  for more interesting stuff

                  mrjjM 2 Replies Last reply
                  0
                  • HamedH Hamed

                    @mrjj Yes, the problem is finding that binary (or some other extention I don't know)
                    I compiled and run using that compiler in vs2008, so I know I have it but I don't know which file I should add manually to my compilers list.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #39

                    @Hamed
                    If on windows, you can go to ninite.com ( 100% safe)
                    download "everything" search tool.
                    alt text
                    it takes wildcards and is crazy fast.
                    so
                    a*.exe would show all exe starting with a. etc.
                    Then try to search for some names and see what comes up.

                    HamedH 1 Reply Last reply
                    0
                    • HamedH Hamed

                      @mrjj Yes, the problem is finding that binary (or some other extention I don't know)
                      I compiled and run using that compiler in vs2008, so I know I have it but I don't know which file I should add manually to my compilers list.

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #40

                      @Hamed said in problem configurating qt for vs2008:

                      but I don't know which file I should add manually to my compilers list.

                      oh. Try to look in the makespec for wince. Normally its listed in there
                      C:\Qt\5.7\msvc2015\mkspecs
                      Not sure it applies to you but its worth to look in the file.

                      HamedH 1 Reply Last reply
                      1
                      • mrjjM mrjj

                        @Hamed
                        If on windows, you can go to ninite.com ( 100% safe)
                        download "everything" search tool.
                        alt text
                        it takes wildcards and is crazy fast.
                        so
                        a*.exe would show all exe starting with a. etc.
                        Then try to search for some names and see what comes up.

                        HamedH Offline
                        HamedH Offline
                        Hamed
                        wrote on last edited by
                        #41

                        @mrjj I have fastfind for search and I did search for it, I can't find any *.exe for it, and I can't find .exe for MIPSII (which detected by qt) so I think it should be another extension but I have no idea what is it.

                        HamedBabaeyan@yahoo.com
                        for more interesting stuff

                        1 Reply Last reply
                        0
                        • mrjjM mrjj

                          @Hamed said in problem configurating qt for vs2008:

                          but I don't know which file I should add manually to my compilers list.

                          oh. Try to look in the makespec for wince. Normally its listed in there
                          C:\Qt\5.7\msvc2015\mkspecs
                          Not sure it applies to you but its worth to look in the file.

                          HamedH Offline
                          HamedH Offline
                          Hamed
                          wrote on last edited by
                          #42

                          @mrjj said in problem configurating qt for vs2008:

                          @Hamed said in problem configurating qt for vs2008:

                          but I don't know which file I should add manually to my compilers list.

                          oh. Try to look in the makespec for wince. Normally its listed in there
                          C:\Qt\5.7\msvc2015\mkspecs
                          Not sure it applies to you but its worth to look in the file.

                          I don't have that directory where you said but I have C:\Qt\Qt5.7.0\5.7\msvc2015_64\mkspecs\ and there is a folder for ARMV4I but it's just have .h and .conf file which I used for configuring Qt5.6. It's not there.

                          HamedBabaeyan@yahoo.com
                          for more interesting stuff

                          mrjjM 1 Reply Last reply
                          0
                          • HamedH Hamed

                            @mrjj said in problem configurating qt for vs2008:

                            @Hamed said in problem configurating qt for vs2008:

                            but I don't know which file I should add manually to my compilers list.

                            oh. Try to look in the makespec for wince. Normally its listed in there
                            C:\Qt\5.7\msvc2015\mkspecs
                            Not sure it applies to you but its worth to look in the file.

                            I don't have that directory where you said but I have C:\Qt\Qt5.7.0\5.7\msvc2015_64\mkspecs\ and there is a folder for ARMV4I but it's just have .h and .conf file which I used for configuring Qt5.6. It's not there.

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by
                            #43

                            @Hamed
                            Ok, i have never tried compiling for wince. So really no idea.
                            In everything, you can sort by change date.
                            If fast search can sort, can u search for * and sort ?
                            See what is in the top.

                            Alternatively ask the devs as @SGaist suggested.

                            1 Reply Last reply
                            1

                            • Login

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