Results 1 to 5 of 5

Thread: mingw32-make install fails with qwt.

  1. #1
    Join Date
    Feb 2012
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question mingw32-make install fails with qwt.

    hi
    im still trying to use qwt.
    im trying to follow "the UWE way".
    but the step : "mingw32-make install" fails allways.
    i use win7 64 bits, but i expect this shouldnt affect the compilation
    of 32bit programs.
    i have comentet out the silent mode and also make only release,
    "config+=release"
    still it fails.
    i get this error:
    g++ -Wl,-s -shared -mthreads -Wl,--out-implib,c:\qwt4\qwt-6.0.1\src\..\lib\libqw
    t.a -o ..\lib\qwt.dll object_script.qwt.Release -L"c:\Qt\4.8.0\lib" -lQtSvg4 -l
    QtGui4 -lQtCore4
    Creating library file: c:\qwt4\qwt-6.0.1\src\..\lib\libqwt.a
    The filename, directory name, or volume label syntax is incorrect.
    mingw32-make[2]: *** [install_target] Error 1
    mingw32-make[2]: Leaving directory `C:/qwt4/qwt-6.0.1/src'
    mingw32-make[1]: *** [release-install] Error 2
    mingw32-make[1]: Leaving directory `C:/qwt4/qwt-6.0.1/src'
    mingw32-make: *** [sub-src-install_subtargets-ordered] Error 2

    how can i know wich filename/directory/volume is incorrect?

  2. #2
    Join Date
    Feb 2012
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: mingw32-make install fails with qwt.

    finally i succeded
    i changed following line i qwtconfig.pri
    win32 { QWT_INSTALL_PREFIX = c:/Qwt-6.0.1 }

    to:

    win32 { QWT_INSTALL_PREFIX =/Qwt-6.0.1 }

    but when this is changed qwt installs into qt folder on c drive

    hopefully someone can use this info,
    i have spent a long time searching for solutions,
    trying uninstalling qtsdk, mingw etc.

  3. #3
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    39
    Thanks
    15
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: mingw32-make install fails with qwt.

    Hi Soren,

    I posted in your old thread about this (copied below) so I dont know if it is relavent anymore...but here it is

    Hi Soren,

    I cant comment on the install failure to much, but if you are trying to incorporate Qwt into the Qt SDK I think it is causing your problems. The SDK is compiled with visual studio and as such I think you are probably going down the path that I originally did which does not like to mix build types (I am a complete noob in this area). I had to compile the Qt creator and libraries with mingw and then also did the same with the Qwt e.g. everything is built with the same compiler. I dont know about the 64 bit problem but I don't think its that. Here is my link below for how I got it all to work. I hope it helps since it can be really frustrating, but awesome when its all go.

    http://www.qtcentre.org/threads/4715...32-bit-machine

    cheers
    Oz

  4. The following user says thank you to OzQTNoob for this useful post:

    Soren (12th March 2012)

  5. #4
    Join Date
    Feb 2012
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: mingw32-make install fails with qwt.

    yes i now about the qt creator , but this has been a minor problem.
    i should have given up long time ago , but im stubborn.
    my pain is not over but im getting closer. thanks for your input.

  6. #5
    Join Date
    Feb 2012
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: mingw32-make install fails with qwt.

    finally i have it all running.
    the main issues relate to windows environment variables.
    i tried to find examples but unsuccesfull.
    its important to set path to location of qwt.dll
    allso if you have qtdir=c:\qt
    you have to remove C: like i described earlier.
    the problems i had was also path not set to mingw\bin.

Similar Threads

  1. Replies: 2
    Last Post: 11th March 2012, 03:23
  2. Replies: 6
    Last Post: 10th March 2011, 16:42
  3. Replies: 1
    Last Post: 5th March 2011, 18:23
  4. Replies: 3
    Last Post: 2nd March 2010, 17:52
  5. Cant find make command: mingw32-make.exe
    By Nadia in forum Installation and Deployment
    Replies: 1
    Last Post: 26th August 2009, 09:09

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
  •  
Qt is a trademark of The Qt Company.