--------------------------------------------------------------------------- OpenModelica Environment and Supporting Tools on OS X --------------------------------------------------------------------------- Last updated 7/15/2007 OpenModelica on OS X requires a handful of shared libraries and frameworks not supplied with the binary package. These include - gcc 4.0.1 (available as part of Apple's Xcode developer environment http://developer.apple.com/tools/xcode) - Qt 4.3 (http://trolltech.com/developer/downloads/qt/mac) - libmico2.3.12.dylib (available from MacPorts http://www.macports.org/) - libz.1.dylib (available from MacPorts http://www.macports.org/) - libssl.0.9.8.dylib (available from MacPorts http://www.macports.org/) - libcrypto.0.9.8.dylib (available from MacPorts http://www.macports.org/) - libreadline.5.2.dylib (available from MacPorts http://www.macports.org/) Details on the dependencies of each tool can be found in dependencies.txt --------------------------------------------------------------------------- Environment variables --------------------------------------------------------------------------- At least two environment variables should be set. export OPENMODELICAHOME=path/to/installdir export OPENMODELICALIBRARY=path/to/installdir/ModelicaLibrary optionally, export DRMODELICAHOME=path/to/installdir/DrModelica These can be set in .bash_profile in your home directory. --------------------------------------------------------------------------- Running the tools --------------------------------------------------------------------------- If you set the environment variables in .bash_profile, you should open a terminal window to run the tools. To run the graphical applications from the shell (OMShell.app and OMNotebook.app) use the open command (ie. open OMShell.app). The tools include - OMShell.app (new-style graphical interactive shell) - OMNotebook.app (new-style graphical interactive shell with DrModelica tutorial) - omc (compiler) - mosh (old-style interactive shell)