Page 1 of 1

no "GetGlobalAiVersion" function exported

Posted: 22 Dec 2008, 06:01
by Double D
Ubuntu 8.04 ... 32bit ...
Installed from repo ...

I cannot seem to play any single player games with CA or BA. I cannot add a bot from the lobby or when starting the game directly...with any of the AI's. I keep receiving this error message:

Incorrect GlobalAI library "/home/usrName/AI/Bot-libs/RAIO533.so" (no "GetGlobalAiVersion" function export)

You can substitute any AI for the RAI0533.so part ...

Anyone else seen this? Any help would be appreciated ...

Re: no "GetGlobalAiVersion" function exported

Posted: 22 Dec 2008, 14:30
by hoijui
on Ubuntu 8.04 32bit, it works fine here.
(i compile with GCC 4.2.3 and CMake)
it should actually be libRAI0.601 by now, not 553 anymore.
i guess something wiht your data-dirs is wrong. maybe spring tries to load AIs from an old installation, or you are starting an old spring (eg, use ./spring instead of spring).

Re: no "GetGlobalAiVersion" function exported

Posted: 25 Dec 2008, 14:32
by Double D
Thanks!! That worked!

Re: no "GetGlobalAiVersion" function exported

Posted: 09 Jan 2009, 00:47
by superslick
What worked? I am having the same problem in 8.10.

Re: no "GetGlobalAiVersion" function exported

Posted: 09 Jan 2009, 01:31
by Double D
For one reason or another I noticed that I had a number of Spring related directories in my home dir (AI, Base, ect...). I simply moved these into my .spring directory and placed the AI file (libRAI-0.601.so) in the /.spring/AI/Bot-libs/ directory.

Re: no "GetGlobalAiVersion" function exported

Posted: 10 Jan 2009, 00:16
by superslick
Thanks, but that is already what I am doing. Hoijui, any suggestions?

Re: no "GetGlobalAiVersion" function exported

Posted: 10 Jan 2009, 02:04
by superslick
Also, would it work on 64 bit?

Re: no "GetGlobalAiVersion" function exported

Posted: 01 Feb 2009, 11:47
by hoijui
i can not help with 64bit, i have no idea, and dont hae a 64bit system.
it should be something with your data dirs aswell, look at /etc/spring/datadir, ~/.spring, /usr/share/games/spring/
somewhere you will be having old AIs, that get loaded instead of the new ones, remove the old ones or backup them somewhere if you are paranoic.

srry for late answer, i am seldomly in here.