Omnet++ 5.0 fails to configure/make. Unable to launch Omnetpp IDE. Windows

204 views
Skip to first unread message

WN

unread,
Dec 20, 2016, 12:18:13 AM12/20/16
to OMNeT++ Users
Hi guys,

Attached is a screencap of the mingwev console output. Directory: C:\omnetpp-5.0-src-windows\omnetpp-5.0

I have read about issues in this forum with previous installations of omnet 4.6. I have deleted all installations of omnet before trying this.

What can i do to fix this and get oment 5 working :( ? 

I believe it is to do with my bin directory & make file?? But there is no documentation on how to address this that i can find. I'm very new to the world of Omnet++.  

Thanks. 

Below i will paste the screenshot for those not wanting to look at the image:
Welcome to OMNeT++ 5.0!

Type "./configure" and "make" to build the simulation libraries.

When done, type "omnetpp" to start the IDE.

/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

omnet error.JPG
Reply all
Reply to author
Forward
0 new messages