Kirk Fraser
Posts: 50
Joined: Thu Feb 13, 2014 6:52 am

How do I compile in C++ or Squeak?

Fri Feb 14, 2014 3:09 pm

In the left bottom (start) menu, programming contains six entries,
IDLE (Python), IDLE 3 (Python 3), Scratch, Sonic Pi, Squeak, Wolfram

How do I compile C++ code?

When I select Squeak, it pops up a window titled: "There are several Squeak Images" "Choose one" and the sub-screen or window pane is blank with zero image choices.

I don't know most of the languages listed except Squeak a little. I know it has the advantage of supplying source code for its development environment, so you can learn to write applications as complex as Scratch which was written in Squeak. I do not know if there is any tutorial for the other languages that compares, except C++ has a lot of free open source code available online. So how can I get Squeak to work? And how do I access the features of RPi such as the I/O pins and USB I/O through Squeak?

Also, some examples for the other languages like Sonic Pi may be useful.

Thanks.




I

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: How do I compile in C++ or Squeak?

Fri Feb 14, 2014 3:35 pm

How do I compile C++ code?

Code: Select all

g++ My_source_code.cpp
Also, some examples for the other languages like Sonic Pi may be useful.
https://github.com/samaaron/sonic-pi/wi ... ng-Started
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Kirk Fraser
Posts: 50
Joined: Thu Feb 13, 2014 6:52 am

Re: How do I compile in C++ or Squeak?

Fri Feb 14, 2014 3:57 pm

Thank you on the easy C++ compile. Also, the Sonic Pi link (don't need music but thanks for answer).

Now does anyone know how to get Squeak going? I tried "sudo apt-get install squeak" but unable to locate package squeak. Maybe I need to download from Squeak.org and put it in the file system manually?

Return to “Beginners”