hello and happy New Year!
do i have to incorporate the AI sources into the Spring sources and then build and install Spring from the sources? is there another way without building Spring?
[solved] how to build a C++ AI?
Moderators: hoijui, Moderators
[solved] how to build a C++ AI?
Last edited by Shaitan on 10 Jan 2014, 16:11, edited 1 time in total.
Re: how to build a C++ AI?
yes, compiling inside spring is recommended as some ai interface / header files are automaticly generated. (afaik)
you can extract all dependencies but imo its not worth the trouble/time.
if you are using linux then compiling should be quiet easy (apt-get install ...), on windows its mostly difficult to setup. also windows compile is mostly broken because atm none/very few develops spring engine on windows.
you can extract all dependencies but imo its not worth the trouble/time.
if you are using linux then compiling should be quiet easy (apt-get install ...), on windows its mostly difficult to setup. also windows compile is mostly broken because atm none/very few develops spring engine on windows.
Re: how to build a C++ AI?
Beherith uses the Windows-way? He said something a month ago about how difficult it was to setup Visual Studio for this .
Re: how to build a C++ AI?
yes, i'm on Kubuntu. i noticed the new release of Spring 96, downloaded the sources, copied the CppTestAI directory in the AI folder, made it my new AI, and built Spring. the AI is now in the Spring lobby list. it took Shard 16 minutes to kill my lone commander incapable of moving.abma wrote:yes, compiling inside spring is recommended as some ai interface / header files are automaticly generated. (afaik)
you can extract all dependencies but imo its not worth the trouble/time.
if you are using linux then compiling should be quiet easy ...
now it's time to make it do something about its military potential, which is another topic. but when i change my AI, will i have to repeat the whole process of building Spring to see the changes in my AI's behavior?
Re: how to build a C++ AI?
Afaik if you don't "make clean", the build will be incremental -> only changed or affected files will be recompiled. Which should take at most a minute.will i have to repeat the whole process of building Spring to see the changes in my AI's behavior?
Re: how to build a C++ AI?
build targets for ai's exist, you can just compile ai's as well, for example
or sth. like that.make AAI Shard Kaik
Re: how to build a C++ AI?
oh, that's really neat!make AAI Shard Kaik
