问题描述
OMNeT++-5.6.1 Windows 安装问题.Qtenv 未配置.另一个问题是它无法识别 %HOME% 路径.有人可以帮忙吗?
OMNeT++-5.6.1 Windows installation issue. Qtenv is not getting configured. The other issue is it is not being able to recognize the %HOME% path. Can anybody help?
问题 1:cat:/c/Users/Abhirup: 没有那个文件或目录cat: "Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1//Vers ion": 没有那个文件或目录欢迎来到!
Issue 1:cat: /c/Users/Abhirup: No such file or directorycat: "Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1//Vers ion": No such file or directoryWelcome to !
问题 2:使用 CFLAGS=" -std=c++11 -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp- 检查 Qt55.6.1/tools/win64/mingw64/include -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtCore -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtGui -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtWidgets -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtOpenGL -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtPrintSupport -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtCore -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtGui -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtWidgets -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtOpenGL -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtPrintSupport" LIBS=" -framework QtGui -framework QtCore -framework QtWidgets -framework QtPrintSupport -framework QtOpenGL"...没有配置:错误:无法构建 Qt 应用程序,可能是由于 Qt 包丢失或太旧.确保安装了 Qt 开发包并且比 Qt 5.4 更新.您可以通过在 configure.user 中将 WITH_QTENV 变量设置为no"来禁用 Qtenv.
Issue 2: checking for Qt5 with CFLAGS=" -std=c++11 -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtCore -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtGui -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtWidgets -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtOpenGL -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtPrintSupport -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtCore -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtGui -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtWidgets -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtOpenGL -isystem C:/Users/Abhirup Roy/Desktop/MoSim'20/Omnet++/omnetpp-5.6.1-src-windows/omnetpp-5.6.1/tools/win64/mingw64/include/QtPrintSupport" LIBS=" -framework QtGui -framework QtCore -framework QtWidgets -framework QtPrintSupport -framework QtOpenGL"... noconfigure: error: Cannot build Qt apps, probably due to missing or too old Qt packages. Make sure Qt development packages are installed and newer than Qt 5.4. You can disable Qtenv by setting the WITH_QTENV variable to "no" in configure.user.
推荐答案
尝试解压编译目录中的OMNeT++,其路径不包含空格.
Try to unpack and compile OMNeT++ in the directory, whose path does not contain a space.
这篇关于Omnetpp-5.6.1 WINdows 安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!