User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
downloads [2017/08/17 20:07] – [Binaries for Windows] mackedownloads [2017/08/19 20:45] (current) – [Source Code on Bitbucket] macke
Line 17: Line 17:
   * lua scripting language V 5.0 or higher   * lua scripting language V 5.0 or higher
  
-The compilation steps are the following: +The Linux compilation steps are the following: 
-  - Download the source code package ''wget ....'' +  - Download the source code package 
-  - Extract the archive ''tar -xvJf QUAD_*.tar.xz''+  - Extract the archive 
   - Compile: ''cd QUAD && make''   - Compile: ''cd QUAD && make''
   - Test the package with ''make test''   - Test the package with ''make test''
 +
 +== Compilation steps for MAC users ==
 +
 +  * Install the Home Brew package manager
 +  * brew install gcc@6
 +  * brew install lua
 +  * The new c compilers should be at:
 +  * cd /usr/local/Cellar/gcc@6/6.4.0/bin
 +  * Download https://bitbucket.org/s-macke/quad Unzip and cd into directory
 +  * Edit MakeFile:
 +    The lines
 +    CC = gcc
 +    CXX = g++
 +
 +should point to the binaries in /usr/local/Cellar/gcc@6/6.4.0/bin to use the other compilers.
 +    CC = /usr/local/Cellar/gcc@6/6.4.0/bin/gcc-6
 +    CXX = /usr/local/Cellar/gcc@6/6.4.0/bin/g++-6
 +
 +  * Copy the compiled executable quad somewhere appropriate. You might want to add the directory to your path so you can execute 
 +  * vim  ~/.bash_profile
 +    and add the line
 +    export PATH=“<directory>:$PATH”
 +where <directory> is the directory 
 +
 + 
 +