Compile last CGRU version for OSX

Manual project build issues.
Post Reply
anmax
Posts: 3
Joined: Wed Dec 13, 2017 10:56 am

Re: Compile last CGRU version for OSX

Post by anmax » Wed Dec 13, 2017 12:30 pm

Hi, i have successfully compile ver 2.2.3 for the Mac 10.11.6. So you have to take a few steps
  • install Python 3.*, cmake, git, qt (for a server part you have to install ffmpeg, imagemagick in addition) packages with brew
  • clone a git repo and checking out to 2.2.3 branch

    Code: Select all

    git clone https://github.com/CGRU/cgru.git 
    git checkout 2.2.3
  • add prefix path in /cgru/afanasy/src/project.cmake/build.sh

    Code: Select all

    CMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.9.1/lib/cmake 
  • build in /cgru/afanasy/src/project.cmake/

    Code: Select all

    ./build.sh --nosql

P.S. Or you can just use binary by link ;)

anmax
Posts: 3
Joined: Wed Dec 13, 2017 10:56 am

Re: Compile last CGRU version for OSX

Post by anmax » Wed Dec 13, 2017 3:23 pm

yes, binaries just should to be copied in /cgru/afanasy/bin/ directory
Also you can try the how-to guide , to perform install Xcode comand line Tools

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests