Re: torcs compilation error
Joseph Giancarlo <[email protected]> Sat, 1 Oct 2016 21:12:58 -0400
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <CAGXNKEA=pVd0RtQRp-ZH+FADB-dGL+SCzXACuHBb+v011e-sVQ@mail.gmail.com> |
I (semi) successfully compiled 1.3.7! and am now trying to make a driver. I
followed the steps in the tutorial and everything seemed ok until I run
make on the new bot and I get this warning:
_________________________________________________________
jbt.cpp: In function ‘int jbt(tModInfo*)’:
jbt.cpp:52:22: warning: deprecated conversion from string constant to
‘char*’ [-Wwrite-strings]
modInfo->name = "jbt"; /* name of the module (short) */
^
jbt.cpp:53:22: warning: deprecated conversion from string constant to
‘char*’ [-Wwrite-strings]
modInfo->desc = "test"; /* description of the module (can be long)
*/
^
g++ -shared -o jbt.so jbt.o -L/usr/src/torcs/torcs-1.3.7/export/lib
-lopenal -lalut -lvorbisfile -L/usr/lib
Exporting jbt.so to /usr/src/torcs/torcs-1.3.7/export/drivers/jbt/jbt.so
____________________________________________________________
Then if i run torcs and start a race with the bot it closes
Any advice would be appreciated. Thanks!
On Sun, Sep 25, 2016 at 6:48 PM, David Savinkoff <[email protected]> wrote:
> ----- Joseph Giancarlo wrote:
> > Hello all,
> >
> > I finally got around to reinstalling ubuntu and am now trying to get
> torcs
> > going and hopefully race next season. I ran into some errors configuring
> > torcs and would appreciate someone helping me through the error log. I
> > could not figure out where it breaks.
> >
> > thanks,
> > --
> > Joe
>
> You are compiling torcs-1.2.4 and 'configure' cannot find libm because
> much has changed since torcs-1.2.4
>
> torcs-1.3.7 is the current version, it should compile.
>
--
Joseph Giancarlo
Michigan Technological University
Civil Engineering 2016
248-763-9592
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Torcs-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-users