zloop1982 / bwapi

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

BWAPI 4 example projects still reference BWTA #490

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the BWAPI 4.0.0 and install it as a full installation from 
https://code.google.com/p/bwapi/downloads/list including the additional 
gateways.
2. Open the example.sln in a compiler like Microsoft Visual Studio.
3. Attempt to build ExampleAIModule in release mode or debug mode.

What is the expected output? What do you see instead?
Expected output in release mode:
1>------ Build started: Project: ExampleAIModule, Configuration: Release Win32 
------
1>  Dll.cpp
1>  ExampleAIModule.cpp
1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
1>     Creating library C:\Program Files 
(x86)\BWAPI\Release\ExampleAIModule.lib and object C:\Program Files 
(x86)\BWAPI\Release\ExampleAIModule.exp
1>  Generating code
1>  Finished generating code
1>  ExampleAIModule.vcxproj -> C:\Program Files 
(x86)\BWAPI\Release\ExampleAIModule.dll
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Instead it stops after:
1>LINK : fatal error LNK1104: cannot open file '../lib/BWTAd.lib'

What version of the product are you using? On what operating system?
Using BWAPI 4.0.0 beta on Windows 7 64 bit.

Please provide any additional information below.
If you remove the BWTA.lib from properties->linker->Input->Additional 
Dependencies you will also get the errors of other libraries like CGAL.lib or 
tinyxml.lib being missing. Other than BWAPI.lib, all other libs from previous 
version are missing. Workaround is to copy the BWAPI 3.7.4 libs into BWAPI 
4.0.0 and unlink the currently not working BWTA.lib and any others.

Original issue reported on code.google.com by georgetw...@gmail.com on 24 Jun 2013 at 12:55

GoogleCodeExporter commented 9 years ago
This must have been a mistake on my part. Right now all those libraries 
mentioned (BWTA, CGAL, tinyxml, etc.) should NOT be included in those projects. 
This will be fixed for the next release.

Original comment by AHeinerm on 24 Jun 2013 at 8:54

GoogleCodeExporter commented 9 years ago
Fixed in r4400.

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