1.2 Build the Robot
So, you want to build your robot? Ok, here is some basic information about that. As you know
from the installation section, everything is already set up fine (remember the test compilation
of tanhoj). The directory where your robots sources are is $TORCS_BASE/src/drivers/bt. To build
your robot you will use "make". Make is a powerful tool which will track dependencies for you and
much more. But don't worry, everything is already set up.
I would suggest using an editor which supports at least syntax highlighting, easy to use are nedit and kate (choose C++ mode). I prefer kate.
Compile and Install Your Robot
$ cd $TORCS_BASE/src/drivers/bt
It should now be compiled. If you get errors, check the installation and the environment variables. If everything worked fine install your robot with
$ make install
In case you get errors here check if the compilation worked and if the permissions are correct
in /usr/local/share/games/torcs. If everything worked fine, start TORCS and choose practice, choose your robot
and start a practice session. Here it is and stays and stays and... Cool!
Now let's make it drive.