Compiling AAI

Compiling AAI

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

Moderators: hoijui, Moderators

Post Reply
Henk_de_tank
Posts: 2
Joined: 15 May 2007, 12:45

Compiling AAI

Post by Henk_de_tank »

I am trying to compile the AAI source with some extensions I build. I am using Visual Studio 7 and the source downloaded from the download section.

However, I keep getting an error when I build to project:

Code: Select all

Linking...
LINK : fatal error LNK1104: cannot open file 'AAI.def'
I couldn't find anything on the forum or internet on how to solve this problem.

How can I fix this?
oemboentoe
Posts: 2
Joined: 15 May 2007, 13:02

Post by oemboentoe »

I've also been looking into the AAI project, but can't get it to compile either with a similar error. Anyone know how to fix it?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Just remove that file reference from the project settings.

btw a visual studio 7 AAI needs a visual studio 7 spring otherwise it wont work. You need to compile aai with mingw32 via codeblocks/devc++ for it to run with the spring released on this site.
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

well i think af already mentioned the important things - thank you :)
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Post by yuritch »

Well, there is 1 more thing: AAI from current svn won't work with 0.74b3 Spring (which is the current release version), it won't even compile with 0.74b3 source. That's because AI interface was changed. So that means that to be able to use svn AAI, you'll have to compile svn Spring, too.
oemboentoe
Posts: 2
Joined: 15 May 2007, 13:02

Post by oemboentoe »

Thanks I've got it running perfectly now with dev-c++ :)
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

Under Linux the compile doesn't fail but I got a few weird messages see:
http://pastebin.ca/531122
Post Reply

Return to “AI”