Skip to content

A GUI for the Logo programming environment

Notifications You must be signed in to change notification settings

GeorgiaSamaritaki/turtle-project

Repository files navigation

Turtle prpject - Logo GUI

This is a small cpp project i developed during a course

This file contains instructions for installing Allegro and building the demo project.

For the API guide, see Documentation.md.


Windows

Build and run using Visual Studio.

Create an empty project

  • Open the project creation dialog: File → New → Project...
  • Opt for an empty project: Visual C++ → General → Empty Project

Install Allegro using NuGet

  • Right-click on your project and select Manage NuGet Packages.
  • Go to the Browse tab and search for Allegro using the search bar.
  • Locate Allegro package and press Install.

Configure Allegro

  • Right-click on your project and select Properties.
  • Select Allegro 5 and set the Library type to Dynamic Debug - Dynamic Runtime.
  • Now enable the required Add-ons:
    • Image
    • Font
    • TrueType Font
    • Primitives
    • Color
  • Hit the Apply button.

Linux

Install Allegro

Ubuntu 18.04+
sudo apt install liballegro*5.2 liballegro*5-dev
Fedora
sudo dnf install allegro5*
Other distros

Search with your package manager for a binary package or build from source, if none is available (see Getting Started guide at the bottom of this page).

Compiling from terminal

g++ -std=c++11 hy352_gui.cpp example.cpp -o hy352_demo $(pkg-config --libs allegro-5 allegro_image-5 allegro_primitives-5 allegro_font-5 allegro_ttf-5)

macOS

It seems NOT to work on macOS. Please, try on Windows or a Linux VM.


Install Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install Allegro

brew install allegro

Compiling from terminal

clang++ -std=c++11 hy352_gui.cpp example.cpp -o hy352_demo -lallegro -lallegro_primitives -lallegro_image -lallegro_ttf -lallegro_font -lallegro_main

Using Xcode

Open ./projects/xcode/LogoGUI.xcodeproj.

Resources

About

A GUI for the Logo programming environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages