# MacOS ## Setting up and running EcMasterDemo > 1. MacOS configuration > The application needs root privileges, if pcap link layer is used. > 2. Copy files from EC-Master package `/bin` and `eni.xml` to directory, e.g. `/tmp`. > 3. Adjust DYLD_LIBRARY_PATH search locations for Ethernet Driver if necessary, e.g. > ```console > $ export DYLD_LIBRARY_PATH=/tmp:$DYLD_LIBRARY_PATH > ``` > 4. Run EcMasterDemo > ```console > $ cd /tmp > $ ./EcMasterDemo -winpcap 192.127.150.30 1 -f eni.xml -perf > ``` > #### SEE ALSO > [Running EcMasterDemo](gettingstarted_running-demo.html.md#running-ecdemo) ## OS Compiler settings Besides the general settings from [Compiling the EcMasterDemo](gettingstarted_compiling.html.md#compile-ecdemo) the following settings are necessary to build the example application for MacOS. Extra include paths : ```default /SDK/INC/MacOS /Examples/Common/MacOS ``` Extra source paths : ```default /Examples/Common/MacOS /Sources/OsLayer/MacOS ``` Extra libraries (in this order) : ```default EcMasterRasServer EcMaster ```