Last active
          October 31, 2016 11:40 
        
      - 
      
 - 
        
Save RMKD/e0953369d21aa7e7ac22895ddcbf7ad9 to your computer and use it in GitHub Desktop.  
    How to Install UtyMap on MacOs (tested on 10.11.6)
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # 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