Results 1 to 10 of 10

Thread: install wwWidgets failed

  1. #1
    Join Date
    Dec 2009
    Posts
    26
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default

    hi all,
    I have downloaded the last wwWidgest wwWidgets-0.9.6.tar.gz and tried to follow the installation guide from wwWidgets website but with no success.
    Could you please write the specific instructions which I need to do from terminal.
    qmake and make commands and maybe more.

    Thanks a lot
    Simbad

    The make command is failed with
    /usr/bin/ld: cannot find -lwwwidgets4
    collect2: ld returned 1 exit status
    make[1]: *** [libwwwidgetsplugin.so] Error 1
    make[1]: Leaving directory `/home/simabd/installations/wwWidgets/plugin'
    make: *** [sub-plugin-make_default-ordered] Error 2
    Last edited by wysota; 3rd December 2009 at 09:48.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: install wwWidgets failed

    cd into the widgets subdirectory, run make install, then cd back to the main directory and run make again.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Dec 2009
    Posts
    26
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: install wwWidgets failed

    hi,
    I received the same error...

    root@simabd-desktop:/home/simbad/installations/wwWidgets# cd widgets
    root@simabd-desktop:/home/simbad/installations/wwWidgets/widgets# make install
    make -f Makefile.Debug install
    make[1]: Entering directory `/home/simbad/installations/wwWidgets/widgets'
    install -m 755 -p "libwwwidgets4d.so.0.9.6" "/opt/qtsdk-2009.04/qt/lib/libwwwidgets4d.so.0.9.6"
    ln -sf "libwwwidgets4d.so.0.9.6" "/opt/qtsdk-2009.04/qt/lib/libwwwidgets4d.so"
    ln -sf "libwwwidgets4d.so.0.9.6" "/opt/qtsdk-2009.04/qt/lib/libwwwidgets4d.so.0"
    ln -sf "libwwwidgets4d.so.0.9.6" "/opt/qtsdk-2009.04/qt/lib/libwwwidgets4d.so.0.9"
    make[1]: Leaving directory `/home/simbad/installations/wwWidgets/widgets'
    root@ysimbad-desktop:/home/simbad/installations/wwWidgets/widgets# cd ..
    root@simbad-desktop:/home/simbad/installations/wwWidgets# make
    cd widgets/ && make -f Makefile
    make[1]: Entering directory `/home/simbad/installations/wwWidgets/widgets'
    make -f Makefile.Debug
    make[2]: Entering directory `/home/simbad/installations/wwWidgets/widgets'
    make[2]: Nothing to be done for `first'.
    make[2]: Leaving directory `/home/simbad/installations/wwWidgets/widgets'
    make[1]: Leaving directory `/home/simbad/installations/wwWidgets/widgets'
    cd plugin/ && make -f Makefile
    make[1]: Entering directory `/home/simbad/installations/wwWidgets/plugin'
    rm -f libwwwidgetsplugin.so
    g++ -Wl,-O1 -Wl,-rpath,/opt/qtsdk-2009.04/qt/lib -shared -o libwwwidgetsplugin.so .obj/wwwidgets.o .obj/wwinterfaces.o .obj/colorlisteditor.o .obj/qwwcolorbuttoniface.o .obj/qwwcolorcomboboxiface.o .obj/qwwconfigwidgetiface.o .obj/qwwhuesatpickeriface.o .obj/qwwhuesatradialpickeriface.o .obj/qwwlistwidgetiface.o .obj/qwwlongspinboxiface.o .obj/qwwnavigationbariface.o .obj/qwwnumpadiface.o .obj/qwwrichtextbuttoniface.o .obj/qwwtaskpaneliface.o .obj/qwwtextspinboxiface.o .obj/qwwtipwidgetiface.o .obj/qwwtwocolorindicatoriface.o .obj/qwwfilechooseriface.o .obj/qwwloginboxiface.o .obj/qwwbuttonlineeditiface.o .obj/qwwclearlineeditiface.o .obj/qwwresetlineeditiface.o .obj/qwwrichtexteditiface.o .obj/qwwlistnavigatoriface.o .obj/qwwlediface.o .obj/moc_wwwidgets.o .obj/moc_colorlisteditor.o .obj/moc_qwwcolorbuttoniface.o .obj/moc_qwwcolorcomboboxiface.o .obj/moc_qwwconfigwidgetiface.o .obj/moc_qwwhuesatpickeriface.o .obj/moc_qwwhuesatradialpickeriface.o .obj/moc_qwwlistwidgetiface.o .obj/moc_qwwlongspinboxiface.o .obj/moc_qwwnavigationbariface.o .obj/moc_qwwnumpadiface.o .obj/moc_qwwrichtextbuttoniface.o .obj/moc_qwwtaskpaneliface.o .obj/moc_qwwtextspinboxiface.o .obj/moc_qwwtipwidgetiface.o .obj/moc_qwwtwocolorindicatoriface.o .obj/moc_qwwfilechooseriface.o .obj/moc_qwwloginboxiface.o .obj/moc_qwwbuttonlineeditiface.o .obj/moc_qwwclearlineeditiface.o .obj/moc_qwwresetlineeditiface.o .obj/moc_qwwrichtexteditiface.o .obj/moc_qwwlistnavigatoriface.o .obj/moc_qwwlediface.o -L/opt/qtsdk-2009.04/qt/lib -L../widgets -lwwwidgets4 -lQtScript -L/opt/qtsdk-2009.04/qt/lib -pthread -pthread -lQtXml -pthread -pthread -lQtGui -L/usr/X11R6/lib -pthread -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lfontconfig -lXext -lX11 -lQtCore -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lQtDesigner -lpthread
    /usr/bin/ld: cannot find -lwwwidgets4
    collect2: ld returned 1 exit status
    make[1]: *** [libwwwidgetsplugin.so] Error 1
    make[1]: Leaving directory `/home/simbad/installations/wwWidgets/plugin'
    make: *** [sub-plugin-make_default-ordered] Error 2
    root@simbad-desktop:/home/simbad/installations/wwWidgets#

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: install wwWidgets failed

    Looks like you didn't build the library in release mode which is required to have a Designer plugin. Actually it seems you messed up something completely. You're building on Unix but it seems you are getting filenames for Windows. You should never get "libwwwidgets4d.so.0.9.6" on Unix, only "libwwwidgets4.so.0.9.6" and family (without the numbers at the end).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Dec 2009
    Posts
    26
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: install wwWidgets failed

    hi,
    I have download the file from http://www.wysota.eu.org/wwwidgets/#download
    How you take version for Linux? or Windows it is only one file. Maybe you know it?
    As for the compilation I run qmake and make as simple command as write on wwwidget website.
    Could you please write me the commands which should be on terminal.

    Thanks

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: install wwWidgets failed

    Quote Originally Posted by SimbadSubZero View Post
    How you take version for Linux? or Windows it is only one file. Maybe you know it?
    I have no idea what you mean.

    As for the compilation I run qmake and make as simple command as write on wwwidget website.
    Well, I did the same and I got a proper result.

    bash Code:
    1. $ ls widgets/*.so* -1
    2. widgets/libwwwidgets4.so@
    3. widgets/libwwwidgets4.so.0@
    4. widgets/libwwwidgets4.so.0.9@
    5. widgets/libwwwidgets4.so.0.9.6*
    To copy to clipboard, switch view to plain text mode 
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Dec 2009
    Posts
    26
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: install wwWidgets failed

    I compile it from QT creator on release mode and it compile OK.
    I don't know why debug didn't compile.

    Thanks

  8. #8
    Join Date
    Dec 2009
    Posts
    26
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: install wwWidgets failed

    After release compilation and copy lib to designer lib I recieved the error from QT designer
    Plugin verification data mismatch in <path>designer libwwwidgets4.so.0.9.6

    Could know what is the problem?

  9. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: install wwWidgets failed

    This is not a Qt Designer plugin. This is the library containing widgets the plugin depends on. Please follow the instructions properly - run make install on the main directory and everything will be installed for you.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  10. #10
    Join Date
    Dec 2009
    Posts
    26
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: install wwWidgets failed

    I have been fixed , I have some compilation problem path. Now it is OK
    Thanks amigo

Similar Threads

  1. A Guide to Install MinGW, Qt4 and Eclipse Integration on Windows XP
    By shiyutang in forum Installation and Deployment
    Replies: 10
    Last Post: 5th August 2009, 05:03
  2. Replies: 0
    Last Post: 14th May 2009, 12:31
  3. qwt 5.2 install on qt 4.5
    By HyperB in forum Qwt
    Replies: 4
    Last Post: 13th May 2009, 21:03
  4. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 14:15
  5. Cannot Install KDEdevel packages on linux
    By wirajr in forum KDE Forum
    Replies: 12
    Last Post: 5th February 2006, 22:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.