Skip to content

Instantly share code, notes, and snippets.

@RMKD
Last active October 31, 2016 11:40
Show Gist options
  • Save RMKD/e0953369d21aa7e7ac22895ddcbf7ad9 to your computer and use it in GitHub Desktop.
Save RMKD/e0953369d21aa7e7ac22895ddcbf7ad9 to your computer and use it in GitHub Desktop.
How to Install UtyMap on MacOs (tested on 10.11.6)
# get the repository
git clone https://github.com/reinterpretcat/utymap.git
cd utymap
# install the required dependencies (get from http://brew.sh if you don't already have it)
brew install cmake boost protobuf
# set up a clean build directory
mkdir code/build
cd core/build
# in ./core/build use cmake to generate an .xcodeproj file
cmake -G Xcode ..
# in ./core/build use xcode's command line to build the dylib
xcodebuild -project UtyMap.xcodeproj -target ALL_BUILD -configuration Release
# change the libUtyMap.Shared.dylib to UtyMap.Shared.bundle and move to the project folder
cp shared/Release/libUtyMap.Shared.dylib ../../unity/demo/Assets/Plugins/UtyMap.Shared.bundle
# switch the the unity/library directory
cd ../../unity/library/
# build with mono's xbuild
xbuild /p:Configuration=Release UtyMap.Unity.sln
# copy all the Uty dll files
cp UtyMap.Unity/bin/Release/Uty*.dll ../../unity/demo/Assets/Plugins/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment