Difference between revisions of "Compiling for Raspberry Pi"
TOC_Official (talk | contribs) m (Add language options) |
(Add the method for fixing libcurl dependencies.) |
||
Line 5: | Line 5: | ||
So, implying you use Raspbian, which most people do, just follow [[Compiling TPT++ on debian/ubuntu]] and run scons as you would normally. The default flags might enable SSE, so disable that with <code>--no-sse</code>. It's going to take forever to build, so if you have a Pi 2 then you can use <code>-j4</code> to utilize the quad-core processor fully. | So, implying you use Raspbian, which most people do, just follow [[Compiling TPT++ on debian/ubuntu]] and run scons as you would normally. The default flags might enable SSE, so disable that with <code>--no-sse</code>. It's going to take forever to build, so if you have a Pi 2 then you can use <code>-j4</code> to utilize the quad-core processor fully. | ||
+ | |||
+ | If there is warning regarding missing libcurl, you might need to run the following on command line<br> | ||
+ | <code>sudo apt install libcurl4-openssl-dev</code> | ||
[[Category:Development]] | [[Category:Development]] | ||
[[Category:Compiling]] | [[Category:Compiling]] |
Revision as of 04:33, 17 May 2019
Language: | English • 中文 |
---|
Hi!
Compiling TPT on the Raspberry Pi is exactly the same process as compiling it on Linux.
So, implying you use Raspbian, which most people do, just follow Compiling TPT++ on debian/ubuntu and run scons as you would normally. The default flags might enable SSE, so disable that with --no-sse
. It's going to take forever to build, so if you have a Pi 2 then you can use -j4
to utilize the quad-core processor fully.
If there is warning regarding missing libcurl, you might need to run the following on command line
sudo apt install libcurl4-openssl-dev