MantisBT - VCMI |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0000847 | VCMI | Other | public | 2012-01-12 18:16 | 2012-05-15 17:07 |
|
Reporter | Warmonger | |
Assigned To | Ivan | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | PC | OS | Windows 7 | OS Version | SP1 |
Product Version | | |
Target Version | 0.88 | Fixed in Version | 0.88 | |
|
Summary | 0000847: Linker error: Unresolved external symbol after revision 2507 |
Description | Well, I didn't track Json development recently, so couldn't find this one. |
Steps To Reproduce | |
Additional Information | error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class JsonNode const &)" (??6@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AAV01@ABVJsonNode@@@Z) F:\Programowanie\VCMI\vcmi\client\CConfigHandler.obj
|
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-01-12 18:16 | Warmonger | New Issue | |
2012-01-12 18:16 | Warmonger | Status | new => assigned |
2012-01-12 18:16 | Warmonger | Assigned To | => Ivan |
2012-01-12 18:17 | Warmonger | Description Updated | bug_revision_view_page.php?rev_id=1487#r1487 |
2012-01-12 18:17 | Warmonger | Additional Information Updated | bug_revision_view_page.php?rev_id=1489#r1489 |
2012-01-12 18:48 | Ivan | Note Added: 0002156 | |
2012-01-12 18:51 | Ivan | Note Edited: 0002156 | bug_revision_view_page.php?bugnote_id=2156#r1491 |
2012-01-12 19:48 | Ivan | Note Edited: 0002156 | bug_revision_view_page.php?bugnote_id=2156#r1492 |
2012-01-12 20:09 | Ivan | Note Edited: 0002156 | bug_revision_view_page.php?bugnote_id=2156#r1493 |
2012-01-12 20:17 | Ivan | Note Added: 0002157 | |
2012-01-12 20:17 | Ivan | Status | assigned => feedback |
2012-01-12 20:43 | Warmonger | Note Added: 0002158 | |
2012-01-12 20:43 | Warmonger | Status | feedback => assigned |
2012-01-12 20:43 | Warmonger | Status | assigned => resolved |
2012-01-12 20:43 | Warmonger | Fixed in Version | => 0.89 |
2012-01-12 20:43 | Warmonger | Resolution | open => fixed |
2012-05-15 17:07 | Ivan | Note Added: 0002439 | |
2012-05-15 17:07 | Ivan | Status | resolved => closed |
Notes |
|
(0002156)
|
Ivan
|
2012-01-12 18:48
(edited on: 2012-01-12 20:09) |
|
Weird...
Comes from CConfigHandler.cpp:75
After removing all that templates I got this:
std::ostream & operator<<(std::ostream &, JsonNode const &)
Which _is_ defined in JsonNode.h:101 - JsonNode.cpp:325
|
|
|
(0002157)
|
Ivan
|
2012-01-12 20:17
|
|
I think I found it - add DLL_LINKAGE in front of declaration (JsonNode.h:101) -
DLL_LINKAGE std::ostream & operator<<(std::ostream &out, const JsonNode &node); |
|
|
|
Thanks, it worked.
Fixed in r2508. |
|
|
(0002439)
|
Ivan
|
2012-05-15 17:07
|
|
Closing old compile issues |
|