-
Notifications
You must be signed in to change notification settings - Fork 36
Install OMNeT for MacOS
Kentaro "zigen" Teramoto edited this page Jun 8, 2022
·
5 revisions
-
get the latest release (6.0 for now) of OMNeT++ for MacOS from their website https://omnetpp.org/download/.
click "MAC OS" tab, and then click the green "DONWLOAD" button. -
uncompress it. you can just click "omnetpp-6.0-macos-x86_64.tgz" in "Finder" to uncompress.
-
put it where you want
- go to
omnetpp-6.0
. - run
source setenv
to reflect environment variables.
$ source setenv
Environment for 'omnetpp-6.0' in directory '/Users/zigen/src/omnetpp-6.0' is ready.
- run
./configure
./configure
configure: Environment variables (e.g. PATH) are correctly set.
configure: reading configure.user for your custom settings
checking build system type... x86_64-apple-darwin20.6.0
checking host system type... x86_64-apple-darwin20.6.0
checking for clang... clang
...
checking for LibXML XML parser with CFLAGS=" " LIBS="-lxml2"... yes
configure: Using LibXML for XML parsing
checking for zlib with CFLAGS=" " LIBS="-lz"... yes
checking for Akaroa with CFLAGS=" -I/usr/local/akaroa/include" LIBS="-L/usr/local/akaroa/lib -lakaroa -lfl"... no
configure: WARNING: Optional package Akaroa not found
configure: creating ./config.status
config.status: creating Makefile.inc
config.status: creating src/qtenv/qtenv.pri
WARNING: The configuration script could not detect the following packages:
MPI (optional) Akaroa (optional)
Scroll up to see the warning messages (use shift+PgUp), and search config.log
for more details. While you can use OMNeT++ in the current configuration,
be aware that some functionality may be unavailable or incomplete.
you might need to permit the execution for toolchain under omnetpp-5.x/tools/macosx/bin
. see Open a Mac app from an unidentified developer
- run
make
$ make
Building release and debug mode executables. Type 'make help' for further options.
***** Configuration: MODE=release, TOOLCHAIN_NAME=clang, SHARED_LIBS=yes, LIB_SUFFIX=.dylib ****
===== Checking environment =====
===== Compiling utils ====
===== Compiling common ====
YACC: expression.y
expression.y: warning: 46 shift/reduce conflicts [-Wconflicts-sr]
YACC: matchexpression.y
lcgrandom.cc
filereader.cc
linetokenizer.cc
...
run omnetpp
then you can see the eclipse based OMNeT++ IDE.
Go to Building QuISP with OMNeT++ IDE