codebackup / bwapi

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

Error when building [botname].dll from visual #441

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
First time doing any C++ and bwapi stuff. 

I am getting error while compiling Auir I got from the current downloads tab in 
this site.

1>Linking...
1>LINK : fatal error LNK1181: cannot open input file '../lib/BWAPI.lib'
1>Build log was saved at "file://c:\Documents and Settings\ACTL2\Desktop\AI 
Bots\Aiur_v1.3\Aiur\AiurModule\Release\BuildLog.htm"
1>Aiur - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

I have bwapi version 3.7.3. I used visual 2008 express version 9.0.30729. I 
followed all the steps from the INSTALL.txt and I know where is the BWAPI.lib 
file is (without the .obj and it is in the lib folder of the bwapi folder.

Does anyone have a solution?

Original issue reported on code.google.com by Nobody.halo211@gmail.com on 10 Jun 2012 at 3:23

GoogleCodeExporter commented 9 years ago
Is it in Aiur_v1.3/Aiur/lib/BWAPI.lib ?

Original comment by AHeinerm on 10 Jun 2012 at 5:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Its in bwapi\BWAPI 3.7.3\lib\bwapi.lib . From the file I downloaded from the 
downloads tab. Do I have to copy the file to the Aiur folder?

Original comment by Nobody.halo211@gmail.com on 10 Jun 2012 at 9:04

GoogleCodeExporter commented 9 years ago
Yeah. The individual lib files in each bot source was removed because there 
were just several copies of them that caused much bloat.

Just copy the lib files to the location in the error ("../lib/" in that case).

Original comment by AHeinerm on 13 Jun 2012 at 2:45

GoogleCodeExporter commented 9 years ago
Did this solve the issue?

Original comment by AHeinerm on 18 Jun 2012 at 12:41

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 29 Jun 2012 at 12:15