From d97d31fe3d8ef5223a5b6f6da0f1e79f7adc337d Mon Sep 17 00:00:00 2001 From: Serhan Date: Thu, 10 Mar 2016 22:25:04 +0100 Subject: [PATCH] Update CompileHowto.txt Typos and OSX build updated Former-commit-id: b8817888cf5b9867ca3514ffac760188693b610f --- CompileHowto.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/CompileHowto.txt b/CompileHowto.txt index 9f419709..630d3389 100644 --- a/CompileHowto.txt +++ b/CompileHowto.txt @@ -14,7 +14,7 @@ sudo cp -R "$FIRMWARE_DIR/hardfp/opt/" /opt export HYPERION_DIR="hyperion" git clone --recursive https://github.com/tvdzwan/hyperion.git "$HYPERION_DIR" -# if you forget the --resursive in above statement or you are updating an existing clone you need +# if you forget the --recursive in above statement or you are updating an existing clone you need # to clone the protobuf submodule by runnning the follwing two statements: git submodule init git submodule update @@ -29,10 +29,16 @@ cmake -DCMAKE_BUILD_TYPE=Release -Wno-dev .. cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_X11=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev .. # as an alternative for the dispmanx grabber on non-rpi devices (e.g. cubox-i) you could try the framebuffer grabber cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_FB=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev .. -# for OSX build you need XCode, qt4 libraries and cmake. You can use macport (homebrew might work too) to install them +# for OSX build you need XCode, qt4 libraries and cmake (maybe libusb too). You can use macport or homebrew(recommended) to install them: +#for port: sudo port install qt4-mac sudo port install cmake -cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_V4L2=OFF -DENABLE_OSX=ON . +#sudo port install libusb +#for brew: +sudo brew install qt4-mac +sudo brew install cmake +#sudo brew install libusb +cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_V4L2=OFF -DENABLE_OSX=ON .. # run make to build Hyperion make