4.6. MacOS
4.6.1. Setting up and running EcMasterDemo
MacOS configuration
The application needs root privileges, if pcap link layer is used.
Copy files from EC-Master package
/binandeni.xmlto directory, e.g./tmp.Adjust DYLD_LIBRARY_PATH search locations for Ethernet Driver if necessary, e.g.
export DYLD_LIBRARY_PATH=/tmp:$DYLD_LIBRARY_PATHRun EcMasterDemo
cd /tmp ./EcMasterDemo -winpcap 192.127.150.30 1 -f eni.xml -perfSee also
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