title: Omnet++ 5.0 fails to configure/make. Unable to launch Omnetpp IDE. Windows
body: <p>I have read about issues with previous installations of omnet 4.6. I have deleted all installations of omnet before trying this. Any help is appreciated. </p>
  
  <p>What can i do to fix this and get oment 5 working :( ? </p>
  
  <p><strong>I believe it is to do with my bin directory &amp; 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++.</strong>  </p>
  
  <p>Thanks. </p>
  
  <p>Below is from the bash prompt:</p>
  
  <pre><code>/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 &lt;libs&gt; -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
  </code></pre>