Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator 4.1.0 Qt 5.7.0 Windows 10 MinGW problem
Forum Updated to NodeBB v4.3 + New Features

QtCreator 4.1.0 Qt 5.7.0 Windows 10 MinGW problem

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
44 Posts 6 Posters 23.9k Views 4 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.
  • hskoglundH Offline
    hskoglundH Offline
    hskoglund
    wrote on last edited by
    #9

    Hi, perhaps you've previously built some Qt stuff, say a database plugin? I seem to remember that path C:\Utils is typically used in Jenkins environment setups.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ad5xj
      wrote on last edited by
      #10

      Not the case here.

      I have even tried to comment out the LIBS statements and the error still occurs.

      Ken AD5XJ

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ad5xj
        wrote on last edited by
        #11

        Really???

        None of you Qt Gurus have any idea why the compile and build toolchain injects this extraneous, un-configured stuff?

        Ken AD5XJ

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by VRonin
          #12

          Ok, lets go step by step: first we need to understand if the problem is in the pro file or in the build

          could you try comment out this whole part:

          unix:!mac {
          FFTW3_INCL_PATH = /usr/include
          FFTW3_LIB_PATH  = /usr/lib/i386-linux-gnu
          SYSTEM_DEP_PATH = /usr/lib/i386-linux-gnu
          QWT_INCL_PATH   = /home/ken/Projects/C++/qwt-6.1.3/src
          QWT_LIB_PATH    = /home/ken/Projects/C++/qwt/lib
          }
          
          win32: {
          FFTW3_INCL_PATH = "C:/FFTW3/"
          FFTW3_LIB_PATH  = "C:/FFTW3/"
          QWT_INCL_PATH   = "C:/QWT/qwt-6.1.3/src"
          QWT_LIB_PATH    = "C:/QWT/qwt-6.1.3/lib"
          SYSTEM_DEP_PATH = "C:/Qt/5.7/mingw53_32/bin/"
          }
          

          and everything that refers to them and then add them to the PATH environmental variable? Just call

          set PATH=C:\FFTW3;C:\QWT\qwt-6.1.3\src;C:\QWT\qwt-6.1.3\lib;C:\QWT\qwt-6.1.3\lib;%PATH%
          

          before you call qmake

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          1
          • kshegunovK Offline
            kshegunovK Offline
            kshegunov
            Moderators
            wrote on last edited by kshegunov
            #13

            Clean any cmake files, make sure you regenerate the makefile by running qmake ... and for the love of god enable the warnings and full output! You should fix up your configuration. On one hand you're building an application:

            TEMPLATE = app
            

            but then you require configuration for dlls?

            CONFIG  += dll
            

            Just use the minimum default set of CONFIG values and don't add things that aren't documented, or values whose usage you don't know.
            For example:

            QT += core gui widgets multimedia network
            CONFIG += c++11
            CONFIG -= app_bundle  # OS X only anyway
            

            Read and abide by the Qt Code of Conduct

            1 Reply Last reply
            2
            • A Offline
              A Offline
              ad5xj
              wrote on last edited by
              #14

              Well after considerable digging around I did find a reference to c:\utils in mingw53_32/mkspecs/qmodule.pri

              I have not been able to re-compile yet but this surely does not belong here.

              Ken AD5XJ

              1 Reply Last reply
              0
              • A Offline
                A Offline
                ad5xj
                wrote on last edited by
                #15

                OK, just re-compiled and nothing has changed.

                To your question about the CONFIG += dll it is latent from several attempts to get external libraries like FFTW3 and QWT to link their .dll files properly. That has been resolved and the .pro has been corrected. I also have tried to include only:

                QT += widgets multimedia network
                CONFIG += qt c++11 thread

                makes no difference whatsoever.

                Ken AD5XJ

                kshegunovK 1 Reply Last reply
                1
                • A ad5xj

                  OK, just re-compiled and nothing has changed.

                  To your question about the CONFIG += dll it is latent from several attempts to get external libraries like FFTW3 and QWT to link their .dll files properly. That has been resolved and the .pro has been corrected. I also have tried to include only:

                  QT += widgets multimedia network
                  CONFIG += qt c++11 thread

                  makes no difference whatsoever.

                  kshegunovK Offline
                  kshegunovK Offline
                  kshegunov
                  Moderators
                  wrote on last edited by
                  #16

                  Attach the full qmake and mingw32-make output, please.

                  Read and abide by the Qt Code of Conduct

                  1 Reply Last reply
                  1
                  • A Offline
                    A Offline
                    ad5xj
                    wrote on last edited by
                    #17

                    Very well. Here is the qmake output:

                    11:57:24: Running steps for project ardoptnc...
                    11:57:24: Starting: "C:\Qt\5.7\mingw53_32\bin\qmake.exe" C:\Projects\C++\ardoptnc\ardoptnc.pro -spec win32-g++ "CONFIG+=debug"
                    11:57:26: The process "C:\Qt\5.7\mingw53_32\bin\qmake.exe" exited normally.
                    11:57:26: Starting: "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" qmake_all
                    mingw32-make: Nothing to be done for 'qmake_all'.
                    11:57:27: The process "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited normally.
                    11:57:27: Elapsed time: 00:03.
                    

                    And here is the compile/link output:

                    11:59:26: Running steps for project ardoptnc...
                    11:59:26: Configuration unchanged, skipping qmake step.
                    11:59:26: Starting: "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" 
                    C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
                    mingw32-make[1]: Entering directory 'C:/Projects/C++/ardoptnc'
                    C:\Qt\5.7\mingw53_32\bin\uic.exe ui\tncsetup.ui -o .ui\ui_tncsetup.h
                    C:\Qt\5.7\mingw53_32\bin\uic.exe ui\radiosetup.ui -o .ui\ui_radiosetup.h
                    C:\Qt\5.7\mingw53_32\bin\uic.exe ui\tncpanel.ui -o .ui\ui_tncpanel.h
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\sslparams.o network\sslparams.cpp
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\tcpipserver.o network\tcpipserver.cpp
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\audioio.o sound\audioio.cpp
                    
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\fftcalc.o fft\fftcalc.cpp
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\utils.o utils\utils.cpp
                    
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\vumeterwidget.o widgets\vumeterwidget.cpp
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\waterfallwidget.o widgets\waterfallwidget.cpp
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\tncsetup.o tncsetup.cpp
                    
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\radiosetup.o radiosetup.cpp
                    
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\tncpanel.o tncpanel.cpp
                    
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\main.o main.cpp
                    
                    C:\Qt\5.7\mingw53_32\bin\moc.exe -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -D__GNUC__ -DWIN32 -IC:/Qt/5.7/mingw53_32/mkspecs/win32-g++ -IC:/Projects/C++/ardoptnc -IC:/FFTW3 -IC:/QWT/qwt-6.1.3/src -IC:/Projects/C++/ardoptnc/.ui -IC:/Projects/C++/ardoptnc/inc -IC:/Projects/C++/ardoptnc/inc/fft -IC:/Projects/C++/ardoptnc/inc/network -IC:/Projects/C++/ardoptnc/inc/ui -IC:/Projects/C++/ardoptnc/inc/utils -IC:/Projects/C++/ardoptnc/inc/sound -IC:/Projects/C++/ardoptnc/inc/widgets -IC:/Projects/C++/ardoptnc/inc/protocol -IC:/Qt/5.7/mingw53_32/include -IC:/Qt/5.7/mingw53_32/include/QtWidgets -IC:/Qt/5.7/mingw53_32/include/QtMultimedia -IC:/Qt/5.7/mingw53_32/include/QtGui -IC:/Qt/5.7/mingw53_32/include/QtANGLE -IC:/Qt/5.7/mingw53_32/include/QtNetwork -IC:/Qt/5.7/mingw53_32/include/QtSerialPort -IC:/Qt/5.7/mingw53_32/include/QtCore -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include-fixed -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++ -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32 -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/backward inc\widgets\vumeterwidget.hpp -o .moc\moc_vumeterwidget.cpp
                    
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\moc_vumeterwidget.o .moc\moc_vumeterwidget.cpp
                    
                    C:\Qt\5.7\mingw53_32\bin\moc.exe -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -D__GNUC__ -DWIN32 -IC:/Qt/5.7/mingw53_32/mkspecs/win32-g++ -IC:/Projects/C++/ardoptnc -IC:/FFTW3 -IC:/QWT/qwt-6.1.3/src -IC:/Projects/C++/ardoptnc/.ui -IC:/Projects/C++/ardoptnc/inc -IC:/Projects/C++/ardoptnc/inc/fft -IC:/Projects/C++/ardoptnc/inc/network -IC:/Projects/C++/ardoptnc/inc/ui -IC:/Projects/C++/ardoptnc/inc/utils -IC:/Projects/C++/ardoptnc/inc/sound -IC:/Projects/C++/ardoptnc/inc/widgets -IC:/Projects/C++/ardoptnc/inc/protocol -IC:/Qt/5.7/mingw53_32/include -IC:/Qt/5.7/mingw53_32/include/QtWidgets -IC:/Qt/5.7/mingw53_32/include/QtMultimedia -IC:/Qt/5.7/mingw53_32/include/QtGui -IC:/Qt/5.7/mingw53_32/include/QtANGLE -IC:/Qt/5.7/mingw53_32/include/QtNetwork -IC:/Qt/5.7/mingw53_32/include/QtSerialPort -IC:/Qt/5.7/mingw53_32/include/QtCore -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include-fixed -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++ -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32 -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/backward inc\widgets\waterfallwidget.hpp -o .moc\moc_waterfallwidget.cpp
                    
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\moc_waterfallwidget.o .moc\moc_waterfallwidget.cpp
                    
                    C:\Qt\5.7\mingw53_32\bin\moc.exe -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -D__GNUC__ -DWIN32 -IC:/Qt/5.7/mingw53_32/mkspecs/win32-g++ -IC:/Projects/C++/ardoptnc -IC:/FFTW3 -IC:/QWT/qwt-6.1.3/src -IC:/Projects/C++/ardoptnc/.ui -IC:/Projects/C++/ardoptnc/inc -IC:/Projects/C++/ardoptnc/inc/fft -IC:/Projects/C++/ardoptnc/inc/network -IC:/Projects/C++/ardoptnc/inc/ui -IC:/Projects/C++/ardoptnc/inc/utils -IC:/Projects/C++/ardoptnc/inc/sound -IC:/Projects/C++/ardoptnc/inc/widgets -IC:/Projects/C++/ardoptnc/inc/protocol -IC:/Qt/5.7/mingw53_32/include -IC:/Qt/5.7/mingw53_32/include/QtWidgets -IC:/Qt/5.7/mingw53_32/include/QtMultimedia -IC:/Qt/5.7/mingw53_32/include/QtGui -IC:/Qt/5.7/mingw53_32/include/QtANGLE -IC:/Qt/5.7/mingw53_32/include/QtNetwork -IC:/Qt/5.7/mingw53_32/include/QtSerialPort -IC:/Qt/5.7/mingw53_32/include/QtCore -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include-fixed -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++ -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32 -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/backward inc\network\tcpipserver.hpp -o .moc\moc_tcpipserver.cpp
                    
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\moc_tcpipserver.o .moc\moc_tcpipserver.cpp
                    C:\Qt\5.7\mingw53_32\bin\moc.exe -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -D__GNUC__ -DWIN32 -IC:/Qt/5.7/mingw53_32/mkspecs/win32-g++ -IC:/Projects/C++/ardoptnc -IC:/FFTW3 -IC:/QWT/qwt-6.1.3/src -IC:/Projects/C++/ardoptnc/.ui -IC:/Projects/C++/ardoptnc/inc -IC:/Projects/C++/ardoptnc/inc/fft -IC:/Projects/C++/ardoptnc/inc/network -IC:/Projects/C++/ardoptnc/inc/ui -IC:/Projects/C++/ardoptnc/inc/utils -IC:/Projects/C++/ardoptnc/inc/sound -IC:/Projects/C++/ardoptnc/inc/widgets -IC:/Projects/C++/ardoptnc/inc/protocol -IC:/Qt/5.7/mingw53_32/include -IC:/Qt/5.7/mingw53_32/include/QtWidgets -IC:/Qt/5.7/mingw53_32/include/QtMultimedia -IC:/Qt/5.7/mingw53_32/include/QtGui -IC:/Qt/5.7/mingw53_32/include/QtANGLE -IC:/Qt/5.7/mingw53_32/include/QtNetwork -IC:/Qt/5.7/mingw53_32/include/QtSerialPort -IC:/Qt/5.7/mingw53_32/include/QtCore -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include-fixed -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++ -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32 -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/backward inc\sound\audioio.hpp -o .moc\moc_audioio.cpp
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\moc_audioio.o .moc\moc_audioio.cpp
                    C:\Qt\5.7\mingw53_32\bin\moc.exe -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -D__GNUC__ -DWIN32 -IC:/Qt/5.7/mingw53_32/mkspecs/win32-g++ -IC:/Projects/C++/ardoptnc -IC:/FFTW3 -IC:/QWT/qwt-6.1.3/src -IC:/Projects/C++/ardoptnc/.ui -IC:/Projects/C++/ardoptnc/inc -IC:/Projects/C++/ardoptnc/inc/fft -IC:/Projects/C++/ardoptnc/inc/network -IC:/Projects/C++/ardoptnc/inc/ui -IC:/Projects/C++/ardoptnc/inc/utils -IC:/Projects/C++/ardoptnc/inc/sound -IC:/Projects/C++/ardoptnc/inc/widgets -IC:/Projects/C++/ardoptnc/inc/protocol -IC:/Qt/5.7/mingw53_32/include -IC:/Qt/5.7/mingw53_32/include/QtWidgets -IC:/Qt/5.7/mingw53_32/include/QtMultimedia -IC:/Qt/5.7/mingw53_32/include/QtGui -IC:/Qt/5.7/mingw53_32/include/QtANGLE -IC:/Qt/5.7/mingw53_32/include/QtNetwork -IC:/Qt/5.7/mingw53_32/include/QtSerialPort -IC:/Qt/5.7/mingw53_32/include/QtCore -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include-fixed -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++ -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32 -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/backward inc\tncsetup.hpp -o .moc\moc_tncsetup.cpp
                    
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\moc_tncsetup.o .moc\moc_tncsetup.cpp
                    
                    C:\Qt\5.7\mingw53_32\bin\moc.exe -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -D__GNUC__ -DWIN32 -IC:/Qt/5.7/mingw53_32/mkspecs/win32-g++ -IC:/Projects/C++/ardoptnc -IC:/FFTW3 -IC:/QWT/qwt-6.1.3/src -IC:/Projects/C++/ardoptnc/.ui -IC:/Projects/C++/ardoptnc/inc -IC:/Projects/C++/ardoptnc/inc/fft -IC:/Projects/C++/ardoptnc/inc/network -IC:/Projects/C++/ardoptnc/inc/ui -IC:/Projects/C++/ardoptnc/inc/utils -IC:/Projects/C++/ardoptnc/inc/sound -IC:/Projects/C++/ardoptnc/inc/widgets -IC:/Projects/C++/ardoptnc/inc/protocol -IC:/Qt/5.7/mingw53_32/include -IC:/Qt/5.7/mingw53_32/include/QtWidgets -IC:/Qt/5.7/mingw53_32/include/QtMultimedia -IC:/Qt/5.7/mingw53_32/include/QtGui -IC:/Qt/5.7/mingw53_32/include/QtANGLE -IC:/Qt/5.7/mingw53_32/include/QtNetwork -IC:/Qt/5.7/mingw53_32/include/QtSerialPort -IC:/Qt/5.7/mingw53_32/include/QtCore -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include-fixed -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++ -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32 -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/backward inc\radiosetup.hpp -o .moc\moc_radiosetup.cpp
                    
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\moc_radiosetup.o .moc\moc_radiosetup.cpp
                    
                    C:\Qt\5.7\mingw53_32\bin\moc.exe -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -D__GNUC__ -DWIN32 -IC:/Qt/5.7/mingw53_32/mkspecs/win32-g++ -IC:/Projects/C++/ardoptnc -IC:/FFTW3 -IC:/QWT/qwt-6.1.3/src -IC:/Projects/C++/ardoptnc/.ui -IC:/Projects/C++/ardoptnc/inc -IC:/Projects/C++/ardoptnc/inc/fft -IC:/Projects/C++/ardoptnc/inc/network -IC:/Projects/C++/ardoptnc/inc/ui -IC:/Projects/C++/ardoptnc/inc/utils -IC:/Projects/C++/ardoptnc/inc/sound -IC:/Projects/C++/ardoptnc/inc/widgets -IC:/Projects/C++/ardoptnc/inc/protocol -IC:/Qt/5.7/mingw53_32/include -IC:/Qt/5.7/mingw53_32/include/QtWidgets -IC:/Qt/5.7/mingw53_32/include/QtMultimedia -IC:/Qt/5.7/mingw53_32/include/QtGui -IC:/Qt/5.7/mingw53_32/include/QtANGLE -IC:/Qt/5.7/mingw53_32/include/QtNetwork -IC:/Qt/5.7/mingw53_32/include/QtSerialPort -IC:/Qt/5.7/mingw53_32/include/QtCore -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include -IC:/Qt/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include-fixed -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++ -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32 -IC:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/backward inc\tncpanel.hpp -o .moc\moc_tncpanel.cpp
                    
                    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DDEBUG_TNC -DQT_NEEDS_QMAIN -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I..\..\..\FFTW3 -I..\..\..\QWT\qwt-6.1.3\src -I.ui -Iinc -Iinc\fft -Iinc\network -Iinc/ui -Iinc\utils -Iinc\sound -Iinc\widgets -Iinc\protocol -I..\..\..\Qt\5.7\mingw53_32\include -I..\..\..\Qt\5.7\mingw53_32\include\QtWidgets -I..\..\..\Qt\5.7\mingw53_32\include\QtMultimedia -I..\..\..\Qt\5.7\mingw53_32\include\QtGui -I..\..\..\Qt\5.7\mingw53_32\include\QtANGLE -I..\..\..\Qt\5.7\mingw53_32\include\QtNetwork -I..\..\..\Qt\5.7\mingw53_32\include\QtSerialPort -I..\..\..\Qt\5.7\mingw53_32\include\QtCore -I.moc -I.ui -I..\..\..\Qt\5.7\mingw53_32\mkspecs\win32-g++  -o .obj\moc_tncpanel.o .moc\moc_tncpanel.cpp
                    
                    g++ -shared -Wl,-subsystem,windows -mthreads -Wl,--out-implib,debug LIBS        =        -lmingw32 -LC:\Qt\5.7\mingw53_32\lib C:\Qt\5.7\mingw53_32\lib\libqtmaind.a -LC:\utils\postgresql\pgsql\lib -LC:\utils\my_sql\my_sql\lib -lshell32  <<<<< not required or requested  <<<<<
                    C:\Qt\5.7\mingw53_32\lib\libQt5Widgetsd.a C:\Qt\5.7\mingw53_32\lib\libQt5Multimediad.a C:\Qt\5.7\mingw53_32\lib\libQt5Guid.a C:\Qt\5.7\mingw53_32\lib\libQt5Networkd.a C:\Qt\5.7\mingw53_32\lib\libQt5SerialPortd.a C:\Qt\5.7\mingw53_32\lib\libQt5Cored.a  -o debug\ardoptnc.exe object_script.ardoptnc.Debug  
                    g++: error: LIBS: No such file or directory
                    g++: error: =: No such file or directory
                    Makefile.Debug:118: recipe for target 'debug\ardoptnc.exe' failed
                    mingw32-make[1]: Leaving directory 'C:/Projects/C++/ardoptnc'
                    Makefile:34: recipe for target 'debug' failed
                    mingw32-make[1]: *** [debug\ardoptnc.exe] Error 1
                    mingw32-make: *** [debug] Error 2
                    12:00:24: The process "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
                    Error while building/deploying project ardoptnc (kit: Desktop Qt 5.7.0 MinGW 32bit)
                    When executing step "Make"
                    12:00:24: Elapsed time: 00:57.
                    

                    So here is the modified .pro I am using. Note there is no referece to SQL at all:

                    unix:!mac {
                    FFTW3_INCL_PATH = /usr/include
                    FFTW3_LIB_PATH  = /usr/lib/i386-linux-gnu
                    SYSTEM_DEP_PATH = /usr/lib/i386-linux-gnu
                    QWT_INCL_PATH   = /home/ken/Projects/C++/qwt-6.1.3/src
                    QWT_LIB_PATH    = /home/ken/Projects/C++/qwt/lib
                    }
                    
                    win32: {
                    FFTW3_INCL_PATH = "C:/FFTW3/"
                    FFTW3_LIB_PATH  = "C:/FFTW3/"
                    QWT_INCL_PATH   = "C:/QWT/qwt-6.1.3/src"
                    QWT_LIB_PATH    = "C:/QWT/qwt-6.1.3/lib"
                    QT_BIN_PATH     = "C:/Qt/5.7/mingw53_32/bin/"
                    QT_LIB_PATH     = "C:/Qt/5.7/mingw53_32/lib/"
                    PLUGINS_PATH    = "C:/Qt/5.7/mingw53_32/plugins/"
                    }
                    
                    
                    TARGET = ardoptnc
                    TEMPLATE = app
                    target.path = bin
                    
                    QT          += widgets multimedia serialport
                    CONFIG += qt thread c++11 
                    win32 {
                    CONFIG += windows dll
                    }
                    unix:!mac {
                    CONFIG += x11
                    }
                    
                    MOC_DIR = .moc
                    OBJECTS_DIR = .obj
                    UI_DIR  = .ui
                    
                    INCLUDEPATH += \
                        $${FFTW3_INCL_PATH} \
                        $${QWT_INCL_PATH}
                    
                    INCLUDEPATH += \
                        .ui \
                        inc \
                        inc/fft \
                        inc/network \
                        inc/ui \
                        inc/utils \
                        inc/sound \
                        inc/widgets \
                        inc/protocol
                    
                    DEPENDPATH += \
                        $$QT_BIN_PATH \
                        $$QT_LIB_PATH \
                        $$FFTW3_LIB_PATH \
                        $$QWT_LIB_PATH
                    
                    HEADERS += $${FFTW3_INCL_PATH}/fftw3.h
                    
                    HEADERS += \
                        inc/widgets/vumeterwidget.hpp \
                        inc/widgets/waterfallwidget.hpp
                    
                    HEADERS += inc/globals.hpp
                    
                    HEADERS += \
                        $${QWT_INCL_PATH}/qwt.h \
                        $${QWT_INCL_PATH}/qwt_plot_spectrogram.h \
                        $${QWT_INCL_PATH}/qwt_scale_map.h
                    
                    HEADERS += \
                        inc/network/sslparams.h \
                        inc/network/tcpipserver.hpp
                    
                    HEADERS +=  \
                        inc/sound/audioio.hpp
                    
                    HEADERS += \
                        inc/utils/utils.hpp
                    
                    HEADERS += \
                        inc/fft/fftcalc.hpp
                    
                    HEADERS += \
                        inc/tncsetup.hpp \
                        inc/radiosetup.hpp \
                        inc/tncpanel.hpp
                    
                    SOURCES += \
                        network/sslparams.cpp \
                        network/tcpipserver.cpp
                    
                    SOURCES += sound/audioio.cpp
                    
                    SOURCES += fft/fftcalc.cpp
                    
                    SOURCES += utils/utils.cpp
                    
                    SOURCES += \
                        widgets/vumeterwidget.cpp \
                        widgets/waterfallwidget.cpp
                    
                    
                    SOURCES += \
                        tncsetup.cpp \
                        radiosetup.cpp \
                        tncpanel.cpp \
                        main.cpp
                    
                    FORMS   += \
                        ui/tncsetup.ui \
                        ui/radiosetup.ui \
                        ui/tncpanel.ui
                    
                    
                    

                    This application will compile and run on Linux Mint 18 Qt 5.7 32-bit compiled from source.

                    Ken AD5XJ

                    1 Reply Last reply
                    1
                    • VRoninV Offline
                      VRoninV Offline
                      VRonin
                      wrote on last edited by VRonin
                      #18

                      as mentioned above remove entirely

                      win32 {
                      CONFIG += windows dll
                      }
                      unix:!mac {
                      CONFIG += x11
                      }
                      

                      also you never set the LIBS variable

                      LIBS += -L$${QWT_LIB_PATH} -L$${QWT_LIB_PATH} -lfftw3-3 -lqwt
                      

                      also in the output, any idea where that <<<<< not required or requested <<<<< comes from?

                      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                      ~Napoleon Bonaparte

                      On a crusade to banish setIndexWidget() from the holy land of Qt

                      1 Reply Last reply
                      1
                      • A Offline
                        A Offline
                        ad5xj
                        wrote on last edited by
                        #19

                        While you may be correct about removing the CONFIG lines, It makes no difference in the current problem.

                        The LIBS line you mention was removed from the .pro in an effort to find the problem posted. It too make no difference in finding the problem.

                        Ken AD5XJ

                        kshegunovK VRoninV 2 Replies Last reply
                        0
                        • A Offline
                          A Offline
                          ad5xj
                          wrote on last edited by
                          #20

                          I forgot to mention that I inserted the <<< lines to indicate the errant part of the output.

                          Ken AD5XJ

                          1 Reply Last reply
                          0
                          • A ad5xj

                            While you may be correct about removing the CONFIG lines, It makes no difference in the current problem.

                            The LIBS line you mention was removed from the .pro in an effort to find the problem posted. It too make no difference in finding the problem.

                            kshegunovK Offline
                            kshegunovK Offline
                            kshegunov
                            Moderators
                            wrote on last edited by kshegunov
                            #21

                            @ad5xj said in QtCreator 4.1.0 Qt 5.7.0 Windows 10 MinGW problem:

                            While you may be correct about removing the CONFIG lines, It makes no difference in the current problem.

                            You should remove it nonetheless.

                            @ad5xj said in QtCreator 4.1.0 Qt 5.7.0 Windows 10 MinGW problem:

                            The LIBS line you mention was removed from the .pro in an effort to find the problem posted. It too make no difference in finding the problem.

                            If you remove the LIBS line there is no sane way you'd be getting the same error. There's something very fishy here.

                            Could you also attach the generated Makefile.Debug? I don't see anything obviously wrong from the build log. Additionally, please check, if you have any files like .qmake.conf in your project directory?

                            Read and abide by the Qt Code of Conduct

                            1 Reply Last reply
                            0
                            • A ad5xj

                              While you may be correct about removing the CONFIG lines, It makes no difference in the current problem.

                              The LIBS line you mention was removed from the .pro in an effort to find the problem posted. It too make no difference in finding the problem.

                              VRoninV Offline
                              VRoninV Offline
                              VRonin
                              wrote on last edited by VRonin
                              #22

                              @ad5xj said in QtCreator 4.1.0 Qt 5.7.0 Windows 10 MinGW problem:

                              The LIBS line you mention was removed from the .pro in an effort to find the problem posted. It too make no difference in finding the problem.

                              This is strange!
                              How do you recompile the project? Are you sure you are re-running qmake? Qt Creator is very bad at detecting changes in the .pro file so if you just click on "Build" it won't "process" your pro file from scratch but use a cached version of it (I'm oversimplifying but it's not the point here)

                              also notice that the .dll part should not be included in the LIBS line.Your original post showed it.

                              "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                              ~Napoleon Bonaparte

                              On a crusade to banish setIndexWidget() from the holy land of Qt

                              1 Reply Last reply
                              1
                              • A Offline
                                A Offline
                                ad5xj
                                wrote on last edited by
                                #23

                                I shall post the Makefile.Debug for you.

                                I seems strange because it is out of the ordinary. I posted here because I have done all the normal troubleshooting. I cleaned the project. Removed the Makefile. removed the compile generated folders (.obj, .moc, .ui, etc) and started over.

                                I have run the compile with and without the .dll. With and without the user LIBS line. It makes no difference.

                                As mentioned before this is a running project on Linux Mint 18. This is a problem unique to Microsoft Windows 10 Qt 5.7.0 32-bit MinGW. All the suggestions so far would affect the RUNNING application - NOT the problem posted. While I appreciate the suggestions, I would like to stay on topic.

                                BTW I have done a text search in the Makefiles for any reference to c:\utils and there is none. The only support or configure file I have found that does is the one mentioned before in the Qt install folder under mkspecs files. It is not something I can change with the QtCreator options.

                                I am still trying to figure out how to attach a file in this forum since the new format. I don't see it. Maybe someone can help there.

                                Ken AD5XJ

                                kshegunovK 1 Reply Last reply
                                1
                                • A ad5xj

                                  I shall post the Makefile.Debug for you.

                                  I seems strange because it is out of the ordinary. I posted here because I have done all the normal troubleshooting. I cleaned the project. Removed the Makefile. removed the compile generated folders (.obj, .moc, .ui, etc) and started over.

                                  I have run the compile with and without the .dll. With and without the user LIBS line. It makes no difference.

                                  As mentioned before this is a running project on Linux Mint 18. This is a problem unique to Microsoft Windows 10 Qt 5.7.0 32-bit MinGW. All the suggestions so far would affect the RUNNING application - NOT the problem posted. While I appreciate the suggestions, I would like to stay on topic.

                                  BTW I have done a text search in the Makefiles for any reference to c:\utils and there is none. The only support or configure file I have found that does is the one mentioned before in the Qt install folder under mkspecs files. It is not something I can change with the QtCreator options.

                                  I am still trying to figure out how to attach a file in this forum since the new format. I don't see it. Maybe someone can help there.

                                  kshegunovK Offline
                                  kshegunovK Offline
                                  kshegunov
                                  Moderators
                                  wrote on last edited by kshegunov
                                  #24

                                  @ad5xj said in QtCreator 4.1.0 Qt 5.7.0 Windows 10 MinGW problem:

                                  I shall post the Makefile.Debug for you.

                                  Use an external site and just post the link here. We don't have file/image uploads in the forum.

                                  This is a problem unique to Microsoft Windows 10 Qt 5.7.0 32-bit MinGW.

                                  Or to your mint development setup being too lenient or both.

                                  All the suggestions so far would affect the RUNNING application - NOT the problem posted.

                                  Nope, all the suggestions so far were definitely referring to the BUILD error you're getting.

                                  While I appreciate the suggestions, I would like to stay on topic.

                                  No one has strayed so far.

                                  Read and abide by the Qt Code of Conduct

                                  1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    ad5xj
                                    wrote on last edited by
                                    #25

                                    Well I have some progress albeit minor overall. I am able to compile all but the linker is not seeing the references to the .dll in the application. I will note that both QWT and FFTW3 folders are in the project path.

                                    Here is the current .pro:

                                    TARGET = ardoptnc
                                    TEMPLATE = app
                                    target.path = bin
                                    
                                    QT     += widgets multimedia serialport
                                    CONFIG += qt thread c++11 #silent
                                    
                                    MOC_DIR = .moc
                                    OBJECTS_DIR = .obj
                                    UI_DIR  = .ui
                                    
                                    INCLUDEPATH += \
                                        $$FFTW3_INCL_PATH \
                                        $$QWT_INCL_PATH
                                    
                                    INCLUDEPATH += \
                                        .ui \
                                        inc \
                                        inc/fft \
                                        inc/network \
                                        inc/ui \
                                        inc/utils \
                                        inc/sound \
                                        inc/widgets \
                                        inc/protocol
                                    
                                    DEPENDPATH += \
                                        $$FFTW_LIB_PATH \
                                        $$QWT_LIB_PATH
                                    
                                    HEADERS += $${FFTW3_LIB_PATH}/fftw3.h
                                    
                                    HEADERS += \
                                        inc/widgets/vumeterwidget.hpp \
                                        inc/widgets/waterfallwidget.hpp
                                    
                                    HEADERS += inc/globals.hpp
                                    
                                    HEADERS += \
                                        $${QWT_INCL_PATH}/qwt.h \
                                        $${QWT_INCL_PATH}/qwt_plot_spectrogram.h \
                                        $${QWT_INCL_PATH}/qwt_scale_map.h
                                    
                                    HEADERS += \
                                        inc/network/sslparams.h \
                                        inc/network/tcpipserver.hpp
                                    
                                    HEADERS +=  inc/sound/audioio.hpp
                                    
                                    HEADERS += inc/utils/utils.hpp
                                    
                                    HEADERS += inc/fft/fftcalc.hpp
                                    
                                    HEADERS += \
                                        inc/tncsetup.hpp \
                                        inc/radiosetup.hpp \
                                        inc/tncpanel.hpp
                                    
                                    SOURCES += \
                                        network/sslparams.cpp \
                                        network/tcpipserver.cpp
                                    
                                    SOURCES += sound/audioio.cpp
                                    
                                    SOURCES += fft/fftcalc.cpp
                                    
                                    SOURCES += utils/utils.cpp
                                    
                                    SOURCES += \
                                        widgets/vumeterwidget.cpp \
                                        widgets/waterfallwidget.cpp
                                    
                                    SOURCES += \
                                        tncsetup.cpp \
                                        radiosetup.cpp \
                                        tncpanel.cpp \
                                        main.cpp
                                    
                                    FORMS   += \
                                        ui/tncsetup.ui \
                                        ui/radiosetup.ui \
                                        ui/tncpanel.ui
                                    
                                    LIBS += -L$${QWT_LIB_PATH}/ -lqwt
                                    LIBS += -L$${FFTW3_LIB_PATH}/libfftw3-3.dll
                                    LIBS += -L$${FFTW3_LIB_PATH}/libfftw3l-3.dll
                                    LIBS += -L$${FFTW3_LIB_PATH}/libfftw3f-3.dll
                                    
                                    

                                    I get this error when linking (abbr for clarity):

                                    ./.obj\fftcalc.o: In function `ZN7fftCalcD2Ev':
                                    C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:15: undefined reference to `_imp__fftw_destroy_plan'
                                    C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:16: undefined reference to `_imp__fftw_free'
                                    C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:17: undefined reference to `_imp__fftw_free'
                                    ./.obj\fftcalc.o: In function `ZN7fftCalc5doFFTEv':
                                    C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:49: undefined reference to `_imp__fftw_execute'
                                    ./.obj\fftcalc.o: In function `ZN7fftCalc4initEiii':
                                    C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:64: undefined reference to `_imp__fftw_destroy_plan'
                                    C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:65: undefined reference to `_imp__fftw_free'
                                    C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:66: undefined reference to `_imp__fftw_free'
                                    C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:67: undefined reference to `_imp__fftw_malloc'
                                    C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:68: undefined reference to `_imp__fftw_malloc'
                                    C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:71: undefined reference to `_imp__fftw_plan_r2r_1d'
                                    collect2.exe: error: ld returned 1 exit status
                                    

                                    The lines referred to are just library calls to FFTW. The fftw3.h is specified in the includes. The LIBS does have the correct path and it is in the project path - yet the undefined referreces. Something is not right at all.

                                    Ken AD5XJ

                                    kshegunovK JKSHJ 2 Replies Last reply
                                    0
                                    • A ad5xj

                                      Well I have some progress albeit minor overall. I am able to compile all but the linker is not seeing the references to the .dll in the application. I will note that both QWT and FFTW3 folders are in the project path.

                                      Here is the current .pro:

                                      TARGET = ardoptnc
                                      TEMPLATE = app
                                      target.path = bin
                                      
                                      QT     += widgets multimedia serialport
                                      CONFIG += qt thread c++11 #silent
                                      
                                      MOC_DIR = .moc
                                      OBJECTS_DIR = .obj
                                      UI_DIR  = .ui
                                      
                                      INCLUDEPATH += \
                                          $$FFTW3_INCL_PATH \
                                          $$QWT_INCL_PATH
                                      
                                      INCLUDEPATH += \
                                          .ui \
                                          inc \
                                          inc/fft \
                                          inc/network \
                                          inc/ui \
                                          inc/utils \
                                          inc/sound \
                                          inc/widgets \
                                          inc/protocol
                                      
                                      DEPENDPATH += \
                                          $$FFTW_LIB_PATH \
                                          $$QWT_LIB_PATH
                                      
                                      HEADERS += $${FFTW3_LIB_PATH}/fftw3.h
                                      
                                      HEADERS += \
                                          inc/widgets/vumeterwidget.hpp \
                                          inc/widgets/waterfallwidget.hpp
                                      
                                      HEADERS += inc/globals.hpp
                                      
                                      HEADERS += \
                                          $${QWT_INCL_PATH}/qwt.h \
                                          $${QWT_INCL_PATH}/qwt_plot_spectrogram.h \
                                          $${QWT_INCL_PATH}/qwt_scale_map.h
                                      
                                      HEADERS += \
                                          inc/network/sslparams.h \
                                          inc/network/tcpipserver.hpp
                                      
                                      HEADERS +=  inc/sound/audioio.hpp
                                      
                                      HEADERS += inc/utils/utils.hpp
                                      
                                      HEADERS += inc/fft/fftcalc.hpp
                                      
                                      HEADERS += \
                                          inc/tncsetup.hpp \
                                          inc/radiosetup.hpp \
                                          inc/tncpanel.hpp
                                      
                                      SOURCES += \
                                          network/sslparams.cpp \
                                          network/tcpipserver.cpp
                                      
                                      SOURCES += sound/audioio.cpp
                                      
                                      SOURCES += fft/fftcalc.cpp
                                      
                                      SOURCES += utils/utils.cpp
                                      
                                      SOURCES += \
                                          widgets/vumeterwidget.cpp \
                                          widgets/waterfallwidget.cpp
                                      
                                      SOURCES += \
                                          tncsetup.cpp \
                                          radiosetup.cpp \
                                          tncpanel.cpp \
                                          main.cpp
                                      
                                      FORMS   += \
                                          ui/tncsetup.ui \
                                          ui/radiosetup.ui \
                                          ui/tncpanel.ui
                                      
                                      LIBS += -L$${QWT_LIB_PATH}/ -lqwt
                                      LIBS += -L$${FFTW3_LIB_PATH}/libfftw3-3.dll
                                      LIBS += -L$${FFTW3_LIB_PATH}/libfftw3l-3.dll
                                      LIBS += -L$${FFTW3_LIB_PATH}/libfftw3f-3.dll
                                      
                                      

                                      I get this error when linking (abbr for clarity):

                                      ./.obj\fftcalc.o: In function `ZN7fftCalcD2Ev':
                                      C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:15: undefined reference to `_imp__fftw_destroy_plan'
                                      C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:16: undefined reference to `_imp__fftw_free'
                                      C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:17: undefined reference to `_imp__fftw_free'
                                      ./.obj\fftcalc.o: In function `ZN7fftCalc5doFFTEv':
                                      C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:49: undefined reference to `_imp__fftw_execute'
                                      ./.obj\fftcalc.o: In function `ZN7fftCalc4initEiii':
                                      C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:64: undefined reference to `_imp__fftw_destroy_plan'
                                      C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:65: undefined reference to `_imp__fftw_free'
                                      C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:66: undefined reference to `_imp__fftw_free'
                                      C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:67: undefined reference to `_imp__fftw_malloc'
                                      C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:68: undefined reference to `_imp__fftw_malloc'
                                      C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:71: undefined reference to `_imp__fftw_plan_r2r_1d'
                                      collect2.exe: error: ld returned 1 exit status
                                      

                                      The lines referred to are just library calls to FFTW. The fftw3.h is specified in the includes. The LIBS does have the correct path and it is in the project path - yet the undefined referreces. Something is not right at all.

                                      kshegunovK Offline
                                      kshegunovK Offline
                                      kshegunov
                                      Moderators
                                      wrote on last edited by
                                      #26

                                      @ad5xj
                                      Your linkage is incorrect, thus the fftw isn't linked, thus you get the errors.

                                      LIBS += -L$${FFTW3_LIB_PATH}/libfftw3-3.dll
                                      LIBS += -L$${FFTW3_LIB_PATH}/libfftw3l-3.dll
                                      LIBS += -L$${FFTW3_LIB_PATH}/libfftw3f-3.dll
                                      

                                      should be:

                                      LIBS += -L$${FFTW3_LIB_PATH} -lfftw3-3 -lfftw3l-3 -lfftw3f-3
                                      

                                      And you should have the appropriate .lib (or .a if you're using mingw) files in $${FFTW3_LIB_PATH}.

                                      Read and abide by the Qt Code of Conduct

                                      1 Reply Last reply
                                      3
                                      • A ad5xj

                                        Well I have some progress albeit minor overall. I am able to compile all but the linker is not seeing the references to the .dll in the application. I will note that both QWT and FFTW3 folders are in the project path.

                                        Here is the current .pro:

                                        TARGET = ardoptnc
                                        TEMPLATE = app
                                        target.path = bin
                                        
                                        QT     += widgets multimedia serialport
                                        CONFIG += qt thread c++11 #silent
                                        
                                        MOC_DIR = .moc
                                        OBJECTS_DIR = .obj
                                        UI_DIR  = .ui
                                        
                                        INCLUDEPATH += \
                                            $$FFTW3_INCL_PATH \
                                            $$QWT_INCL_PATH
                                        
                                        INCLUDEPATH += \
                                            .ui \
                                            inc \
                                            inc/fft \
                                            inc/network \
                                            inc/ui \
                                            inc/utils \
                                            inc/sound \
                                            inc/widgets \
                                            inc/protocol
                                        
                                        DEPENDPATH += \
                                            $$FFTW_LIB_PATH \
                                            $$QWT_LIB_PATH
                                        
                                        HEADERS += $${FFTW3_LIB_PATH}/fftw3.h
                                        
                                        HEADERS += \
                                            inc/widgets/vumeterwidget.hpp \
                                            inc/widgets/waterfallwidget.hpp
                                        
                                        HEADERS += inc/globals.hpp
                                        
                                        HEADERS += \
                                            $${QWT_INCL_PATH}/qwt.h \
                                            $${QWT_INCL_PATH}/qwt_plot_spectrogram.h \
                                            $${QWT_INCL_PATH}/qwt_scale_map.h
                                        
                                        HEADERS += \
                                            inc/network/sslparams.h \
                                            inc/network/tcpipserver.hpp
                                        
                                        HEADERS +=  inc/sound/audioio.hpp
                                        
                                        HEADERS += inc/utils/utils.hpp
                                        
                                        HEADERS += inc/fft/fftcalc.hpp
                                        
                                        HEADERS += \
                                            inc/tncsetup.hpp \
                                            inc/radiosetup.hpp \
                                            inc/tncpanel.hpp
                                        
                                        SOURCES += \
                                            network/sslparams.cpp \
                                            network/tcpipserver.cpp
                                        
                                        SOURCES += sound/audioio.cpp
                                        
                                        SOURCES += fft/fftcalc.cpp
                                        
                                        SOURCES += utils/utils.cpp
                                        
                                        SOURCES += \
                                            widgets/vumeterwidget.cpp \
                                            widgets/waterfallwidget.cpp
                                        
                                        SOURCES += \
                                            tncsetup.cpp \
                                            radiosetup.cpp \
                                            tncpanel.cpp \
                                            main.cpp
                                        
                                        FORMS   += \
                                            ui/tncsetup.ui \
                                            ui/radiosetup.ui \
                                            ui/tncpanel.ui
                                        
                                        LIBS += -L$${QWT_LIB_PATH}/ -lqwt
                                        LIBS += -L$${FFTW3_LIB_PATH}/libfftw3-3.dll
                                        LIBS += -L$${FFTW3_LIB_PATH}/libfftw3l-3.dll
                                        LIBS += -L$${FFTW3_LIB_PATH}/libfftw3f-3.dll
                                        
                                        

                                        I get this error when linking (abbr for clarity):

                                        ./.obj\fftcalc.o: In function `ZN7fftCalcD2Ev':
                                        C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:15: undefined reference to `_imp__fftw_destroy_plan'
                                        C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:16: undefined reference to `_imp__fftw_free'
                                        C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:17: undefined reference to `_imp__fftw_free'
                                        ./.obj\fftcalc.o: In function `ZN7fftCalc5doFFTEv':
                                        C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:49: undefined reference to `_imp__fftw_execute'
                                        ./.obj\fftcalc.o: In function `ZN7fftCalc4initEiii':
                                        C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:64: undefined reference to `_imp__fftw_destroy_plan'
                                        C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:65: undefined reference to `_imp__fftw_free'
                                        C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:66: undefined reference to `_imp__fftw_free'
                                        C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:67: undefined reference to `_imp__fftw_malloc'
                                        C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:68: undefined reference to `_imp__fftw_malloc'
                                        C:\Projects\C++\ardoptnc/fft/fftcalc.cpp:71: undefined reference to `_imp__fftw_plan_r2r_1d'
                                        collect2.exe: error: ld returned 1 exit status
                                        

                                        The lines referred to are just library calls to FFTW. The fftw3.h is specified in the includes. The LIBS does have the correct path and it is in the project path - yet the undefined referreces. Something is not right at all.

                                        JKSHJ Offline
                                        JKSHJ Offline
                                        JKSH
                                        Moderators
                                        wrote on last edited by JKSH
                                        #27

                                        @ad5xj said in QtCreator 4.1.0 Qt 5.7.0 Windows 10 MinGW problem:

                                        I get this error when linking (abbr for clarity)

                                        Do you only get errors for FFTW, or Qwt as well?

                                        LIBS += -L$${FFTW3_LIB_PATH} -lfftw3-3.dll
                                        

                                        That's supposed to be -lfftw3-3 (no ".dll")

                                        LIBS += -L$${FFTW3_LIB_PATH}/libfftw3-3.dll
                                        LIBS += -L$${FFTW3_LIB_PATH}/libfftw3l-3.dll
                                        LIBS += -L$${FFTW3_LIB_PATH}/libfftw3f-3.dll
                                        

                                        FFTW3_LIB_PATH == "C:/FFTW3/", right? That means your lines expand to things like LIBS += -LC:/FFTW//libfftw3-3.dll (2 slashes).

                                        Let's do a sanity check: Replace all the variables in your *.pro file with hard-coded paths, e.g. LIBS += -L"C:/FFTW3/" -lfftw3-3 -lfftw3l-3 -lfftw3f-3 and see what happens.

                                        [EDIT: @kshegunov beat me to it!]

                                        HEADERS += $${FFTW3_LIB_PATH}/fftw3.h
                                        
                                        ...
                                        
                                        HEADERS += \
                                            $${QWT_INCL_PATH}/qwt.h \
                                            $${QWT_INCL_PATH}/qwt_plot_spectrogram.h \
                                            $${QWT_INCL_PATH}/qwt_scale_map.h
                                        

                                        Do not add 3rd-party library headers to HEADER. Instead, add their folders to INCLUDEPATH.

                                        By adding the files to HEADER, you are asking the toolchain to compile the headers into your binaries. This causes errors if the headers contain any definitions that have already been built into the 3rd party DLL. This also causes Qt's code generator (moc) to generate a new copy of the QObjects that are found in the headers, which breaks the signal-slot mechanism (among other things) for the library.

                                        LIBS += -L$${QWT_LIB_PATH}/ -lqwt
                                        

                                        This is not strictly necessary, but the cleanest way to use Qwt in your project is to write include(C:/QWT/Qwt-6.1.3/features/qwt.prf) in your *.pro file. You can then get rid of all the other Qwt-related lines.

                                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                        1 Reply Last reply
                                        2
                                        • A Offline
                                          A Offline
                                          ad5xj
                                          wrote on last edited by
                                          #28

                                          Thanks for the QWT tip I will try that.

                                          As to the fftw3 dlls ... I did have it the way you describe and the linker complains. With some experimentation, I did find the current syntax to work. It may not be as expected but it works. Go figure.

                                          I have had little nor no problem with QWT. No error messages about the QWT .dlls at all.

                                          Ken AD5XJ

                                          JKSHJ 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