2016-12-20 84 views
0

我已閱讀有關以前安裝omnet 4.6的問題。在嘗試此操作之前,我已經刪除了omnet的所有安裝。任何幫助表示讚賞。Omnet ++ 5.0無法配置/製作。無法啓動Omnetpp IDE。 Windows

我能做些什麼來解決這個問題,並得到oment 5個工作:(?

我相信這是我的bin目錄& make文件辦??但對如何解決這個沒有那個文件我能找到我非常新的OMNeT ++的世界

感謝

下面是從bash提示符:。

/c/omnetpp-5.0-src-windows/omnetpp-5.0$ . setenv 
bash: setenv: No such file or directory 

/c/omnetpp-5.0-src-windows/omnetpp-5.0$ ./configure 
checking build system type... i686-pc-mingw32 
checking host system type... i686-pc-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... unsupported 
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 -std=c++11... yes 
checking whether clang++ supports -fno-stack-protector... 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... configure: error: cannot find output from flex;              giving up 

/c/omnetpp-5.0-src-windows/omnetpp-5.0$ make 
Makefile:36: Makefile.inc: No such file or directory 
Makefile:40: *** OMNETPP_BIN_DIR must be correctly set. Stop. 

/c/omnetpp-5.0-src-windows/omnetpp-5.0$ omnetpp 
bash: omnetpp: command not found 
+0

嘗試臨時禁用您的防病毒程序。 –

回答

0

看來你的ZIP文件被破壞(或您使用提取實用程序無法正常工作)。已知Windows解壓縮程序有這些問題。病毒檢查程序也可以按照註釋中的建議導致這些問題。

+0

我用7-zip,我已經重新下載了兩次。我將禁用反病毒,並讓你知道明天它會如何。有沒有我應該檢查的文件,以確保它不指向舊版本的文件夾? – WBig

+0

1.確保下載完好無損:5.0 windows zip文件的md5sum應該是:0a71bfa770a772acd7e92e484c7c5fc0。 – Rudi

+0

2. Windows版本,* NOT *有一個setenv文件。僅在Linux/macOS上需要採購setenv(。setenv)。在Windows上,您應該啓動mingwenv.cmd文件並立即運行./configure。 – Rudi