Difference between revisions of "Compiling for Raspberry Pi"

From The Powder Toy
Jump to: navigation, search
(Add the method for fixing libcurl dependencies.)
m (Reverted edits by lamyipfu (talk) to last revision by TOC_Official)
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:41, 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.