macressler / bwapi

Automatically exported from code.google.com/p/bwapi
1 stars 0 forks source link

Does not build in VS2010 #493

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
0. Download BWAPI_400B_Setup.exe
    1. Run the installer and go to the installation directory.

    2. Open ExampleProjects.sln in Visual C++ 2010 and build the solution.

What is the expected output? What do you see instead?

Expected: build successful, output to Debug or Release.

Actual:

Error   23  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(AIModule.obj) ExampleTournamentMod
ule
Error   24  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(Game.obj) ExampleTournamentModule
Error   25  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(Position.obj) ExampleTournamentMod
ule
Error   26  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(UnitType.obj) ExampleTournamentMod
ule
Error   27  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(Player.obj)   ExampleTournamentModul
e
Error   28  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(DamageType.obj)   ExampleTournamentM
odule
Error   29  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(WeaponType.obj)   ExampleTournamentM
odule
Error   30  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(Unitset.obj)  ExampleTournamentModu
le
Error   31  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(Unit.obj) ExampleTournamentModule
Error   32  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(PositionUnit.obj) ExampleTournamen
tModule
Error   54  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(Filters.obj)  ExampleTournamentModu
le
Error   55  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(Error.obj)    ExampleTournamentModule
Error   56  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(TechType.obj) ExampleTournamentMod
ule
Error   57  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(Race.obj) ExampleTournamentModule
Error   58  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(UpgradeType.obj)  ExampleTournament
Module
Error   59  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(UnitSizeType.obj) ExampleTournamen
tModule
Error   60  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(ExplosionType.obj)    ExampleTourname
ntModule
Error   61  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(UnitCommand.obj)  ExampleTournament
Module
Error   62  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(Order.obj)    ExampleTournamentModule
Error   63  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in Dll.obj  C:\Program Files 
(x86)\BWAPI\ExampleTournamentModule\BWAPI.lib(UnitCommandType.obj)  ExampleTourna
mentModule
Error   65  error LNK1127: library is corrupt   C:\Program Files (x86)\Microsoft 
Visual Studio 10.0\VC\lib\msvcprt.lib   1   1   ExampleTournamentModule
Error   1   error LNK1104: cannot open file '../lib/BWTAd.lib'  C:\Program Files 
(x86)\BWAPI\ExampleAIModule\LINK    ExampleAIModule
Error   71  error LNK1104: cannot open file '../lib/BWTAd.lib'  C:\Program Files 
(x86)\BWAPI\ExampleAIClient\LINK    ExampleAIClient
Error   2   error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' 
doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Event.obj) AIModuleLoader
Error   3   error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' 
doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Game.obj)  AIModuleLoader
Error   4   error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' 
doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(AIModule.obj)  AIModuleLoader
Error   5   error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' 
doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Position.obj)  AIModuleLoader
Error   6   error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' 
doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(UnitType.obj)  AIModuleLoader
Error   7   error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' 
doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Player.obj)    AIModuleLoader
Error   8   error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' 
doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(DamageType.obj)    AIModuleLoader
Error   9   error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' 
doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(WeaponType.obj)    AIModuleLoader
Error   10  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Unitset.obj)   AIModuleLoader
Error   11  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Unit.obj)  AIModuleLoader
Error   12  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(PositionUnit.obj)  AIModuleLoader
Error   13  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Filters.obj)   AIModuleLoader
Error   14  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Error.obj) AIModuleLoader
Error   15  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(TechType.obj)  AIModuleLoader
Error   16  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Race.obj)  AIModuleLoader
Error   17  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(UpgradeType.obj)   AIModuleLoader
Error   18  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(UnitSizeType.obj)  AIModuleLoader
Error   19  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(ExplosionType.obj) AIModuleLoader
Error   20  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(UnitCommand.obj)   AIModuleLoader
Error   21  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Order.obj) AIModuleLoader
Error   22  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(UnitCommandType.obj)   AIModuleLoader
Error   34  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Event.obj) AIModuleLoader
Error   35  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Game.obj)  AIModuleLoader
Error   36  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(AIModule.obj)  AIModuleLoader
Error   37  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Position.obj)  AIModuleLoader
Error   38  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(UnitType.obj)  AIModuleLoader
Error   39  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Player.obj)    AIModuleLoader
Error   40  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(DamageType.obj)    AIModuleLoader
Error   41  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(WeaponType.obj)    AIModuleLoader
Error   42  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Unitset.obj)   AIModuleLoader
Error   43  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Unit.obj)  AIModuleLoader
Error   44  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(PositionUnit.obj)  AIModuleLoader
Error   45  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Filters.obj)   AIModuleLoader
Error   46  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Error.obj) AIModuleLoader
Error   47  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(TechType.obj)  AIModuleLoader
Error   48  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Race.obj)  AIModuleLoader
Error   49  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(UpgradeType.obj)   AIModuleLoader
Error   50  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(UnitSizeType.obj)  AIModuleLoader
Error   51  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(ExplosionType.obj) AIModuleLoader
Error   52  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(UnitCommand.obj)   AIModuleLoader
Error   53  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(Order.obj) AIModuleLoader
Error   66  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPI.lib(UnitCommandType.obj)   AIModuleLoader
Error   67  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(Client.obj)  AIModuleLoader
Error   68  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(GameImpl.obj)    AIModuleLoader
Error   69  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(ForceImpl.obj)   AIModuleLoader
Error   70  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(ForceShared.obj) AIModuleLoader
Error   72  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(BulletShared.obj)    AIModuleLoader
Error   73  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(BulletImpl.obj)  AIModuleLoader
Error   74  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(PlayerShared.obj)    AIModuleLoader
Error   75  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(PlayerImpl.obj)  AIModuleLoader
Error   76  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(GameShared.obj)  AIModuleLoader
Error   77  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(RegionImpl.obj)  AIModuleLoader
Error   78  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(UnitImpl.obj)    AIModuleLoader
Error   79  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(UnitShared.obj)  AIModuleLoader
Error   80  error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value 
'0' doesn't match value '2' in AIModuleLoader.obj   C:\Program Files 
(x86)\BWAPI\AIModuleLoader\BWAPIClient.lib(RegionShared.obj)    AIModuleLoader
Error   82  error LNK1127: library is corrupt   C:\Program Files (x86)\Microsoft 
Visual Studio 10.0\VC\lib\msvcprt.lib   1   1   AIModuleLoader

What version of the product are you using? On what operating system?
VS2010. Windows 7 x64.

Please provide any additional information below.
BWAPI 3.7.4.7z ExampleAIModule fails to build also.

Original issue reported on code.google.com by trevor.n...@gmail.com on 27 Jun 2013 at 2:44

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 1 Aug 2013 at 9:25

GoogleCodeExporter commented 9 years ago
This is without VS2010 SP1

Original comment by trevor.n...@gmail.com on 1 Aug 2013 at 9:59

GoogleCodeExporter commented 9 years ago
Fixed in r4400.

Original comment by AHeinerm on 12 Aug 2013 at 8:03