Getting started

From AnimaKit
Revision as of 17:55, 2 June 2015 by AnimaRobotics (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Install prerequisites

For comfort work with AnimaKit you have to download these software..

VNC - remote access to AnimaKit

VNC allows you remotely control AnimaKit like it was your computer.

VNC for Windows 32-bit

VNC for Mac OS X

VNC for Linux 32-bit


How to use

To connect with AnimaKit open VNC.


Vnc connect.png


Type IP adress of your AnimaKit to Server e.g. 192.168.2.131:1 and hit OK.


Vnc login.png


Then type password bananapi.


Open Code::Blocks project on Desktop in folder AnimaKit workshop.


Code::Blocks IDE

Code::Blocks is great multiplatforming opensource programming enviroment for various languages.

The project wizard

Launch the Project Wizard through File->New->Project... to start a new project. Here there are many pre-configured templates for various types of projects, including the option to create custom templates. Select Console application, as this is the most common for general purposes, an click Go.

ProjectWizard.png

The console application wizard will appear next. Continue through the menus, selecting C++ when prompted for a language. In the next screen, give the project a name and type or select a destination folder. As seen below, Code::Blocks will generate the remaining entries from these two.

ConsoleApplication.png

Finally, the wizard will ask if this project should use the default compiler (normally GCC) and the two default builds: Debug and Release. All of these settings are fine. Press finish and the project will be generated. The main window will turn gray, but that is not a problem, the source file needs only to be opened. In the Projects tab of the Management pane on the left expand the folders and double click on the source file main.cpp to open it in the editor.

SelectSource.png

This file contains the following standard code.

main.cpp

#include <iostream>

using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}


Code download

You can download source code on this link: https://drive.google.com/file/d/0B3VzBsCFn7EtNENBSW9nQkF2Tk0/view?usp=sharing.

Personal tools
Namespaces

Variants
Actions
Navigation
Tools