Difference between revisions of "User:Hef/raspbian sdk"

From Pumping Station: One Wiki
Jump to: navigation, search
(raspbian dependencies)
(raspbian dependencies)
Line 14: Line 14:
 
./configure
 
./configure
 
make
 
make
 +
sudo make install
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 22:31, 19 September 2015

raspbian dependencies

<syntaxhighlight lang="bash"> sudo apt-get install -y libpulse-dev libopenal-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libasound2-dev libgeoclue-dev libbluetooth-dev libicu-dev libglib2.0-dev libffi-dev libxslt1-dev libjasper-dev libmng-dev libtiff4-dev </syntaxhighlight>

raspbian has a 0.3.x series libwebp, which is too old for qt 5.5. Get a newer one.

<syntaxhighlight lang="bash"> wget http://downloads.webmproject.org/releases/webp/libwebp-0.4.3.tar.gz cd libwebp tar -xvzf libwebp-0.4.3.tar.gz cd libwebp-0.4.3/ ./configure make sudo make install </syntaxhighlight>

Creating a sysroot

<syntaxhighlight lang="bash"> rsync -P -rt --ignore-errors --delete --copy-unsafe-links --links --exclude /home --exclude /tmp --exclude /proc --exclude /sys --exclude /srv --exclude /var/cache --exclude /dev --exclude /var/log --exclude /root --exclude /run --exclude /lost+found --exclude /var/tmp --exclude /var --exclude /usr/share --exclude /etc --exclude /usr/lib/ssl pi@raspbian.local:/ /Volumes/raspbian/ </syntaxhighlight>

build, takes 43 minutes, 32 seconds on my 8 core MBP. <syntaxhighlight lang="bash"> make -j8 make install -j8 </syntaxhighlight>