Trouble building a robot
Tennessee Leeuwenburg <[email protected]>
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <CADhgxgcTLTDUf+1pH3nX2_YKJua92Wv_eL67PLHAJoQVkud0vQ@mail.gmail.com> |
Hi all, I'm having trouble building my own robot. I have things compiling, it's just ... not there ... when I run a practise race. I'm on Ubuntu 11.10. I realised that I think I need to compile Torcs myself into order to build robot drivers, so after a while I downloaded the sources rather than using the apt installer. I did need to apply the patch found on the homepage in order to get it to work, but after finding that, things are fine. I compiled with a prefix (/home/tennessee/tdev) rather than putting things in /usr, but that is no problem. The program runs fine, I can race as a human driver etc. I tried to work through the tutorial found at http://www.berniw.org/. I found I had a few small issues, then a big one. First, I am pretty sure I'm running robotgen from the right place. It builds an extra directory for my car name in src/drivers/mycarname, and puts the schedule of files in there. The tutorial says to run "make" from that directory. If I do that, then what I get is "make: *** No targets. Stop." . So I tried something else, what was to run "make" from the top-level directory and build the whole application. This seemed to work. I now have mycarname.so and mycarname.o files in that directory. So I ran make install to finish things off. However, when I run torcs, the driver is simply not there in the list under "configure race". Is there anything else I should be doing, or anything else that I can check to try and resolve the issue? Thanks, -Tennessee -- -------------------------------------------------- Tennessee Leeuwenburg http://myownhat.blogspot.com/ "Don't believe everything you think" ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2