howto:hexabus_on_rpi
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
hexabus_on_rpi [2013/05/13 07:15] – justinotherguy | hexabus_on_rpi [2013/05/15 22:10] – justinotherguy | ||
---|---|---|---|
Zeile 18: | Zeile 18: | ||
=== install development tools === | === install development tools === | ||
< | < | ||
- | apt-get install git cmake clang++ | + | apt-get install git cmake g++ libsqlite3-dev |
- | </ | + | |
- | + | ||
- | === install development tools === | + | |
- | < | + | |
- | apt-get install | + | |
</ | </ | ||
Zeile 31: | Zeile 26: | ||
</ | </ | ||
- | === install libklio === | + | === compile and install libklio === |
< | < | ||
cd / | cd / | ||
git clone https:// | git clone https:// | ||
cd libklio | cd libklio | ||
- | make | ||
make release *) | make release *) | ||
+ | dpkg -i build/ | ||
cd .. | cd .. | ||
Zeile 43: | Zeile 38: | ||
make release throws an error at the end because it's unable to find rpmbuild (well...): | make release throws an error at the end because it's unable to find rpmbuild (well...): | ||
[...] | [...] | ||
- | Linking CXX executable algorithmstest | ||
- | / | ||
- | [100%] Built target algorithmstest | ||
- | Run CPack packaging tool... | ||
- | CPack: Create package using STGZ | ||
- | CPack: Install projects | ||
- | CPack: - Run preinstall target for: libklio | ||
- | CPack: - Install project: libklio | ||
- | CPack: Create package | ||
- | CPack: - package: / | ||
- | CPack: Create package using TGZ | ||
- | CPack: Install projects | ||
- | CPack: - Run preinstall target for: libklio | ||
- | CPack: - Install project: libklio | ||
- | CPack: Create package | ||
- | CPack: - package: / | ||
- | CPack: Create package using DEB | ||
- | CPack: Install projects | ||
- | CPack: - Run preinstall target for: libklio | ||
- | CPack: - Install project: libklio | ||
- | CPack: Create package | ||
CPack: - package: / | CPack: - package: / | ||
CPack: Create package using RPM | CPack: Create package using RPM | ||
Zeile 72: | Zeile 46: | ||
CMake Error at / | CMake Error at / | ||
RPM package requires rpmbuild executable | RPM package requires rpmbuild executable | ||
- | |||
CPack Error: Error while execution CPackRPM.cmake | CPack Error: Error while execution CPackRPM.cmake | ||
Zeile 82: | Zeile 55: | ||
</ | </ | ||
- | === install | + | === compile and install |
- | < | + | |
- | dpkg -i build libklio-0.2.0-linux.deb | + | |
- | </ | + | |
- | + | ||
- | === install hexabus | + | |
< | < | ||
git clone https:// | git clone https:// | ||
Zeile 95: | Zeile 63: | ||
make release | make release | ||
dpkg -i build/ | dpkg -i build/ | ||
+ | cd .. | ||
</ | </ | ||
- | === install Hexabus assembler === | + | === compile and install Hexabus assembler === |
< | < | ||
- | cd ../hba | + | cd hba |
make release | make release | ||
+ | cd .. | ||
+ | </ | ||
- | output: | + | === compile and install Hexabus |
- | -- The C compiler | + | < |
- | -- The CXX compiler identification is GNU 4.6.3 | + | cd hbc |
- | -- Check for working C compiler: / | + | make release |
- | -- Check for working C compiler: / | + | cd .. |
- | -- Detecting C compiler ABI info | + | </ |
- | -- Detecting C compiler ABI info - done | + | |
- | -- Check for working CXX compiler: / | + | |
- | -- Check for working CXX compiler: / | + | |
- | -- Detecting CXX compiler ABI info | + | |
- | -- Detecting CXX compiler ABI info - done | + | |
- | -- Looking for C++ include iostream | + | |
- | -- Looking for C++ include iostream - found | + | |
- | -- Check for STD namespace | + | |
- | -- Check for STD namespace - found | + | |
- | -- Check for ANSI scope | + | |
- | -- Check for ANSI scope - found | + | |
- | -- Check for sstream | + | |
- | -- Check for sstream - found | + | |
- | -- Boost version: 1.49.0 | + | |
- | -- Found the following Boost libraries: | + | |
- | -- | + | |
- | -- | + | |
- | ***** Configuration ***** | ||
- | prefix: /usr/local | ||
- | boost include: / | ||
- | boost program options lib: / | ||
- | boost system lib: / | ||
- | extended logging: 1 | ||
- | -- Configuring done | ||
- | -- Generating done | ||
- | -- Build files have been written to: / | ||
- | Scanning dependencies of target hba | ||
- | [ 11%] Building CXX object libhba/ | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | make[3]: *** [libhba/ | ||
- | make[2]: *** [libhba/ | ||
- | make[1]: *** [all] Error 2 | ||
- | make: *** [release] Error 2 | ||
- | (here' | + | libhexabus: |
- | [ 22%] Building CXX object libhba/ | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | make[3]: *** [libhba/ | + | |
- | make[2]: *** [libhba/ | + | |
- | make[1]: *** [all] Error 2) | + | |
- | </ | + | |
- | + | ||
- | libhexabus: | + | |
hba: 100 min | hba: 100 min | ||
hbc: 440 min | hbc: 440 min | ||
- | hexinfo: | + | hexinfo: |
+ | |||
+ | |||
+ | apt-get install libboost-system1.49.0 libboost-program-options1.49.0 libboost-filesystem1.49.0 libboost-thread1.49.0 |
howto/hexabus_on_rpi.txt · Zuletzt geändert: 2013/09/24 04:17 von r00t