From 391ccf47383a22f8503bf4cac69b1cf120065168 Mon Sep 17 00:00:00 2001 From: poljvd Date: Fri, 16 Jan 2015 09:10:23 +0100 Subject: [PATCH] Update compile instructions Former-commit-id: a620bcf775042199aeedf17b50a0eff170e6cfb4 --- CompileHowto.txt | 5 +++++ CrossCompileHowto.txt | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/CompileHowto.txt b/CompileHowto.txt index 7ad606aa..18f343a7 100644 --- a/CompileHowto.txt +++ b/CompileHowto.txt @@ -13,6 +13,11 @@ 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 +# to clone the protobuf submodule by runnning the follwing two statements: +git submodule init +git submodule update + # create and enter the build directory mkdir "$HYPERION_DIR/build" cd "$HYPERION_DIR/build" diff --git a/CrossCompileHowto.txt b/CrossCompileHowto.txt index ca6df73f..dc279416 100644 --- a/CrossCompileHowto.txt +++ b/CrossCompileHowto.txt @@ -30,6 +30,11 @@ git clone git://github.com/raspberrypi/tools.git "$RASCROSS_DIR/tools" # get the Hyperion sources 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 +# to clone the protobuf submodule by runnning the follwing two statements: +git submodule init +git submodule update + # do a native build (to build the protobuf compiler for the native platform) mkdir "$HYPERION_DIR/build" cmake -DENABLE_DISPMANX=OFF --build "$HYPERION_DIR/build" "$HYPERION_DIR"