4.6. MacOS

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

    export DYLD_LIBRARY_PATH=/tmp:$DYLD_LIBRARY_PATH
    
  4. Run EcMasterDemo

    cd /tmp
    ./EcMasterDemo -winpcap 192.127.150.30 1 -f eni.xml -perf
    

4.6.2. OS Compiler settings

Besides the general settings from Compiling the EcMasterDemo the following settings are necessary to build the example application for MacOS.

Extra include paths
<InstallPath>/SDK/INC/MacOS
<InstallPath>/Examples/Common/MacOS
Extra source paths
<InstallPath>/Examples/Common/MacOS
<InstallPath>/Sources/OsLayer/MacOS
Extra libraries (in this order)
EcMasterRasServer EcMaster