Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Getting errors when trying to compile qt-labs-qt3d in windows with visual studio 2008
Forum Updated to NodeBB v4.3 + New Features

Getting errors when trying to compile qt-labs-qt3d in windows with visual studio 2008

Scheduled Pinned Locked Moved Game Development
8 Posts 2 Posters 4.7k 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
    umen242
    wrote on last edited by
    #1

    Hi
    i followed the instructions from the sites :
    "http://doc.qt.nokia.com/qt3d-snapshot/qt3d-building.html":http://doc.qt.nokia.com/qt3d-snapshot/qt3d-building.html
    and
    "http://www.johanpaul.com/blog/2011/03/compiling-qt3d-for-windows/":http://www.johanpaul.com/blog/2011/03/compiling-qt3d-for-windows/

    but when compiling the qt3d im getting this error:
    @.\qdeclarativeeffect.cpp(263) : error C2039: 'Options' : is not a member of 'QDeclarativePixmap'
    d:\cpp\qt\qt-everywhere-opensource-src-4.7.3\qt-everywhere-opensource-src-4.7.3\include\qtdeclarative\private../../../src/declarative/util/qdeclarativepixmapcache_p.h(59) : see declaration of 'QDeclarativePixmap'
    .\qdeclarativeeffect.cpp(263) : error C2065: 'Options' : undeclared identifier
    .\qdeclarativeeffect.cpp(263) : error C2146: syntax error : missing ';' before identifier 'options'
    .\qdeclarativeeffect.cpp(263) : error C2065: 'options' : undeclared identifier
    .\qdeclarativeeffect.cpp(263) : error C2039: 'Cache' : is not a member of 'QDeclarativePixmap'
    d:\cpp\qt\qt-everywhere-opensource-src-4.7.3\qt-everywhere-opensource-src-4.7.3\include\qtdeclarative\private../../../src/declarative/util/qdeclarativepixmapcache_p.h(59) : see declaration of 'QDeclarativePixmap'
    .\qdeclarativeeffect.cpp(263) : error C2065: 'Cache' : undeclared identifier
    .\qdeclarativeeffect.cpp(265) : error C2065: 'options' : undeclared identifier
    .\qdeclarativeeffect.cpp(265) : error C2039: 'Asynchronous' : is not a member of 'QDeclarativePixmap'
    d:\cpp\qt\qt-everywhere-opensource-src-4.7.3\qt-everywhere-opensource-src-4.7.3\include\qtdeclarative\private../../../src/declarative/util/qdeclarativepixmapcache_p.h(59) : see declaration of 'QDeclarativePixmap'
    .\qdeclarativeeffect.cpp(265) : error C2065: 'Asynchronous' : undeclared identifier
    .\qdeclarativeeffect.cpp(266) : error C2065: 'options' : undeclared identifier
    qdeclarativemesh.cpp
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files\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.

    @

    what im doing wrong here ?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chuck Gao
      wrote on last edited by
      #2

      Yes, i also meet this problem before, but i just comment some code. It seems a optimization code. Maybe available in Qt 4.8.0, i guess.

      Chuck

      1 Reply Last reply
      0
      • U Offline
        U Offline
        umen242
        wrote on last edited by
        #3

        no i found the problem its bug reported
        "http://bugreports.qt.nokia.com/browse/QTBUG-17872?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel":http://bugreports.qt.nokia.com/browse/QTBUG-17872?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel

        basically you have to change in 2 files version checking variable , check the diff there

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Chuck Gao
          wrote on last edited by
          #4

          [quote author="umen242" date="1305807600"]no i found the problem its bug reported
          "http://bugreports.qt.nokia.com/browse/QTBUG-17872?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel":http://bugreports.qt.nokia.com/browse/QTBUG-17872?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel

          basically you have to change in 2 files version checking variable , check the diff there [/quote]

          Thx,i'll try it out.

          Chuck

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Chuck Gao
            wrote on last edited by
            #5

            I have read this bug report, and see the diff file. It's what i have done in my code. Both for 4.7.3, so maybe we can use "QDeclarativePixmap::Options" in next version.

            Chuck

            1 Reply Last reply
            0
            • U Offline
              U Offline
              umen242
              wrote on last edited by
              #6

              maybe who know ... i read somewhere that qt3d will be build-in into 4.8

              1 Reply Last reply
              0
              • C Offline
                C Offline
                Chuck Gao
                wrote on last edited by
                #7

                [quote author="umen242" date="1305809356"]maybe who know ... i read somewhere that qt3d will be build-in into 4.8 [/quote]

                me too

                Chuck

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  Chuck Gao
                  wrote on last edited by
                  #8

                  Try latest one:
                  http://doc.qt.nokia.com/qt-quick3d-snapshot/index.html

                  Chuck

                  1 Reply Last reply
                  0

                  • Login

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