configure:error: cannot build qt apps,probably due to missing or too old Qt packages.

34 views
Skip to first unread message

Mohit Kalra

unread,
Apr 8, 2020, 10:18:41 AM4/8/20
to OMNeT++ Users

/d/cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1$ ./configure
configure: loading site script /mingw64/etc/config.site
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
configure: -----------------------------------------------
configure: reading configure.user for your custom settings
configure: -----------------------------------------------
checking for clang... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for clang++... clang++
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking for clang++... clang++
checking for ranlib... ranlib
checking whether clang++ supports -fno-omit-frame-pointer... yes
checking whether clang++ supports -Wl,--no-as-needed... yes
checking whether clang++ supports -Wl,--as-needed... yes
checking for swapcontext... no
checking if shared libs need -fPIC... no
checking for dlopen with CFLAGS="" LIBS=""... no
checking if --export-dynamic linker option is supported/needed... test failed
checking for flags needed to link with static libs containing simple modules...           --whole-archive
configure: NOTE: Use the following syntax when linking with static libraries
configure: containing simple modules and other dynamically registered components          :
configure:    clang++ ... -Wl,--whole-archive <libs> -Wl,--no-whole-archive ...
checking whether linker supports -rpath... yes
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for make... make
checking for perl... perl
checking for swig... not found
checking for math with CFLAGS="" LIBS=""... yes
checking for standard C++ lib with CFLAGS="" LIBS="-lstdc++"... yes
checking for dlopen with CFLAGS="" LIBS=""... no
checking for dlopen with CFLAGS="" LIBS="-ldl"... no
configure: WARNING: no dlopen(): dynamic loading of libs not possible
checking for qmake... /mingw64/bin/qmake
checking for moc... /mingw64/bin/moc
checking for uic... /mingw64/bin/uic
checking for rcc... /mingw64/bin/rcc
checking for Qt5 with CFLAGS=" -std=c++11   -isystem D:/cmptr softwares/omnetpp-          5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include -isystem D:/cmptr so          ftwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtCo          re -isystem D:/cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win          64/mingw64/include/QtGui -isystem D:/cmptr softwares/omnetpp-5.6.1-src-windows/o          mnetpp-5.6.1/tools/win64/mingw64/include/QtWidgets -isystem D:/cmptr softwares/o          mnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtOpenGL -isy          stem D:/cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/ming          w64/include/QtPrintSupport   -isystem D:/cmptr softwares/omnetpp-5.6.1-src-windo          ws/omnetpp-5.6.1/tools/win64/mingw64/include -isystem D:/cmptr softwares/omnetpp          -5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtCore -isystem D:/          cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/incl          ude/QtGui -isystem D:/cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/to          ols/win64/mingw64/include/QtWidgets -isystem D:/cmptr softwares/omnetpp-5.6.1-sr          c-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtOpenGL -isystem D:/cmptr s          oftwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtP          rintSupport" LIBS="-lQt5Gui -lQt5Core -lQt5Widgets -lQt5PrintSupport -lQt5OpenGL           -LD:/cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw6          4/lib -Wl,-rpath=D:/cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tool          s/win64/mingw64/lib"... no
checking for Qt5 with CFLAGS=" -std=c++11   -isystem D:/cmptr softwares/omnetpp-          5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include -isystem D:/cmptr so          ftwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtCo          re -isystem D:/cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win          64/mingw64/include/QtGui -isystem D:/cmptr softwares/omnetpp-5.6.1-src-windows/o          mnetpp-5.6.1/tools/win64/mingw64/include/QtWidgets -isystem D:/cmptr softwares/o          mnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtOpenGL -isy          stem D:/cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/ming          w64/include/QtPrintSupport   -isystem D:/cmptr softwares/omnetpp-5.6.1-src-windo          ws/omnetpp-5.6.1/tools/win64/mingw64/include -isystem D:/cmptr softwares/omnetpp          -5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtCore -isystem D:/          cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/incl          ude/QtGui -isystem D:/cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/to          ols/win64/mingw64/include/QtWidgets -isystem D:/cmptr softwares/omnetpp-5.6.1-sr          c-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtOpenGL -isystem D:/cmptr s          oftwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtP          rintSupport" LIBS="-lQtGui5 -lQtCore5 -lQtWidgets5 -lQtPrintSupport5 -lQtOpenGL5          "... no
checking for Qt5 with CFLAGS=" -std=c++11   -isystem D:/cmptr softwares/omnetpp-          5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include -isystem D:/cmptr so          ftwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtCo          re -isystem D:/cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win          64/mingw64/include/QtGui -isystem D:/cmptr softwares/omnetpp-5.6.1-src-windows/o          mnetpp-5.6.1/tools/win64/mingw64/include/QtWidgets -isystem D:/cmptr softwares/o          mnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtOpenGL -isy          stem D:/cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/ming          w64/include/QtPrintSupport   -isystem D:/cmptr softwares/omnetpp-5.6.1-src-windo          ws/omnetpp-5.6.1/tools/win64/mingw64/include -isystem D:/cmptr softwares/omnetpp          -5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtCore -isystem D:/          cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/incl          ude/QtGui -isystem D:/cmptr softwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/to          ols/win64/mingw64/include/QtWidgets -isystem D:/cmptr softwares/omnetpp-5.6.1-sr          c-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtOpenGL -isystem D:/cmptr s          oftwares/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtP          rintSupport" LIBS=" -framework QtGui -framework QtCore -framework QtWidgets -fra          mework QtPrintSupport -framework QtOpenGL"... no
configure: error: Cannot build Qt apps, probably due to missing or too old Qt pa          ckages. Make sure Qt development packages are installed and newer than Qt 5.4. Y          ou can disable Qtenv by setting the WITH_QTENV variable to "no" in configure.user.


I AM INSTALLING IT ON WINDOWS CAN SOMEONE PLEASE HELP!!!!

Rudolf Hornig

unread,
Apr 14, 2020, 9:44:03 AM4/14/20
to OMNeT++ Users
As the installation guide points out: NO SPACES in your installation path, please...
Reply all
Reply to author
Forward
0 new messages