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.
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