Compiling RAI?

Compiling RAI?

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Compiling RAI?

Post by BlueTemplar »

I'm trying to compile RAI with Xcode for Mac Os X, but I get missing file errors... files from ExternalAI and Sim from the Spring source code. I tried to put them in the compiling folder, but it still doesn't work. I think I stumbled on the problem described here :
--- Mac Dylibs (install_path issue) ---

If you find yourself getting error messages about dyld not being able to find dylibs, chances are your dylibs are missing, or you've stumbled on to this dyld bug. Basically your applications grabs the install path from the dylib when it is being compiled and as a side affect, if its installed elsewhere, dyld simply won't find it (why they don't use search paths is beyond all of us, esp when search paths are used for frameworks).

I'm using a script build phase to fix the paths atm. As long as you redirect it to the correct files, it should still copy them appropriately and everything should work fine.

read-this: http://qin.laya.com/tech_coding_help/dylib_linking.html
Since it's the first time I'm trying to compile anything, and I have no idea how to "use a script build phase to fix the paths", is there another simple way to fix this problem?
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: Compiling RAI?

Post by Vadi »

I had the same error on Linux, didn't find the sources for that stuff though. Where'd you get it from?
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Re: Compiling RAI?

Post by BlueTemplar »

The RAI from the RAI thread, the spring source code from the download page.
zenzike
Posts: 77
Joined: 12 Apr 2008, 13:19

Re: Compiling RAI?

Post by zenzike »

Have you made sure you've included the
../../../../spring/rts
../../../../spring/rts/System
directories?
Post Reply

Return to “AI”