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 »

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 »

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
prajwal87
Posts: 3
Joined: Sat Jul 03, 2021 8:19 am

Re: Compile last CGRU version for OSX

Post by prajwal87 »

Hi, Would this binary work on the recent MacOS Catalina ? Anyway you would be kind enough to re share the compiled binary :D
Post Reply