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:
(idea from here)
then downloaded and installed Plib the usual way (later I learned there is a plib-dev package in Ubuntu now...):
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):
And so it compiled at last...
Now I'm busy racing :)
- sudo ln -s /usr/lib/libGL.so.1 /usr/lib/libGL.so
- sudo ln -s /usr/lib/libGLU.so.1 /usr/lib/libGLU.so
- sudo ln -s /usr/lib/libXi.so.6 /usr/lib/libXi.so
(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
- 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/libplibul.so.1 /usr/lib/libplibul.so
- sudo ln -s /usr/lib/libplibsg.so.1 /usr/lib/libplibsg.so
- sudo ln -s /usr/lib/libplibsl.so.1 /usr/lib/libplibsl.so
- sudo ln -s /usr/lib/libplibjs.so.1 /usr/lib/libplibjs.so
- sudo ln -s /usr/lib/libplibssg.so.1 /usr/lib/libplibssg.so
- sudo ln -s /usr/lib/libplibssgaux.so.1 /usr/lib/libplibssgaux.so
And so it compiled at last...
Now I'm busy racing :)
could you post some screenshots?
ReplyDeleteSorry I don't get it:
ReplyDelete- do you want some screenies of Speed-Dreams, or
- do you want some screenshots of a terminal, with all the above commands?
cheers
kilo
sorry.. I meant screenshots of SD 2.0
ReplyDeleteI see.
ReplyDeleteIn 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 http://speed-dreams.org or our user forum.
Well, good news:
ReplyDeleteHaruna 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:
http://www.youtube.com/watch?v=wQ-W91OOssU