Installation procedure for running MTConnect Agent on Mac.
Install brew and xcode command line tools.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Run brew help to verify install. You may need to refer to "Next Steps" in the terminal for commands to add Homebrew to your PATH.
brew install git
brew install cmake
pip3 install conan
git clone https://github.com/mtconnect/cppagent.git
conan export conan/mqtt_cpp
conan export conan/mruby
Test the conan profile. If the default conan profile is not set, use the following command.
conan profile detect
conan create cppagent -pr cppagent/conan/profiles/macos --build=missing
Note that the filepath may be specific to your build; in this example the buildid is mtcond5569031024c6.
Add the following to the .zshrc file; if the file does not exist opening in nano will add the file.
Save changes to .zshrc and restart terminal. Run the agent.
mkdir build & cd build
cmake -G Xcode ..