BWAPI with VS2012?

https://github.com/bwapi/bwapi
Kae
Posts: 35
Joined: Tue Jun 28, 2011 1:26 pm

BWAPI with VS2012?

Postby Kae » Tue Jan 22, 2013 12:46 pm

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!
krasi0
Posts: 254
Joined: Thu Dec 18, 2008 12:42 pm

Re: BWAPI with VS2012?

Postby krasi0 » Tue Jan 22, 2013 12:54 pm

Hi,
I think you should convert the proj to VS2012 but you need to still specify V90 compiler and it should work fine.
Kae
Posts: 35
Joined: Tue Jun 28, 2011 1:26 pm

Re: BWAPI with VS2012?

Postby Kae » Tue Jan 22, 2013 3:24 pm

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). :-/
krasi0
Posts: 254
Joined: Thu Dec 18, 2008 12:42 pm

Re: BWAPI with VS2012?

Postby krasi0 » Tue Jan 22, 2013 5:15 pm

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.
Heinermann
Posts: 362
Joined: Thu Apr 26, 2007 12:42 am

Re: BWAPI with VS2012?

Postby Heinermann » Thu Jan 24, 2013 9:08 pm

I'm still debating on whether we should update from VS2010 to VS2012 in BWAPI4.
krasi0
Posts: 254
Joined: Thu Dec 18, 2008 12:42 pm

Re: BWAPI with VS2012?

Postby krasi0 » Fri Jan 25, 2013 7:49 am

I think we should
Kae
Posts: 35
Joined: Tue Jun 28, 2011 1:26 pm

Re: BWAPI with VS2012?

Postby Kae » Fri Jan 25, 2013 9:50 am

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

Return to “BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)”

Who is online

Users browsing this forum: No registered users and 1 guest