forum.starcraftai.com

BWAPI with VS2012?

BWAPI with VS2012?

Posted: Tue Jan 22, 2013 12:46 pm

by Kae

Hi guys,

I plan to migrate toward Visual Studio 2012 for AIUR. I saw on UAlbertaBot webpage that Dave did not upgrade his project from VS2008 to VS2012, since BWAPI is compiled on VS2008, and it seems to work well for him (http://code.google.com/p/ualbertabot/wiki/Instructions).

However my VS2012 forces me to upgrade my AIUR VS2008 projet, otherwise it did not accept to open it. So I realise I must recompile BWAPI through VS2012 to make it work, and I have to say: it is a total mess!

Any clue when a BWAPI version should be ready for VS2012? Or anyone know an easy trick to fix this problem?

Thanks!

Re: BWAPI with VS2012?

Posted: Tue Jan 22, 2013 12:54 pm

by krasi0

Hi,I think you should convert the proj to VS2012 but you need to still specify V90 compiler and it should work fine.

Re: BWAPI with VS2012?

Posted: Tue Jan 22, 2013 3:24 pm

by Kae

Well, I have two problems with this approach:- if I select the v90 compiler, I guess I can say good bye to C++11 features.- plus, I can't select the v90 platform on my vs2012. It just lets me the choice of v100 (vs2010). :-/

Re: BWAPI with VS2012?

Posted: Tue Jan 22, 2013 5:15 pm

by krasi0

I see. AFAIR, in order to get V90 avail, you need to install VS2008 framework (v3.5) or something but you're right about C++11 features. In that case I suggest you switch to client AI module (not the embedded one). It'll allow for more loose coupling with BWAPI, more flexibility, easier multi-threaded support, etc.

Re: BWAPI with VS2012?

Posted: Thu Jan 24, 2013 9:08 pm

by Heinermann

I'm still debating on whether we should update from VS2010 to VS2012 in BWAPI4.

Re: BWAPI with VS2012?

Posted: Fri Jan 25, 2013 7:49 am

by krasi0

I think we should

Re: BWAPI with VS2012?

Posted: Fri Jan 25, 2013 9:50 am

by Kae

Thanks for your suggestion krasi0, I will have a close look at this possibility.Why hesitating to update to VS2012? Sure, you should!