Andy's LEGO® Mindstorms® Page
About this site
  
What's New?
  
Standard Disclaimer
Quite C
  
Francesco Ferrara
  
Getting Started
  
Installing Quite C
  
Compiling a project
  
Sample Code
Chess
  
The Robot Chess Project
  
Programming Chess
  
First Attempt
  
Version 0
  
Version 1
  
The Program
  
The State of Play
  
The User Interface
  
The Move Generator
  
The Move Applier
  
The Rating Algorithm
  
The Search Algorithm
  
Putting it all together
  
The Robot
  
The Head
  
Moving the head
  
Movies
  
Downloads: Source Executables, MLCad Models
4-in-a-Robot
  
4-in-a-Robot - the Robot
  
The 4-in-a-Robot Base
  
The 4-in-a-Robot Delivery Mechanism
  
The 4-in-a-Robot Controller
  
4-in-a-Robot - the Code
  
The 4-in-a-Robot Algorithm
  
The 4-in-a-Robot Control Programming
  
The 4-in-a-Robot Robot-less version
  
Installing 4-in-a-robot
  
Playing the robotless 4-in-a-robot
  
View the source code
Speech
  
The problems with speech
  
Sounds familiar
  
H8 Timers Background
  
Trial and Error
  
Volume Zapper
  
Actually Speaking
  
Speak.c - the code
  
The VB code generator
Some ideas for the future
  
Room positioning robot
  
Neural Net Bot
  
Pianola
  
Text to speech
LEGO® Mindstorms® Links

[268744]

Installing Quite C

 

How do you install QC?


It's not too difficult, at least compared with LegOS

First, download the distribution from Francesco's web site at
http://digilander.iol.it/ferrarafrancesco/lego/qc/index.html

The QC distribution comprises of two files:
http://legos.sourceforge.net/files/windows/cygwin/win-h8-egcs-1.1.2.zip
and the quite C library:
http://digilander.iol.it/ferrarafrancesco/lego/qc/qc105.zip


Next extract these files using Winzip or another zip extractor to a new directory for QC on your hard drive.

Important note: The qc.zip contains a top level qc folder already. you may end up with an extra qc folder level in your Quite C directory, if you do - just copy the contents of the qc folder 'up a level' into the folder you made for Quite C. The directory structure should look like this:


To get the compiler to work, you need to tell it where you've just installed it

as you probably already know, your computer has an environment variable called PATH which lists the directories to look when finding files.
You need to add the \bin subdirectory of your QC directory to this path - don't worry it's quite easy:
Just open up autoexec.bat in notepad or sysedit (or your favourite editor) and you will see a line which reads: SET PATH=C:\WINDOWS or something similar.
Add your QC directory to the end of this, using a semicolon to separate it from the previous entry.
Remember that if there are spaces in the directory path, you need to add quotes (") around the path.
For example my path command reads: SET PATH=C:\WINDOWS;D:\lego\qc\bin
You'll have to reboot your computer to get it to read the new path into memory.


Actually, I prefer not to set my path, I just do it once from the command prompt when I start working by typing:
set path="%path%;d:\lego\qc\bin" on win95/98/ME
set path=%path%;d:\lego\qc\bin on winXP/NT/2K



Show Topic: Getting Started

Next Page: Compiling a project