Compiling for Raspberry Pi

From The Powder Toy
Revision as of 04:33, 17 May 2019 by lamyipfu (talk | contribs) (Add the method for fixing libcurl dependencies.)
Jump to: navigation, search
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