<\/a>So I just received a Raspberry Pi, which is a tiny, low-power Linux computer that sells for about $25.<\/p>\nThe Raspberry Pi itself is approximately the same size as the power supply for my current laptop.\u00a0 It is very slightly larger than my mouse (I use a small mouse.\u00a0 It’s similar in size to a more normal mouse.)<\/p>\n
My thought had been that since the VectorStorm engine supports Linux,\u00a0 it would be an entertaining diversion to compile one of the earlier VectorStorm games over to run on the Pi, and see how well I could get it to run.<\/p>\n
On my current laptop (which is quite beefy, for a laptop), compiling Atop from scratch takes about six seconds.<\/p>\n
On the Raspberry Pi, it takes about ten minutes.\u00a0 But the cmake build just worked.\u00a0 First try.\u00a0 There wasn’t actually anything for me to do, apart from get the source code onto the box and compile it there.\u00a0 (Exception:\u00a0 Raspberry Pi’s package system has a very old version of Box2D.\u00a0 I had to build and install my own copy of the latest Box2D library in order to get the VectorStorm library to build.\u00a0 Which also consisted only of getting the source and having cmake build and install it.)\u00a0 Note that Atop doesn’t actually use Box2D in any way.\u00a0 I keep thinking that I should probably remove Box2D from the basic VectorStorm library;\u00a0 make it a plugin or something, so I don’t have to keep linking against it when I’m not using it.<\/p>\n
Of course, it then failed to create an OpenGL context, either in XWindows or through direct framebuffer rendering.\u00a0 Hoping to be able to run OpenGL code through an OpenGL context created via SDL was probably overly optimistic!\u00a0 But I’m pleased that it built so easily.\u00a0 I might look into figuring out the necessary Raspberry Pi requirements to get a working OpenGL context sometime in the future.\u00a0 But I don’t really want to spend too much time on it just now.\u00a0 I’m just impressed at the combination of tiny size, low cost, and ability to quickly set up all the needed development libraries.\u00a0 I’m certainly not going to switch to it as a primary development platform, but.. it’s a fun little toy!<\/p>\n","protected":false},"excerpt":{"rendered":"
So I just received a Raspberry Pi, which is a tiny, low-power Linux computer that sells for about $25. The Raspberry Pi itself is approximately the same size as the power supply for my current laptop.\u00a0 It is very slightly larger than my mouse (I use a small mouse.\u00a0 It’s similar in size to a…<\/p>\n","protected":false},"author":1,"featured_media":2707,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[7],"tags":[],"jetpack_featured_media_url":"https:\/\/www.vectorstorm.com.au\/wp-content\/uploads\/2013\/01\/Raspi_Colour_R.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-HE","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2706"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=2706"}],"version-history":[{"count":5,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2706\/revisions"}],"predecessor-version":[{"id":2709,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2706\/revisions\/2709"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media\/2707"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=2706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=2706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=2706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}