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. Qwt 6.0.2 on Mac OS X
Forum Updated to NodeBB v4.3 + New Features

Qwt 6.0.2 on Mac OS X

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 3.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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    I'm trying to compile qwt under mac os x with these steps:

    qmake -spec macx-g++ qwt.pro
    qmake
    but is impossible. I obtain this error:

    @linking ../../lib/qwtmathml.framework/qwtmathml
    ld: library not found for -lqwt
    collect2: ld returned 1 exit status
    make[2]: *** [../../lib/qwtmathml.framework/qwtmathml] Error 1
    make[1]: *** [sub-mathml-make_default] Error 2
    make: *** [sub-textengines-make_default-ordered] Error 2
    Mac-Pro-di-Denis:qwt-6.0.2 denis$ cd
    Mac-Pro-di-Denis:~ denis$ @

    or using qtcreator

    @:-1: error: library not found for -lqwt
    :-1: error: collect2: ld returned 1 exit status@

    Can you help me?

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    1 Reply Last reply
    0
    • M Offline
      M Offline
      marcoseborges
      wrote on last edited by
      #2

      mrdebug already solved this problem?

      If you have already solved, could share?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        @marcoseborges

        The messages above look like a classical lib path problem.
        Check out qwt.pro file for "LIBS" parameter. The parameter description for "LIBS":http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#libs
        The most common problem is that there are two parameter possibilities "-L" and "-l". So basically upper and lower case letters. With "-L" you specify path and with "-l" you specify the lib. Check out if the lib is where it is supposed to be and check its name. Then you should adjust the .pro file accordingly.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • mrdebugM Offline
          mrdebugM Offline
          mrdebug
          wrote on last edited by
          #4

          qwt.pro and qwtconfig.pri of version 6.2 seems to be equals of version 6.1.
          I confirm that I can compile and use the 6.2 version on Windows and Linux but not on Mac OSX. On MacOSX I use 6.1 because is impossible to compile it.

          Need programmers to hire?
          www.labcsp.com
          www.denisgottardello.it
          GMT+1
          Skype: mrdebug

          1 Reply Last reply
          0
          • M Offline
            M Offline
            marcoseborges
            wrote on last edited by
            #5

            mrdebug, how did you compile QWT 6.1 on Mac OS X? I'm trying to compile and gives the same error ...

            I'm using Qt5 and Mountain Lion.

            [quote author="mrdebug" date="1355675946"]I'm trying to compile qwt under mac os x with these steps:

            qmake -spec macx-g++ qwt.pro
            qmake
            but is impossible. I obtain this error:

            @linking ../../lib/qwtmathml.framework/qwtmathml
            ld: library not found for -lqwt
            collect2: ld returned 1 exit status
            make[2]: *** [../../lib/qwtmathml.framework/qwtmathml] Error 1
            make[1]: *** [sub-mathml-make_default] Error 2
            make: *** [sub-textengines-make_default-ordered] Error 2
            Mac-Pro-di-Denis:qwt-6.0.2 denis$ cd
            Mac-Pro-di-Denis:~ denis$ @

            or using qtcreator

            @:-1: error: library not found for -lqwt
            :-1: error: collect2: ld returned 1 exit status@

            Can you help me?[/quote]

            1 Reply Last reply
            0
            • mrdebugM Offline
              mrdebugM Offline
              mrdebug
              wrote on last edited by
              #6

              I don't know. I haven't obtained errors with 6.1. Are you sure you haven't run make install with a old version?

              Need programmers to hire?
              www.labcsp.com
              www.denisgottardello.it
              GMT+1
              Skype: mrdebug

              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