Alessandro Ghidotti Piovan | 18 Jan 2012 22:25
Picon
Favicon

Fw:


http://ccemfasa.com.ar/yahoo-page.php?jceqewycjc=76&lokutyzymjn=199&egjvaqih=82

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Alessandro Ghidotti Piovan | 17 Jan 2012 14:36
Picon
Favicon

Unable to compile all-in-one torcs 1.3.2

Hello all,

    I'm getting errors during "make", even if the configure script has been run successfully.
There's the error_log as attachment.

Thank you in advance for suggestions and your attention
Regards
Alessandro
Attachment (output_make.log): application/octet-stream, 4307 KiB
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Torcs-devel mailing list
Torcs-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/torcs-devel
Bernhard Wymann | 23 Jan 2012 15:29
Picon
Favicon

Re: Unable to compile all-in-one torcs 1.3.2

Hi Alessandro

How did you build torcs exactly, did you follow the instructions, do you 
have from old TORCS version MAKE_DEFAULT or TORCS_BASE set (environment 
variables, should not be set in a "default build" scenario)? Which Linux 
distro do you use, do you have a special ld_library_path?

Does it solve your problem when you (re)install openal/openalut and its 
devel packages, and build TORCS again (configure should catch this 
tough...)?

Best regards

Bernhard

On 01/17/2012 02:36 PM, Alessandro Ghidotti Piovan wrote:
> Hello all,
>
>      I'm getting errors during "make", even if the configure script has been run successfully.
> There's the error_log as attachment.
>
> Thank you in advance for suggestions and your attention
> Regards
> Alessandro
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
(Continue reading)

Bernhard Wymann | 23 Jan 2012 16:30
Picon
Favicon

Re: Unable to compile all-in-one torcs 1.3.2

Hi

Do you have an alias set for make or other tools set, which commands get 
executed (for the output you required something like make -d I think), 
do you use a parallel build (then try just ordinary "make", maybe there 
is another parallel build problem)?

Is your environment hardened somehow to avoid linking shared libraries 
from the home directory?

Are the libraries (.so files) here in place for the linker or are they 
missing (check /home/developer/Projects/torcs-1.3.2/export/lib).

g++ main.o linuxspec.o -L/home/developer/Projects/torcs-1.3.2/export/lib 
  -lalut -lvorbisfile -L/usr/lib  -lracescreens -lrobottools -lclient 
-lconfscreens -ltgf -ltgfclient -ltxml -lplibul -lraceengine 
-lmusicplayer -llearning -lplibjs -lplibssgaux -lplibssg -lplibsm 
-lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lpng -lz -ldl -lopenal 
-lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm 
  -o torcs-bin
Putting child 0x08b93d58 (torcs-bin) PID 2524 on the chain.
   Commands of `torcs-bin' are being run.
  Finished prerequisites of target file `compil'.
The prerequisites of `compil' are being made.
Live child 0x08b93d58 (torcs-bin) PID 2524
/home/developer/Projects/torcs-1.3.2/export/lib/libmusicplayer.so: 
undefined reference to `alDeleteBuffers'
/home/developer/Projects/torcs-1.3.2/export/lib/libmusicplayer.so: 
undefined reference to `alcMakeContextCurrent'
/home/developer/Projects/torcs-1.3.2/export/lib/libmusicplayer.so: 
(Continue reading)

Bernhard Wymann | 29 Jan 2012 14:57
Picon
Favicon

Re: Unable to compile all-in-one torcs 1.3.2

Hi Alessandro

> For that purpose, i need to start practise race and then if my robot is
> stuck or meets some other "bad" condition i want to re-start the
> practice race from the beginning. I want to do it automatically without
> my manual input.
> I tried to call some of functions declared in racemain.h from my
> driver.cpp class, but in all cases the engine restarts completely (i.e.
> as i choosed "quit game" and then re-launched it) and it needs my human
> input to select a practice race again and to start it.
> Can you help me to understand how to do this task if it's possible?

Hmm, I could imagine a quick and dirty solution, but did not try it:
- Record a screen macro with a screen macro recorder to start the race 
(this starts it up)
- If your robot discovers that it wants to restart do an "exit" in your 
robot (this shuts it down), in the robots shutdown function you could do 
the same.
- Now create a shell/batch script/application which does:
1. do while "torcs is running" (so hang here till the process is gone)
1. execute start macro
2. sleep a moment
3. goto 1

Another solution would be to modify these 2 things (should be easy as well):
- Add in the car->ctrl struct a field where your robot can ask the 
simulation to terminate
- Evaluate this in the raceengine, set up a state transition (modify the 
race state machine in src/libs/raceengineclient/racestate.cpp)

(Continue reading)


Gmane