Search

Search found 5 matches

by anemol
23 Mar 2015, 11:04
Forum: AI
Topic: SWIG and float3.h failed
Replies: 4
Views: 1368

Re: SWIG and float3.h failed

Like work around, i write into my C++ library this: struct xyz { float x; float y; float z; }; extern struct xyz * GetPosition(springai::AIFloat3* pos); C# library can call GetPosition() to retrieve unit position information from his AIFloat3. It's not very elegant, but it works. So , now, i can wri...
by anemol
21 Mar 2015, 19:56
Forum: AI
Topic: SWIG and float3.h failed
Replies: 4
Views: 1368

Re: SWIG and float3.h failed

Paths are correct and AIFloat3.h is present. For others entities (Unit,Game,etc it's ok. I have complete acces to these classes). The only problem is AIFloat3. I have a partial access (only constructor AIFloat3(x,y,z) ) I have only this error when i put float3.h: System/float3.h:40: Error: Syntax er...
by anemol
21 Mar 2015, 19:21
Forum: AI
Topic: SWIG and float3.h failed
Replies: 4
Views: 1368

SWIG and float3.h failed

I use SWIG to export somes classes for my project. It work fine but I enconter a problem with AIFloat3 class and float3.h Here my file .i for SWIG: #ifdef SWIG %include <typemaps.i> %include <carrays.i> %include <std_string.i> %include <std_vector.i> %module AI %{ #include "CppTestAI.h" //...
by anemol
26 Sep 2014, 13:26
Forum: Linux
Topic: How to use Spring and Java (NullOOJavaAI)?
Replies: 2
Views: 1629

Re: How to use Spring and Java (NullOOJavaAI)?

those static builds may not have JAVA enabled My base version is Spring-85 (installed with apt-get install spring). For this reason I use Spring-96 (static lib) I copied AI directories from a packet "spring-javaai_96.0+dfsg-1_all" for Ubuntu 13.04 because Ubuntu 12.04 doesn't offer Spring...
by anemol
26 Sep 2014, 10:15
Forum: Linux
Topic: How to use Spring and Java (NullOOJavaAI)?
Replies: 2
Views: 1629

How to use Spring and Java (NullOOJavaAI)?

I can't use Spring with Java. I wanted to test the AI: "HughAI." When I start a game with a bot "HughAI" or "NullOOJavaAI", I get this message: Error: Unknow AI skirmish specifed. Skirmish AI "Bot1" #1 (ID:0), which controlled team 0 is now dead. I use: - Ubun...

Go to advanced search