macressler / bwapi

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

Trying compiling Debug mode #486

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying compiling in Debug mode and found this error:

1>ExampleAIModule.obj : error LNK2019: unresolved external symbol 
__imp___CrtDbgReportW referenced in function "public: class BWAPI::Position & 
__thiscall std::vector<class BWAPI::Position,class std::allocator<class 
BWAPI::Position> >::operator[](unsigned int)" 
(??A?$vector@VPosition@BWAPI@@V?$allocator@VPosition@BWAPI@@@std@@@std@@QAEAAVPo
sition@BWAPI@@I@Z)

Any solution for this?

Original issue reported on code.google.com by regis.cl...@gmail.com on 2 Mar 2013 at 7:54

GoogleCodeExporter commented 9 years ago
Have you tried cleaning and rebuilding the solution?

Original comment by AHeinerm on 19 Mar 2013 at 7:28

GoogleCodeExporter commented 9 years ago
I did, and it did not work. Any other ideas?

Original comment by regis.cl...@gmail.com on 20 Mar 2013 at 2:35

GoogleCodeExporter commented 9 years ago
This is an unusual problem. I'm assuming this is BWAPI 3.7.4. Have you made 
sure the latest include files and libraries are in your project, and you are 
using Visual C++ 2008 Express SP1?

Also, which operating system do you use? Perhaps your project is using unicode 
strings instead of multi-byte strings (project properties -> General)?

Original comment by AHeinerm on 4 Apr 2013 at 5:36

GoogleCodeExporter commented 9 years ago
Please provide an update on this issue. If there is no activity then I will 
close the issue.

Original comment by AHeinerm on 20 May 2013 at 5:02

GoogleCodeExporter commented 9 years ago
I use Windows 7 (64). From what I remember (I stopped working with BWAPI a few 
months ago), my project used multi-byte strings.

Now I'm more relaxed, I can try to debug again, if you want.

Original comment by regis.cl...@gmail.com on 20 May 2013 at 11:52

GoogleCodeExporter commented 9 years ago
Only if this issue is important to you, since it doesn't appear to be a problem 
with BWAPI (you are the only one with this problem).

Original comment by AHeinerm on 23 May 2013 at 3:54

GoogleCodeExporter commented 9 years ago
Now, this isn't important to me. I guess that you can close this issue.

Original comment by regis.cl...@gmail.com on 23 May 2013 at 12:18

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 23 May 2013 at 7:27