Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qvfb build problem... from a newbie

Qvfb build problem... from a newbie

Scheduled Pinned Locked Moved Installation and Deployment
11 Posts 2 Posters 7.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.
  • I Offline
    I Offline
    iw2lsi
    wrote on last edited by
    #2

    Hi

    in order to build qvfb, just configure, compile and install qt for X11 as usually

    then update your PATH variable, cd to tools/qvfb under the same qt sources and run

    qmake;
    make;

    thanks all...

          Giampaolo
    
    1 Reply Last reply
    0
    • R Offline
      R Offline
      richard.davies
      wrote on last edited by
      #3

      Hi Giampaolo,

      Yeah, that's exactly what I did but get the build problem with libpng? I've tried on three machines with the same results...
      Not sure what I'm missing?

      Thanks

      Richard

      1 Reply Last reply
      0
      • I Offline
        I Offline
        iw2lsi
        wrote on last edited by
        #4

        Hello Richard...

        can you report the error ?
        maybe you are just missing the development version of the package

                Giampaolo
        
        1 Reply Last reply
        0
        • R Offline
          R Offline
          richard.davies
          wrote on last edited by
          #5

          Hi Giampaolo,

          Sorry for the stupid question.. but how do I report this problem :-)

          • Richard
          1 Reply Last reply
          0
          • I Offline
            I Offline
            iw2lsi
            wrote on last edited by
            #6

            Hi Richard

            why not just copy-and-paste the build error here ?

            am I missing something ?

              Giampaolo
            
            1 Reply Last reply
            0
            • R Offline
              R Offline
              richard.davies
              wrote on last edited by
              #7

              Giampaolo,

              I see... yes the build error was in the first posting... I'll cut and paste again....

              g++ -c -m64 -pipe -O2 -I/usr/include/freetype2 -Wall -W -D_REENTRANT -DQT_NO_QWS_SIGNALHANDLER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include/QtGui -I../../include -I../../src/gui/embedded -I../shared/deviceskin -I../../src/3rdparty/libpng -I/usr/X11R6/include -I.uic/release-shared -I.moc/release-shared -o .obj/release-shared/qanimationwriter.o qanimationwriter.cpp
              qanimationwriter.cpp:73:5: error: ‘png_structp’ does not name a type
              qanimationwriter.cpp:74:5: error: ‘png_infop’ does not name a type
              qanimationwriter.cpp:106:24: error: ‘png_structp’ has not been declared
              qanimationwriter.cpp:106:45: error: ‘png_bytep’ has not been declared
              qanimationwriter.cpp:106:61: error: ‘png_size_t’ has not been declared
              qanimationwriter.cpp: In member function ‘void QAnimationWriterMNG::begin_png()’:
              qanimationwriter.cpp:95:9: error: ‘png_ptr’ was not declared in this scope
              qanimationwriter.cpp:95:43: error: ‘PNG_LIBPNG_VER_STRING’ was not declared in this scope

              Cheers

              Richard

              1 Reply Last reply
              0
              • I Offline
                I Offline
                iw2lsi
                wrote on last edited by
                #8

                Oh! sorry!

                as I remember I had succesfully compiled the qvfb in the past years, I'm going to try again...

                actually with qt-4.8.0 and qt-4.8.1 I have another error:

                x11keyfaker.cpp:48: fatal error: X11/extensions/XTest.h: File o directory non esistente
                

                I'll try again asap on another (older) machine

                        Giampaolo
                
                1 Reply Last reply
                0
                • I Offline
                  I Offline
                  iw2lsi
                  wrote on last edited by
                  #9

                  Hello Richard

                  after resolving the libxtst dependency (apt-get install libxtst-dev), I succesfully compiled qvfb on qt 4.7.4

                  on the same machine, with 4.8.0 and 4.8.1 I have another problem:

                  .obj/release-shared/qlock.o: In function QLock::isValid() const': qlock.cpp:(.text+0x0): multiple definition of QLock::isValid() const'
                  ...

                  my libpng is libpng12-dev (1.2.44-1ubuntu0.3), distro is KUbuntu 10.10

                  Best Regards

                           Giampaolo
                  
                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    richard.davies
                    wrote on last edited by
                    #10

                    Hi Giampaolo,

                    Can you send me the ./configure parameters you use to build 4.8.0 QVFB?

                    Yeah I also saw this, it's because qlock. references in the make file are include twice???? This seems very strange? Is 4.8.x an officially tested release..

                    • Richard
                    1 Reply Last reply
                    0
                    • I Offline
                      I Offline
                      iw2lsi
                      wrote on last edited by
                      #11

                      Hello Richard

                      yes... it's strange...

                      on X11 normally I pass no switch to configure... I just gave a

                      ./configure; make; make install

                      I wonder also why qvfb is not built automatically with other tools...

                            Giampaolo
                      
                      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