Thursday, June 30, 2011

Install Speed Dreams on Ubuntu

Following up of my TORCS install howto, today I'll tell you what I had to do to get Speed-Dreams up and working on a brand new, clean Ubuntu 11.04 (Natty Narval) install.
NB: I usually work on the trunk branch of Speed Dreams, using git-svn, but I think the download packages should work the same.

So this is what I've started with:

  • sudo apt-get install cmake libsdl1.2-dev libjpeg8-dev libxmu-dev

then made some links:

  • sudo ln -s /usr/lib/ /usr/lib/
  • sudo ln -s /usr/lib/ /usr/lib/
  • sudo ln -s /usr/lib/ /usr/lib/

(idea from here)

then downloaded and installed Plib the usual way (later I learned there is a plib-dev package in Ubuntu now...):

  • Visit the PLib download page.
  • Download the 1.8.5 version, then do as told: tar xzf plib-1.8.5.tar.gz
  • cd plib-1.8.5
  • ./configure
  • make
  • sudo make install
and then onto adding some more dev libs:

  • sudo apt-get install libopenal-dev libenet1-dev

At this point "cmake ." still wasn't happy, whining about some plib thingies. Quick googling led me to our own forum (khm) and launching cmake in interactive mode (cmake -i .) I was able to set the correct location of the PLib includes.
This was so satisfying that cmake agreed to complete 100%.

Now in the make phase I quickly faced the first problem, at about 9% of compiling. It missed some libplib*.so files in the /usr/lib directory. Noproblemo, linking is our friend (every other day):

  • sudo ln -s /usr/lib/ /usr/lib/
  • sudo ln -s /usr/lib/ /usr/lib/
  • sudo ln -s /usr/lib/ /usr/lib/
  • sudo ln -s /usr/lib/ /usr/lib/
  • sudo ln -s /usr/lib/ /usr/lib/
  • sudo ln -s /usr/lib/ /usr/lib/

And so it compiled at last...
Now I'm busy racing :)


  1. could you post some screenshots?

  2. Sorry I don't get it:
    - do you want some screenies of Speed-Dreams, or
    - do you want some screenshots of a terminal, with all the above commands?


  3. sorry.. I meant screenshots of SD 2.0

  4. I see.

    In fact my system isn't the best for shooting screenshots (an old Radeon Mobility card).
    I will propose to have some SD2.0 screenshots published on or our user forum.

  5. Well, good news:

    Haruna has posted a stunning video on YouTube about our LS-GT1 cars racing on Corkscrew. I know this is not a screenshot, however a good way to see where the project is heading: