|
From: Joseph G. <jmg...@mt...> - 2016-10-02 01:13:25
|
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 <dsa...@te...> 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
|