Re: Weird Torcs error

"Arthur M. Meskelis" <[email protected]> Sun, 31 Aug 2014 17:34:33 -0300
Newsgroups gmane.games.torcs.general
Message-ID <CALjQBOF-ZV2RXgymMsOcBHb3YNrfh0z+mA+7DTfb+Y4R2Jp4xQ@mail.gmail.com>
Hi guys

I don't know if I should open other thread because I had the same problem
talked here.
I was trying to build torcs on ubuntu 12 LTS on VirtualBox and I had the
problem about XML_ParserCreate and after solved,  others problems
with XRRGetScreenInfo, _Z19TorcsDriverMenuInitPv and _Z14startMenuMusicv.
And I found a solution for every one.

-l* taked from Make-config file

XML_ParserCreate
Appears to be that libtgf is not been compiled/linked with libtxml. I did
on tgf directory ...

gcc -shared -fPIC -o libtgf.so *.o -lc -lplibjs -lplibssgaux -lplibssg
-lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lpng -lz -ldl
-lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm -L
../txml/ -ltxml

, exported to the right lib directory and it worked !

XRRGetScreenInfo
libtgfclient.so compiled with Xrandr lib (as in Make-config)

gcc -shared -fPIC -o libtgfclient.so *.o -lc -lplibjs -lplibssgaux
-lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lpng -lz
-ldl -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11
-lm

_Z19TorcsDriverMenuInitPv and _Z14startMenuMusicv
libclient.so compiled with libconfscreens and libmusicplayer

gcc -shared -fPIC -o libclient.so *.o -lc -lplibjs -lplibssgaux -lplibssg
-lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lpng -lz -ldl
-lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm -L
../confscreens/ -lconfscreens -L ../musicplayer/ -lmusicplayer

So after all above Torcs started to work on my Ubuntu 12 LTS.
Unfortunatelly, I do not know why *make* did not work correctly


regards

obs1.: I added export LIBGL_ALWAYS_INDIRECT=1 to my ~/.bashrc to GL work on
VirtualBox but this have nothing to the thread.


2013-12-20 8:01 GMT-02:00 Bernhard Wymann <[email protected]>:

> Hi Evgenios
>
> You are welcome. So TORCS is building and running fine now, great to
> hear. I guess you reinstalled the same Ubuntu Version as you had before,
> so this case will remain a mystery then...
>
> Kind regards
>
> Bernhard
>
> On 12/20/2013 12:37 AM, Evgenios Kastanias wrote:
> > Well, thanks for your help, in the end I re-installed ubuntu and It
> worked
> > flawlessly so I am at a loss as well at what I did wrong.
> >
> > Thanks everyone for your time here!
> >
> >
> >
> ------------------------------------------------------------------------------
> > Rapidly troubleshoot problems before they affect your business. Most IT
> > organizations don't have a clear picture of how application performance
> > affects their revenue. With AppDynamics, you get 100% visibility into
> your
> > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
> AppDynamics Pro!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Torcs-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/torcs-users
> >
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Torcs-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/torcs-users
>



-- 
------------------------------------------
 1. Notebook para você ficar livre e programar a vontade: R$ 2300
 2. Curso de Programação/SysAdmin/DBA: R$ 5000
 3. Pedir a solução pronta para um problema numa lista de discussão: Não
tem preço !

E para todas as outras existe RTFM, STFW e  LMGTFY

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/

_______________________________________________
Torcs-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-users