Skip to content

How to install the vislcg3 (Mac OSX)

Domenico Solazzo edited this page Jul 13, 2016 · 7 revisions

Here are the instructions to install the vislcg3 constraint grammar on a Mac.

CMAKE

  • Install CMake
brew install cmake

Boost

  • Install Boost
brew install boost

XCode

  • Install the XCode developer tools

ICU

  • Install icu. This takes a few steps:

    $ curl -O http://download.icu-project.org/files/icu4c/4.8.1/icu4c-4_8_1-src.tgz
    $ gunzip icu4c-4_8_1-src.tgz | tar -xvf -
    
    • Then run:
    $ cd icu/source/
    
    • It’s a good idea to make sure the permissions are set so run:
    $ chmod +x runConfigureICU configure install-sh
    
    • Now run runConfigureICU like so:
    $ ./runConfigureICU MacOSX
    
    • You’ll then run make and sudo make install, and you should be golden.
    make
    sudo make install
    

vislcg3

  • Now it’s time to get to vislcg3.

    • Download the files from the svn repository:
    $ svn co http://beta.visl.sdu.dk/svn/visl/tools/vislcg3/trunk vislcg3
    
    • Then move into the main directory:
    $ cd vislcg3/
    
    • Do a checkup on the install:
    $ ./cmake.sh
    
    • Run make and sudo make install to finalize this thing.
    make
    sudo make intsall
    
    • Now check to see that it’s in your path:
    $ which vislcg3
    
    • And if you get a path to the binary, you’re ready to go!
  • Source

Clone this wiki locally