macressler / bwapi

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

example sln: AIModuleLoader and ExampleTournamentModule have incorrect .lib linker #492

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download BWAPI 4.0.0 and install including the example projects.
2. Open the example projects in Visual Studio C++ 2010.
3. Build AIModuleLoader and ExampleTournamentModule in debug mode.

What is the expected output? What do you see instead?
Expected output: 2 success
Output: 1>C:\Program Files\BWAPI\Debug\AIModuleLoader.exe : fatal error 
LNK1319: 44 mismatches detected

What version of the product are you using? On what operating system?
BWAPI 4.0.0 on Windows 7 Professional 32 bit with Microsoft Visual Studio C++ 
2010 Win32 Debug mode.

Please provide any additional information below.
This is because in Properties->Linker->Input->Additional Dependencies is 
referencing the BWAPI.lib and BWAPIClient.lib instead of BWAPId.lib and 
BWAPIClientd.lib. To fix change the linker to the correct debug libraries.

Original issue reported on code.google.com by georgetw...@gmail.com on 26 Jun 2013 at 4:35

GoogleCodeExporter commented 9 years ago
Fixed in r4400.

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