Commit 9ebf3cc8 authored by Aaron Bray's avatar Aaron Bray
Browse files


parent 75faa48c
......@@ -30,12 +30,29 @@ Currently, the code requires CMake 3.7 or greater to properly build
Go to the cmake website, ``, and download the appropriate distribution.
Ensure that cmake bin is on your PATH and available in your cmd/bash shell.
Note on Linux systems, make sure to have curl before you build/install cmake for it to behave properly when downloading 3rd party libraries.
sudo apt-get install curl
# If you build cmake, make sure you enable system SSL and have installed:
#### Building CMake
If you are on a linux based system that requires you to build CMake for the latest version, the <a href="">CMake Download page</a> provides source releases.
The following should get you through the build process for CMake
# Set up some dependent libraries you will need
sudo apt-get install zlib1g-dev
sudo apt-get install libcurl4-openssl-dev
# If you want to build the CMake GUI, you will need
$sudo apt-get install libqt4-dev qt4-dev-tools libncurses5-dev
# Get the code link for the cmake download
# I used 'Copy Link Address' from my browser on the tar.gz source download link...
# Run the following commands from the directory you wish to build CMake
$ wget
# Extract the source
$ tar -zxvf cmake-3.11.0-rc2.tar.gz
# run the bootstrap, build and install the code
$ ./bootstrap --system-curl --qt-gui
# Remove the --qt-gui if you do not want to build the CMake GUI
$ make
$ sudo make install
### Java JDK
......@@ -55,21 +72,21 @@ There are many ways to do this, here is a simple walk through to get you going w
- Make sure to start a new cmd window.<br>
#### Linux
- You can find where java is by running `update-alternatives --list java <br>
- If you don't have a Java SDK, I recommend using an installer like Synaptic
- Search for 'jdk' by name and install the 'openjdk-8-jdk'
- You can then add the JAVA_HOME variable to a bash shell by typing
- export JAVA_HOME=(a path listed by a call to updata-alternatives --list java)
- For example : export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
- You can also add it to your ~/.bash_profile, or related file (.bashrc, .zshrc, .cshrc,, to get the path in all shells
export JAVA_HOME
export PATH
# Check to see if you have the JDK
$ update-alternatives --list java
# Note make sure you don't add the jre in the path of the java listed
# for example you may see '/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java'
# you will want the truncated '/usr/lib/jvm/java-8-openjdk-amd64'
# If you do not have the Java SDK
$ sudo apt-get install openjdk-8-jdk
# Set the JAVA_HOME environment variable
export JAVA_HOME='/usr/lib/jvm/java-8-openjdk-amd64'
You can also add it to your ~/.bash_profile, or related file (.bashrc, .zshrc, .cshrc,, to get the path in all shells
## Building
The build is directed by CMake to ensure it can be built on various platforms.
......@@ -104,6 +121,18 @@ make
cd Pulse
Note that on small boards, like the Beagle Board Black and DragonBoard 410c, you may need to allocate a <a href="">temporary swap</a> file if your build runs out of memory
It boils down to:
su - root
fallocate -l 1G tmpswap
mkswap tmpswap
swapon tmpswap
Read the article if you want to make this change permanent, it contains some valuable hints regarding permissions and fstab.
## Using Pulse
With the code built, visit our [wiki]( to learn how to execute Pulase and use our SDK to use Pulse in your own application with Pulse.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment